aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2007-09-24 14:52:19 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2007-09-24 14:52:19 +0000
commitadefd37e7d73b4dd84b2a65bd79bfeec84509761 (patch)
treeb28db00c55ce854df307c51c5562a021209058ca /multimedia
parent45d9a259ae5493e9516799efcb973fe3b7abf7ab (diff)
downloadports-adefd37e7d73b4dd84b2a65bd79bfeec84509761.tar.gz
ports-adefd37e7d73b4dd84b2a65bd79bfeec84509761.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libxine/Makefile12
-rw-r--r--multimedia/libxine/pkg-plist1
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index 0f9755a1a993..1e7c00de1f1d 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xine
PORTVERSION= 1.1.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -64,6 +64,7 @@ OPTIONS= ARTS "Enable aRts support" off \
AALIB "Enable aalib support" off \
IMAGEMAGICK "Enable ImageMagick support" off \
GTK2 "Enable gdkpixbuf support" off \
+ WAVPACK "Enable WavPack support" on \
MAN1= xine-config.1
MAN5= xine.5
@@ -168,6 +169,15 @@ PLIST_SUB+= WITH_GTK2="@comment "
CONFIGURE_ARGS+= --disable-gdkpixbuf
.endif
+.if defined(WITH_WAVPACK)
+LIB_DEPENDS+= wavpack.1:${PORTSDIR}/audio/wavpack
+PLIST_SUB+= WITH_WAVPACK=""
+CONFIGURE_ARGS+= --with-wavpack
+.else
+PLIST_SUB+= WITH_WAVPACK="@comment "
+CONFIGURE_ARGS+= --without-wavpack
+.endif
+
.if ${CONFIGURE_ARGS:M*--without-imagemagick*} == "" || ${CONFIGURE_ARGS:M*-disable-gdkpixbuf*} == ""
PLIST_SUB+= WITH_DMX_IMAGE=""
.else
diff --git a/multimedia/libxine/pkg-plist b/multimedia/libxine/pkg-plist
index f812f0bbfb22..6bd066437033 100644
--- a/multimedia/libxine/pkg-plist
+++ b/multimedia/libxine/pkg-plist
@@ -146,6 +146,7 @@ lib/libxine.so.1
%%PLUGINSDIR%%/xineplug_vo_out_xv.so
%%WITH_XVMC%%%%PLUGINSDIR%%/xineplug_vo_out_xvmc.so
%%WITH_XVMC%%%%PLUGINSDIR%%/xineplug_vo_out_xxmc.so
+%%WITH_WAVPACK%%%%PLUGINSDIR%%/xineplug_wavpack.so
libdata/pkgconfig/libxine.pc
share/aclocal/xine.m4
%%DOCSDIR%%/README