Optionally support cdparanoia with WITH_CDPARANOIA knob now that
it finally works under FreeBSD PR: 48734 Submitted by: David Yeske <dyeske@yahoo.com>
This commit is contained in:
parent
ee907851ba
commit
d9daa8743d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76874
@ -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.'
|
||||
|
Loading…
Reference in New Issue
Block a user