aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2014-04-27 22:14:26 +0800
committerriggs <riggs@FreeBSD.org>2014-04-27 22:14:26 +0800
commit59ba7bdaa32261e5485d5d971833c1216e25c08f (patch)
tree5aa8a7f3b50297d4a6beca08d9a833a2da6ca541 /multimedia
parent88771b0080a6cc836e312a84b19306209c2db67e (diff)
downloadfreebsd-ports-gnome-59ba7bdaa32261e5485d5d971833c1216e25c08f.tar.gz
freebsd-ports-gnome-59ba7bdaa32261e5485d5d971833c1216e25c08f.tar.zst
freebsd-ports-gnome-59ba7bdaa32261e5485d5d971833c1216e25c08f.zip
- Update libaacs to 0.7.0
- Add LICENSE - USES tar:bzip2 - Update libbluray 0.5.0 - Unbreak JAVA option - USES tar:bzip2 - Bump PORTREVISION in depdendent ports due to shared lib version bump PR: ports/188573 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> (maintainer) Approved by: thierry (mentor)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg/Makefile2
-rw-r--r--multimedia/libaacs/Makefile24
-rw-r--r--multimedia/libaacs/distinfo4
-rw-r--r--multimedia/libaacs/pkg-plist2
-rw-r--r--multimedia/libbluray/Makefile51
-rw-r--r--multimedia/libbluray/distinfo4
-rw-r--r--multimedia/libbluray/files/patch-src-Makefile.am7
-rw-r--r--multimedia/libbluray/files/patch-util-refcnt.h11
-rw-r--r--multimedia/libbluray/pkg-plist4
-rw-r--r--multimedia/libxine/Makefile2
-rw-r--r--multimedia/mplayer2/Makefile2
-rw-r--r--multimedia/mpv/Makefile2
-rw-r--r--multimedia/vdr-plugin-xineliboutput/Makefile2
-rw-r--r--multimedia/vlc/Makefile2
-rw-r--r--multimedia/xbmc/Makefile2
15 files changed, 74 insertions, 47 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 4d66e8b8a048..27e29eb74d8f 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ffmpeg
PORTVERSION= 2.1.1
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= http://ffmpeg.org/releases/
diff --git a/multimedia/libaacs/Makefile b/multimedia/libaacs/Makefile
index 9e3d9d95c45e..a702263a506d 100644
--- a/multimedia/libaacs/Makefile
+++ b/multimedia/libaacs/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libaacs
-PORTVERSION= 0.6.0
+PORTVERSION= 0.7.0
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
http://blu.opsec.eu/
@@ -10,14 +10,15 @@ MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
MAINTAINER= kamikaze@bsdforen.de
COMMENT= Advanced Access Content System implementation
+LICENSE= LGPL21
+
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgpg-error.so:${PORTSDIR}/security/libgpg-error
-USE_BZIP2= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= autoconf aclocal automake libtool
-USES= bison gettext iconv
+USES= bison gettext iconv tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ENV+= LEX="${LOCALBASE}/bin/flex"
@@ -30,18 +31,11 @@ MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
run-autotools:
@cd ${WRKSRC} && ${SH} bootstrap
-plist: build
+plist: stage
@${ECHO} "===> Rebuilding PLIST."
- @${MKDIR} "${WRKDIR}/plist"
- @cd ${WRKSRC} && ( \
- ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} --prefix="${WRKDIR}/plist" && \
- ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} pkgconfigdir="${WRKDIR}/plist/libdata/pkgconfig" ${INSTALL_TARGET} ; \
- ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} \
- )
- @${FIND} -ds "${WRKDIR}/plist/" -not -type d \
- | ${SED} "s|${WRKDIR}/plist/||1" > ${PLIST}
- @${FIND} -ds "${WRKDIR}/plist/" -type d -mindepth 2 \
- | ${SED} -e "/pkgconfig/d" -e "s|${WRKDIR}/plist/|@dirrm |1" >> ${PLIST}
- @${RM} -rf "${WRKDIR}/plist"
+ @${MTREE_CMD} -cp "${STAGEDIR}${PREFIX}/" > "${WRKDIR}/plist.mtree"
+ @${MTREE_CMD} -Sf "${WRKDIR}/plist.mtree" -f "${MTREE_FILE}" \
+ | ${SED} -ne '/ dir /{s/ .*//;s/^/@dirrm /;H;};t dirs' \
+ -e 's/ .*//p;:dirs' -e '$${g;s/^\n//p;}' > ${PLIST}
.include <bsd.port.mk>
diff --git a/multimedia/libaacs/distinfo b/multimedia/libaacs/distinfo
index ec4319ed42c8..39fa2c3226ce 100644
--- a/multimedia/libaacs/distinfo
+++ b/multimedia/libaacs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libaacs-0.6.0.tar.bz2) = 8f1dadef40257280e5aff4242cca5bb81a0267921c7402f474156e3eb45ec1d9
-SIZE (libaacs-0.6.0.tar.bz2) = 331318
+SHA256 (libaacs-0.7.0.tar.bz2) = f0ecc8e9b2ed531da5f06d6e686992e5281eb906ab418577276e74d8f9a143c0
+SIZE (libaacs-0.7.0.tar.bz2) = 311337
diff --git a/multimedia/libaacs/pkg-plist b/multimedia/libaacs/pkg-plist
index dbc4a9f848a9..88b76bd69a31 100644
--- a/multimedia/libaacs/pkg-plist
+++ b/multimedia/libaacs/pkg-plist
@@ -5,6 +5,6 @@ include/libaacs/filesystem.h
lib/libaacs.a
lib/libaacs.la
lib/libaacs.so
-lib/libaacs.so.3
+lib/libaacs.so.4
libdata/pkgconfig/libaacs.pc
@dirrm include/libaacs
diff --git a/multimedia/libbluray/Makefile b/multimedia/libbluray/Makefile
index 0d2d5ae71246..b49ec02f4d46 100644
--- a/multimedia/libbluray/Makefile
+++ b/multimedia/libbluray/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libbluray
-PORTVERSION= 0.3.0
-PORTREVISION= 1
+PORTVERSION= 0.5.0
PORTEPOCH= 1
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
@@ -14,14 +13,14 @@ COMMENT= Blu-Ray discs playback library for media players
LICENSE= LGPL21
-LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2
+LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
# dlopen dependencies, libbdplus not yet available
LIB_DEPENDS+= libaacs.so:${PORTSDIR}/multimedia/libaacs
-USES= iconv pkgconfig
+USES= iconv pkgconfig tar:bzip2
USE_LDCONFIG= yes
-USE_BZIP2= yes
USE_AUTOTOOLS= autoconf aclocal automake libtool
+USE_GNOME= libxml2
HAS_CONFIGURE= yes
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
@@ -34,32 +33,46 @@ JAVA_DESC= Enable Blu-Ray Java support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJAVA}
-BROKEN= Does not build with JAVA
BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant
CATEGORIES+= java
USE_JAVA= yes
-JAVA_VERSION= 1.4+
+JAVA_VERSION= 1.6+
JAVA_BUILD= yes
JAVA_RUN= yes
CONFIGURE_ARGS+= --enable-bdjava --with-bdj-type=j2se
CONFIGURE_ENV+= JDK_HOME="${JAVA_HOME}"
.endif
+# Create PLIST_SUB definitions for options
+.for _option in ${OPTIONS_DEFINE}
+.if ${PORT_OPTIONS:M${_option}}
+PLIST_SUB+= ${_option}=""
+.else
+PLIST_SUB+= ${_option}="@comment "
+.endif
+.endfor
+
run-autotools:
@cd ${WRKSRC} && ${SH} bootstrap
-plist: build
+plist:
@${ECHO} "===> Rebuilding PLIST."
- @${MKDIR} "${WRKDIR}/plist"
- @cd ${WRKSRC} && ( \
- ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} --prefix="${WRKDIR}/plist" && \
- ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} pkgconfigdir="${WRKDIR}/plist/libdata/pkgconfig" ${INSTALL_TARGET} ; \
- ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} \
- )
- @${FIND} -ds "${WRKDIR}/plist/" -not -type d \
- | ${SED} "s|${WRKDIR}/plist/||1" > ${PLIST}
- @${FIND} -ds "${WRKDIR}/plist/" -type d -mindepth 2 \
- | ${SED} -e "/pkgconfig/d" -e "s|${WRKDIR}/plist/|@dirrm |1" >> ${PLIST}
- @${RM} -rf "${WRKDIR}/plist"
+.for _option in "" ${OPTIONS_DEFINE}
+ @${MAKE} clean stage OPTIONS_EXCLUDE="${OPTIONS_DEFINE:N${_option}}" \
+ WITH=${_option}
+ @${MTREE_CMD} -cp "${STAGEDIR}${PREFIX}/" > "${WRKDIR}/mtree.${_option}"
+ @${MTREE_CMD} -Sf "${WRKDIR}/mtree.${_option}" -f "${MTREE_FILE}" \
+ | ${SED} -ne '/share\/licenses/b dirs' \
+ -e '/ dir /{s/ .*//;s/^/@dirrm /;H;};t dirs' \
+ -e 's/ .*//p;:dirs' -e '$${g;s/^\n//p;}' \
+ > "plist.${_option}"
+.endfor
+.for _option in ${OPTIONS_DEFINE}
+ @${GREP} -vFx "$$(${CAT} "plist.")" "plist.${_option}" \
+ | ${SED} 's/^/%%${_option}%%/' > "plist.add.${_option}"
+ @${RM} "plist.${_option}"
+.endfor
+ @${CAT} plist. ${OPTIONS_DEFINE:C/^/plist.add./} > ${PLIST}
+ @${RM} plist. ${OPTIONS_DEFINE:C/^/plist.add./}
.include <bsd.port.mk>
diff --git a/multimedia/libbluray/distinfo b/multimedia/libbluray/distinfo
index 84249e2f9c98..8eb5a1550463 100644
--- a/multimedia/libbluray/distinfo
+++ b/multimedia/libbluray/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libbluray-0.3.0.tar.bz2) = dc73ad618052ddd2d72bb847c8e5b9a1c9175db7b18d0456b21f484836c30038
-SIZE (libbluray-0.3.0.tar.bz2) = 510993
+SHA256 (libbluray-0.5.0.tar.bz2) = 19213e193e1abc5ed2de65edfb539deda1dbf6cc64dfef03e405524c9c6f7216
+SIZE (libbluray-0.5.0.tar.bz2) = 559639
diff --git a/multimedia/libbluray/files/patch-src-Makefile.am b/multimedia/libbluray/files/patch-src-Makefile.am
new file mode 100644
index 000000000000..d4594c071ad1
--- /dev/null
+++ b/multimedia/libbluray/files/patch-src-Makefile.am
@@ -0,0 +1,7 @@
+--- src/Makefile.am.orig 2014-04-13 18:08:03.000000000 +0200
++++ src/Makefile.am 2014-04-13 18:08:10.000000000 +0200
+@@ -1,4 +1,3 @@
+-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT
+ SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray -Ilibbluray/bdnav
+
+ AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) $(FT2_CFLAGS)
diff --git a/multimedia/libbluray/files/patch-util-refcnt.h b/multimedia/libbluray/files/patch-util-refcnt.h
new file mode 100644
index 000000000000..a99e7295ec6d
--- /dev/null
+++ b/multimedia/libbluray/files/patch-util-refcnt.h
@@ -0,0 +1,11 @@
+--- src/util/refcnt.h.orig 2014-04-13 17:52:33.000000000 +0200
++++ src/util/refcnt.h 2014-04-13 17:52:43.000000000 +0200
+@@ -18,7 +18,7 @@
+ */
+
+ #ifndef BD_REFCNT_H_
+-#define BD_FEFCNT_H_
++#define BD_REFCNT_H_
+
+ #include "attributes.h"
+
diff --git a/multimedia/libbluray/pkg-plist b/multimedia/libbluray/pkg-plist
index e6ec48315c4f..8f37e5b4dfc6 100644
--- a/multimedia/libbluray/pkg-plist
+++ b/multimedia/libbluray/pkg-plist
@@ -10,6 +10,8 @@ include/libbluray/overlay.h
lib/libbluray.a
lib/libbluray.la
lib/libbluray.so
-lib/libbluray.so.4
+lib/libbluray.so.6
libdata/pkgconfig/libbluray.pc
@dirrm include/libbluray
+%%JAVA%%lib/libbluray/libbluray.jar
+%%JAVA%%@dirrm lib/libbluray
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index 3d1c6c9e067a..ae088dda01f1 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xine
PORTVERSION= 1.2.4
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= multimedia ipv6
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION}
PKGNAMEPREFIX= lib
diff --git a/multimedia/mplayer2/Makefile b/multimedia/mplayer2/Makefile
index 50ba391f9778..e595215cfd7f 100644
--- a/multimedia/mplayer2/Makefile
+++ b/multimedia/mplayer2/Makefile
@@ -2,7 +2,7 @@
PORTNAME= mplayer2
PORTVERSION= ${MPLAYER2_PORT_VERSION}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia audio
MASTER_SITES= LOCAL/gblach/
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 71ee9355b878..56c26e4524c6 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mpv
PORTVERSION= 0.3.7
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= multimedia audio
MASTER_SITES= GH:0 GHC:0 http://waf.googlecode.com/files/:1
diff --git a/multimedia/vdr-plugin-xineliboutput/Makefile b/multimedia/vdr-plugin-xineliboutput/Makefile
index 6d08c307f2d6..0b80217ec4a2 100644
--- a/multimedia/vdr-plugin-xineliboutput/Makefile
+++ b/multimedia/vdr-plugin-xineliboutput/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vdr-plugin-xineliboutput
PORTVERSION= 1.0.90s20120511
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= multimedia
MASTER_SITES= SF:release \
LOCAL:snapshot
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 8aef69101f3f..a0c4d36b13fa 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vlc
DISTVERSION= 2.1.2
-PORTREVISION= 5
+PORTREVISION= 6
PORTEPOCH= 4
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
diff --git a/multimedia/xbmc/Makefile b/multimedia/xbmc/Makefile
index dbf8baff54e2..ffdfbe6e8217 100644
--- a/multimedia/xbmc/Makefile
+++ b/multimedia/xbmc/Makefile
@@ -2,7 +2,7 @@
PORTNAME= xbmc
DISTVERSION= 13.0.beta1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MAINTAINER= mickael.maillot@gmail.com