Add WITH_WAVPACK knob for WavPack support.

PR:		ports/116227
Submitted by:	Dar <dar.quonb@gmail.com>
This commit is contained in:
MANTANI Nobutaka 2007-09-24 14:52:19 +00:00
parent 45d9a259ae
commit adefd37e7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200052
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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