aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2012-07-02 08:31:04 +0000
committerAlberto Villa <avilla@FreeBSD.org>2012-07-02 08:31:04 +0000
commite19c9228d0fe54d11bbbb5eb2a2bc62c15fa2c11 (patch)
tree1190d428e2881e45e66719838c1eff4463f4fca3 /multimedia
parenta5253d0dba4cacd04389eb2f3a6f2cc59b14d878 (diff)
downloadports-e19c9228d0fe54d11bbbb5eb2a2bc62c15fa2c11.tar.gz
ports-e19c9228d0fe54d11bbbb5eb2a2bc62c15fa2c11.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mlt/Makefile13
-rw-r--r--multimedia/mlt/distinfo4
-rw-r--r--multimedia/mlt/files/patch-src__framework__mlt_property.h11
-rw-r--r--multimedia/mlt/pkg-plist6
4 files changed, 25 insertions, 9 deletions
diff --git a/multimedia/mlt/Makefile b/multimedia/mlt/Makefile
index fe64e561f216..5108beeca29d 100644
--- a/multimedia/mlt/Makefile
+++ b/multimedia/mlt/Makefile
@@ -5,29 +5,34 @@
# $FreeBSD$
PORTNAME= mlt
-PORTVERSION= 0.7.8
-PORTREVISION= 1
+PORTVERSION= 0.8.0
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
MAINTAINER= avilla@FreeBSD.org
COMMENT= Multimedia framework and video playout server for TV broadcasting
-LICENSE= LGPL21 GPLv2
+LICENSE= LGPL21 GPLv2 GPLv3
LICENSE_COMB= multi
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
LICENSE_FILE_GPLv2= ${WRKSRC}/GPL
+LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
+# They both install bin/melt.
+CONFLICTS_INSTALL= freeze-[0-9]*
+
USE_GNOME= gnomehack libxml2
USE_SDL= image
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-gpl --linsys-with-jpeg
+CONFIGURE_ARGS= --enable-gpl --enable-gpl3 --linsys-with-jpeg
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
+PLIST_SUB+= PORTVERSION="${PORTVERSION}"
+
# Required at least for frei0r detection.
CFLAGS+= -I${LOCALBASE}/include
diff --git a/multimedia/mlt/distinfo b/multimedia/mlt/distinfo
index bcc944fd6535..205e93e2098d 100644
--- a/multimedia/mlt/distinfo
+++ b/multimedia/mlt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mlt-0.7.8.tar.gz) = 95833b2746e2d71dd42f6163e1a5d863c7d4772cc344a840f5555d0dc1946e43
-SIZE (mlt-0.7.8.tar.gz) = 1106625
+SHA256 (mlt-0.8.0.tar.gz) = 7bd07b392663b33a0408c900117b2e431c93e5f29394578cfbeff7b26a0cc6dd
+SIZE (mlt-0.8.0.tar.gz) = 1143227
diff --git a/multimedia/mlt/files/patch-src__framework__mlt_property.h b/multimedia/mlt/files/patch-src__framework__mlt_property.h
new file mode 100644
index 000000000000..3b3635b4f9ce
--- /dev/null
+++ b/multimedia/mlt/files/patch-src__framework__mlt_property.h
@@ -0,0 +1,11 @@
+--- ./src/framework/mlt_property.h.orig 2012-06-01 22:51:32.000000000 +0200
++++ ./src/framework/mlt_property.h 2012-06-12 03:54:31.992557693 +0200
+@@ -30,7 +30,7 @@
+ #include <sys/param.h>
+ #endif
+
+-#if defined(__GLIBC__) || defined(__DARWIN__) || (__FreeBSD_version >= 1000002)
++#if defined(__GLIBC__) || defined(__DARWIN__) || (__FreeBSD_version >= 900506)
+ #include <xlocale.h>
+ #else
+ typedef void* locale_t;
diff --git a/multimedia/mlt/pkg-plist b/multimedia/mlt/pkg-plist
index 661380950005..c9abf21e8f0f 100644
--- a/multimedia/mlt/pkg-plist
+++ b/multimedia/mlt/pkg-plist
@@ -50,11 +50,11 @@ include/mlt/framework/mlt_transition.h
include/mlt/framework/mlt_types.h
include/mlt/framework/mlt_version.h
lib/libmlt++.so
-lib/libmlt++.so.0.7.8
+lib/libmlt++.so.%%PORTVERSION%%
lib/libmlt++.so.3
lib/libmlt.so
-lib/libmlt.so.0.7.8
-lib/libmlt.so.4
+lib/libmlt.so.%%PORTVERSION%%
+lib/libmlt.so.5
%%FFMPEG%%lib/mlt/libmltavformat.so
lib/mlt/libmltcore.so
lib/mlt/libmltdecklink.so