1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

add FLAC OPTION [1]

fix timidity plugin [2]

PR:		121304 [1]
Submitted by:	"Chess Griffin" <chess@chessgriffin.com> [1]
		"Zahemszky Gabor" <gabor@zahemszky.hu> [2]
This commit is contained in:
Oliver Lehmann 2008-03-03 16:34:03 +00:00
parent 06cf98dd93
commit cf5ec6c546
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208386
2 changed files with 6 additions and 5 deletions

View File

@ -47,6 +47,7 @@ OPTIONS= AUDIOCD "Enable audiocd plugin" off \
ROOTVIS "Enable X11 RootWindow vis plugin" on \
ADPLUG "Enable AdPlug plugin" off \
VORBIS "Enable Ogg Vorbis input plugin" off \
FLAC "Enable FLAC input plugin" off \
WAVPACK "Enable WavPack input plugin" off \
AAC "Enable aac plugin" on \
SNDFILE "Enable sndfile extensions" off \
@ -281,6 +282,7 @@ CONFIGURE_ARGS+=--disable-sid
.endif
.if !defined(WITHOUT_TIMIDITY)
RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity
CONFIGURE_ARGS+=--enable-timidity
PLIST_SUB+= TIMIDITYPLUGIN=""
.else
@ -375,10 +377,8 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|$$EGREP|egrep|g; \
s| -ldl||g' ${WRKSRC}/configure
##cpp complains about to many input files otherwise:
#.for i in console sexypsf alac vtx madplug adplug vorbis flacng wavpack aac modplug wma sid timidity tta esd jack OSS filewriter audiocompress cdaudio-ng
# @${ECHO} ' ' > ${WRKSRC}/src/${i}/.deps
#.endfor
@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/lib/|g' \
${WRKSRC}/src/timidity/xmms-timidity.c
pre-configure:
.if defined(WITH_AUDIOCD) && !exists(${LOCALBASE}/lib/libcdio_cdda.so)

View File

@ -21,7 +21,7 @@ lib/audacious/Input/alac.so
%%AUDIOCDPLUGIN%%lib/audacious/Input/cdaudio-ng.so
lib/audacious/Input/console.so
lib/audacious/Input/cuesheet.so
%%VORBISPLUGIN%%lib/audacious/Input/flacng.so
%%FLACPLUGIN%%lib/audacious/Input/flacng.so
%%MP3PLUGIN%%lib/audacious/Input/madplug.so
lib/audacious/Input/metronom.so
%%MODPLUG%%lib/audacious/Input/modplug.so
@ -41,6 +41,7 @@ lib/audacious/Input/wav.so
%%ESDPLUGIN%%lib/audacious/Output/ESD.so
%%ARTSPLUGIN%%lib/audacious/Output/arts.so
lib/audacious/Output/filewriter.so
%%JACKPLUGIN%%lib/audacious/Output/jackout.so
lib/audacious/Output/null.so
%%NEONPLUGIN%%lib/audacious/Transport/neon.so
lib/audacious/Transport/stdio.so