diff options
Diffstat (limited to 'multimedia/mplayer/Makefile')
-rw-r--r-- | multimedia/mplayer/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index 197b338..5b2728e 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -97,6 +97,9 @@ # WITH_ARTS # default: autodetect # +# WITH_CDPARANOIA +# default: autodetect +# # WITH_LIBDV # default: autodetect # @@ -218,6 +221,10 @@ TOOLFILES= calcbpp.pl countquant.pl \ WITH_ARTS= yes .endif +.if exists(${LOCALBASE}/lib/libcdda_paranoia.so) +WITH_CDPARANOIA= yes +.endif + .if exists(${LOCALBASE}/lib/libdv.so.3) WITH_LIBDV= yes .endif @@ -321,6 +328,12 @@ CONFIGURE_ARGS+= --enable-arts CONFIGURE_ARGS+= --disable-arts .endif +.if defined(WITH_CDPARANOIA) +LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia +.else +CONFIGURE_ARGS+= --disable-cdparanoia +.endif + .if defined(WITH_DVD) .if !defined(WITH_LIBDVDREAD) LIB_DEPENDS+= dvdcss.2:${PORTSDIR}/multimedia/libdvdcss |