diff options
author | osa <osa@FreeBSD.org> | 2003-08-20 19:02:42 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-08-20 19:02:42 +0800 |
commit | 9e3cd75c26d0f730412a993222cf5ba79669915c (patch) | |
tree | 4fc993146db1d07fdf1d7f07a07b01e7f08c63e2 /audio | |
parent | 6052e07182ab44fc941dec713248f266ff0aaceb (diff) | |
download | freebsd-ports-gnome-9e3cd75c26d0f730412a993222cf5ba79669915c.tar.gz freebsd-ports-gnome-9e3cd75c26d0f730412a993222cf5ba79669915c.tar.zst freebsd-ports-gnome-9e3cd75c26d0f730412a993222cf5ba79669915c.zip |
Update to 2.1.5
Also:
* Make audio/normalize optional
* Add Speex support
* General cleanup of Makefile
Submitted by: Munish Chopra <chopra@soulwax.net> (maintainer)
PR: 55790
Diffstat (limited to 'audio')
-rw-r--r-- | audio/abcde/Makefile | 43 | ||||
-rw-r--r-- | audio/abcde/distinfo | 2 | ||||
-rw-r--r-- | audio/abcde/files/patch-aa | 12 |
3 files changed, 37 insertions, 20 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile index 4eca8000a38b..a71c8593a9eb 100644 --- a/audio/abcde/Makefile +++ b/audio/abcde/Makefile @@ -6,7 +6,7 @@ # PORTNAME= abcde -PORTVERSION= 2.1.4 +PORTVERSION= 2.1.5 CATEGORIES= audio MASTER_SITES= http://www.hispalinux.es/~data/files/ DISTNAME= abcde_${PORTVERSION}.orig @@ -14,11 +14,10 @@ DISTNAME= abcde_${PORTVERSION}.orig MAINTAINER= chopra@soulwax.net COMMENT= Front-end shell script to encode CDs in ogg, mp3 or flac format -RUN_DEPENDS= cd-discid:${PORTSDIR}/audio/cd-discid \ +RUN_DEPENDS= cd-discid:${PORTSDIR}/audio/cd-discid \ cdparanoia:${PORTSDIR}/audio/cdparanoia \ id3v2:${PORTSDIR}/audio/id3v2 \ lame:${PORTSDIR}/audio/lame \ - normalize:${PORTSDIR}/audio/normalize \ oggenc:${PORTSDIR}/audio/vorbis-tools USE_REINPLACE= yes @@ -33,21 +32,33 @@ CDDA2WAV_MSG= "Define WITH_CDDA2WAV to enable cdda2wav support." .endif .if defined(WITH_DAGRAB) -RUN_DEPENDS+= dagrab:${PORTSDIR}/audio/dagrab +RUN_DEPENDS+= dagrab:${PORTSDIR}/audio/dagrab .else -DAGRAB_MSG= "Define WITH_DAGRAB to enable dagrab support." +DAGRAB_MSG= "Define WITH_DAGRAB to enable dagrab support." .endif .if defined(WITH_EJECT) -RUN_DEPENDS+= eject:${PORTSDIR}/sysutils/eject +RUN_DEPENDS+= eject:${PORTSDIR}/sysutils/eject .else -EJECT_MSG= "Define WITH_EJECT to enable auto-eject support." +EJECT_MSG= "Define WITH_EJECT to enable auto-eject support." .endif .if defined(WITH_FLAC) RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac .else -FLAC_MSG= "Define WITH_FLAC to enable flac support." +FLAC_MSG= "Define WITH_FLAC to enable FLAC support." +.endif + +.if defined(WITH_NORMALIZE) +RUN_DEPENDS+= normalize:${PORTSDIR}/audio/normalize +.else +NORMALIZE_MSG= "Define WITH_NORMALIZE to enable normalize support." +.endif + +.if defined(WITH_SPEEX) +RUN_DEPENDS+= speexenc:${PORTSDIR}/audio/speex +.else +SPEEX_MSG= "Define WITH_SPEEX to enable Speex support." .endif pre-fetch: @@ -67,6 +78,14 @@ pre-fetch: @${ECHO_MSG} ${FLAC_MSG} @${ECHO_MSG} "" .endif +.if defined(NORMALIZE_MSG) + @${ECHO_MSG} ${NORMALIZE_MSG} + @${ECHO_MSG} "" +.endif +.if defined(SPEEX_MSG) + @${ECHO_MSG} ${SPEEX_MSG} + @${ECHO_MSG} "" +.endif post-patch: @${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \ @@ -85,11 +104,9 @@ post-install: @${ECHO_MSG} "" @${ECHO_MSG} "Please copy ${PREFIX}/etc/abcde.conf to ~/.abcde.conf" @${ECHO_MSG} "and edit as necessary. Sane defaults have been set." - @${ECHO_MSG} " - @${ECHO_MSG} "NOTE: As of version 2.1.4, you will need to start with" - @${ECHO_MSG} "a fresh copy of the supplied abcde.conf file. Since all" - @${ECHO_MSG} "FreeBSD-specific patches have now entered the vendor" - @${ECHO_MSG} "code, little or no editing should be necessary." + @${ECHO_MSG} "" + @${ECHO_MSG} "NOTE: If you have been using ${PORTNAME}-2.1.4 or older," + @${ECHO_MSG} "you must start with a fresh ~/.abcde.conf." @${ECHO_MSG} "" .include <bsd.port.mk> diff --git a/audio/abcde/distinfo b/audio/abcde/distinfo index 225b0a751b68..ec8ec1e976ff 100644 --- a/audio/abcde/distinfo +++ b/audio/abcde/distinfo @@ -1 +1 @@ -MD5 (abcde_2.1.4.orig.tar.gz) = bfc554c403d6cff332ffd4e9ce965404 +MD5 (abcde_2.1.5.orig.tar.gz) = cb052c02daab29f9e81bc5598579c80e diff --git a/audio/abcde/files/patch-aa b/audio/abcde/files/patch-aa index 7d83c94655c1..99f4eadb8ec1 100644 --- a/audio/abcde/files/patch-aa +++ b/audio/abcde/files/patch-aa @@ -1,15 +1,15 @@ ---- abcde.conf.orig Sun May 11 12:58:34 2003 -+++ abcde.conf Sun May 11 13:22:44 2003 -@@ -87,7 +87,7 @@ - #MP3ENCOPTS= +--- abcde.conf.orig Wed Aug 20 02:43:58 2003 ++++ abcde.conf Wed Aug 20 02:57:42 2003 +@@ -92,7 +92,7 @@ + # Ogg: #VORBIZEOPTS= -#OGGENCOPTS= +OGGENCOPTS="-q 5" + # FLAC: #FLACOPTS= - -@@ -145,10 +145,10 @@ +@@ -154,10 +154,10 @@ # Since multiple-output was integrated we always append the file type # to the files. Remove it from your user defined string if you are getting # files like ".ogg.ogg". |