diff options
author | lioux <lioux@FreeBSD.org> | 2003-03-05 04:21:08 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-03-05 04:21:08 +0800 |
commit | 37879ecfd855716c5e21a87ceee25df3d3e7ea2c (patch) | |
tree | 36b6b5d3b041846cf622955ad9c0ed6cd080ef29 | |
parent | efe857fece6d135f79a5bc8a24a72da50def724d (diff) | |
download | freebsd-ports-gnome-37879ecfd855716c5e21a87ceee25df3d3e7ea2c.tar.gz freebsd-ports-gnome-37879ecfd855716c5e21a87ceee25df3d3e7ea2c.tar.zst freebsd-ports-gnome-37879ecfd855716c5e21a87ceee25df3d3e7ea2c.zip |
Optionally support cdparanoia with WITH_CDPARANOIA knob now that
it finally works under FreeBSD
PR: 48734
Submitted by: David Yeske <dyeske@yahoo.com>
-rw-r--r-- | multimedia/mplayerxp/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile index 5fe29343a8d0..76d71a8a9c6e 100644 --- a/multimedia/mplayerxp/Makefile +++ b/multimedia/mplayerxp/Makefile @@ -59,7 +59,6 @@ CONFIGURE_ARGS+= --with-extralibdir=${LOCALBASE}/lib \ --prefix=${PREFIX} \ --confdir=${PREFIX}/etc/${PORTNAME} \ --datadir=${LOCALBASE}/share/mplayer \ - --disable-cdparanoia \ --disable-fbdev \ --disable-lirc \ --disable-rtc \ @@ -80,6 +79,10 @@ WITH_ARTS=yes WITH_DVD=yes WITH_LIBDVDNAV=yes .endif +# cdparanoia (cdda support) +.if exists(${LOCALBASE}/lib/libcdda_paranoia.so) +WITH_CDPARANOIA=yes +.endif # ogle's libdvdread (dvd support) .if exists(${LOCALBASE}/lib/libdvdread.a) WITH_DVD=yes @@ -121,6 +124,12 @@ CONFIGURE_ARGS+= --enable-sse --enable-sse2 .ifdef(WITH_ARTS) LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts .endif +# cdda support +.ifdef(WITH_CDPARANOIA) +LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia +.else +CONFIGURE_ARGS+= --disable-cdparanoia +.endif # dvd support .ifdef(WITH_DVD) LIB_DEPENDS+= dvdread.2:${PORTSDIR}/multimedia/libdvdread @@ -192,6 +201,10 @@ pre-everything:: @${ECHO_MSG} '===>' @${ECHO_MSG} '===> You can enable KDE ARTS support by defining WITH_ARTS.' .endif +.ifndef(WITH_CDPARANOIA) + @${ECHO_MSG} '===>' + @${ECHO_MSG} '===> You can enable cdda support by defining WITH_CDPARANOIA.' +.endif .ifndef(WITH_DVD) @${ECHO_MSG} '===>' @${ECHO_MSG} '===> You can enable DVD support by defining WITH_DVD.' |