aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2007-09-24 22:52:19 +0800
committernobutaka <nobutaka@FreeBSD.org>2007-09-24 22:52:19 +0800
commit7788be42190c154471f4cc726ce72470419552c3 (patch)
treef248ef1d38ef5813954ca47b7679cf3819261f4b /multimedia
parent076e404698b99c9d5723a648c99076d53693c414 (diff)
downloadfreebsd-ports-gnome-7788be42190c154471f4cc726ce72470419552c3.tar.gz
freebsd-ports-gnome-7788be42190c154471f4cc726ce72470419552c3.tar.zst
freebsd-ports-gnome-7788be42190c154471f4cc726ce72470419552c3.zip
Add WITH_WAVPACK knob for WavPack support.
PR: ports/116227 Submitted by: Dar <dar.quonb@gmail.com>
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