1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add a WITH_XINE knob to build against the libxine backend. This fixes

a problem detecting certain MP3s tagged with ID3 2.3.0 tags.

Submitted by:	Frank Ruell <stoerte@dreamwarrior.net>
This commit is contained in:
Joe Marcus Clarke 2003-08-21 16:28:09 +00:00
parent 419c6e665a
commit 411e705cb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87455
2 changed files with 24 additions and 2 deletions

View File

@ -16,7 +16,6 @@ MAINTAINER= marcus@freebsd.org
COMMENT= Audio player for the Gnome 2 desktop environment
LIB_DEPENDS= musicbrainz.2:${PORTSDIR}/audio/libmusicbrainz \
gstplay-0.6.1:${PORTSDIR}/multimedia/gstreamer-plugins \
FLAC.5:${PORTSDIR}/audio/flac \
mad.1:${PORTSDIR}/audio/mad
@ -40,11 +39,23 @@ LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+= --disable-vorbistest
.endif
.ifdef (WITH_XINE)
LIB_DEPENDS+= xine.7:${PORTSDIR}/multimedia/libxine
CONFIGURE_ARGS+= --enable-xine
.else
LIB_DEPENDS+= gstplay-0.6.1:${PORTSDIR}/multimedia/gstreamer-plugins
.endif
pre-everything::
.if !defined(WITH_VORBIS)
@${ECHO_MSG}
@${ECHO_MSG} "Define WITH_VORBIS to enable Vorbis support"
@${ECHO_MSG}
.endif
.if !defined(WITH_XINE)
@${ECHO_MSG}
@${ECHO_MSG} "Define WITH_XINE to use xine backend instead of gstreamer"
@${ECHO_MSG}
.endif
.include <bsd.port.post.mk>

View File

@ -16,7 +16,6 @@ MAINTAINER= marcus@freebsd.org
COMMENT= Audio player for the Gnome 2 desktop environment
LIB_DEPENDS= musicbrainz.2:${PORTSDIR}/audio/libmusicbrainz \
gstplay-0.6.1:${PORTSDIR}/multimedia/gstreamer-plugins \
FLAC.5:${PORTSDIR}/audio/flac \
mad.1:${PORTSDIR}/audio/mad
@ -40,11 +39,23 @@ LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+= --disable-vorbistest
.endif
.ifdef (WITH_XINE)
LIB_DEPENDS+= xine.7:${PORTSDIR}/multimedia/libxine
CONFIGURE_ARGS+= --enable-xine
.else
LIB_DEPENDS+= gstplay-0.6.1:${PORTSDIR}/multimedia/gstreamer-plugins
.endif
pre-everything::
.if !defined(WITH_VORBIS)
@${ECHO_MSG}
@${ECHO_MSG} "Define WITH_VORBIS to enable Vorbis support"
@${ECHO_MSG}
.endif
.if !defined(WITH_XINE)
@${ECHO_MSG}
@${ECHO_MSG} "Define WITH_XINE to use xine backend instead of gstreamer"
@${ECHO_MSG}
.endif
.include <bsd.port.post.mk>