diff options
author | riggs <riggs@FreeBSD.org> | 2015-09-13 18:45:01 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2015-09-13 18:45:01 +0800 |
commit | 0542e0d1a22b46de30d98e553ff732e168d7e3ed (patch) | |
tree | 5e3751a524ad3746e9a0d8b3452572d51262c38c /audio/abcde/files | |
parent | a2b161be58db5bfc20f88d70aca14364bd80ccf6 (diff) | |
download | freebsd-ports-gnome-0542e0d1a22b46de30d98e553ff732e168d7e3ed.tar.gz freebsd-ports-gnome-0542e0d1a22b46de30d98e553ff732e168d7e3ed.tar.zst freebsd-ports-gnome-0542e0d1a22b46de30d98e553ff732e168d7e3ed.zip |
Update to upstream version 2.7
- General port cleanup
- Apply FreeBSD-specific modifications to make it
work out of the box more conveniently
PR: 201837
Submitted by: tkato432@yahoo.com
Diffstat (limited to 'audio/abcde/files')
-rw-r--r-- | audio/abcde/files/patch-abcde | 13 | ||||
-rw-r--r-- | audio/abcde/files/patch-abcde.conf | 84 | ||||
-rw-r--r-- | audio/abcde/files/pkg-message.in | 7 |
3 files changed, 40 insertions, 64 deletions
diff --git a/audio/abcde/files/patch-abcde b/audio/abcde/files/patch-abcde deleted file mode 100644 index ffd9165d5963..000000000000 --- a/audio/abcde/files/patch-abcde +++ /dev/null @@ -1,13 +0,0 @@ ---- ./abcde.orig 2010-05-29 11:02:44.000000000 +0200 -+++ ./abcde 2011-03-11 07:56:10.638294344 +0100 -@@ -3569,8 +3569,8 @@ - m4a:*) AACENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;; - esac - done -- for OUTPUT in "$(echo "$OUTPUTTYPE" | tr , \ )"; do -- TEMPOUTPUT=$( echo "$OUTPUT" | cut -d: -f1 ) -+ for OUTPUT in "$(echo "$OUTPUTTYPE" | tr \ \| | tr , \ )"; do -+ TEMPOUTPUT=$( echo "$OUTPUT" | tr \ \| | cut -d: -f1 ) - TEMPOUTPUTTYPE="${TEMPOUTPUTTYPE:+$TEMPOUTPUTTYPE,}$TEMPOUTPUT" - done - OUTPUTTYPE="$TEMPOUTPUTTYPE" diff --git a/audio/abcde/files/patch-abcde.conf b/audio/abcde/files/patch-abcde.conf index 45ea12c7a7c5..1eaecb880f62 100644 --- a/audio/abcde/files/patch-abcde.conf +++ b/audio/abcde/files/patch-abcde.conf @@ -1,51 +1,33 @@ ---- abcde.conf.orig 2014-12-18 17:39:40.000000000 +0100 -+++ abcde.conf 2014-12-18 17:45:51.000000000 +0100 -@@ -141,13 +141,13 @@ - #CDDAFS=cp - #CDDISCID=cd-discid - #CDDBTOOL=cddb-tool --#EJECT=eject --#MD5SUM=md5sum -+EJECT=cdcontrol -+MD5SUM=md5 - #DISTMP3=distmp3 - #VORBISCOMMENT=vorbiscomment - #METAFLAC=metaflac - #NORMALIZE=normalize-audio --#CDSPEED=eject -+CDSPEED=cdcontrol - #VORBISGAIN=vorbisgain - #MKCUE=mkcue - #MKTOC=cdrdao -@@ -215,10 +215,10 @@ - #PIRDOPTS="-p" - #CDDAFSOPTS="-f" - #CDDBTOOLOPTS= --#EJECTOPTS= -+EJECTOPTS="eject" - #DISTMP3OPTS= - #NORMALIZEOPTS= --#CDSPEEDOPTS="-x" -+CDSPEEDOPTS="speed" - #CDSPEEDVALUE="" - #MKCUEOPTS="" - #MKTOCOPTS="" -@@ -245,7 +245,7 @@ - # CD device you want to read from - # It can be defined as a singletrack flac file, but since it might change from - # file to file it makes little sense to define it here. --#CDROM=/dev/cdrom -+CDROM=/dev/cd0 - # If we are using the IDE bus, we need CDPARANOIACDROMBUS defined as "d" - # If we are using the ide-scsi emulation layer, we need to define a "g" - #CDPARANOIACDROMBUS="d" -@@ -343,8 +343,7 @@ - # Custom pre-read function - # By default it does nothing. - # You can set some things to get abcde function in better ways: --# * Close the CD tray using eject -t (if available in eject and supported by --# your CD device. -+# * Close the CD tray using cdcontrol close (if supported by your CD device). - # * Set the CD speed. You can also use the built-in options, but you can also - # set it here. In Debian, eject -x and cdset -x do the job. - # KEEP IN MIND that executables included in pre_read must be in your $PATH or +--- abcde.conf.orig 2015-06-18 12:26:40 UTC ++++ abcde.conf +@@ -209,7 +209,8 @@ + + # Ogg: + #VORBIZEOPTS= +-#OGGENCOPTS= ++#OFFENCOPTS= ++OGGENCOPTS="-q 5" + + # FLAC: + # The flac option is a workaround for an error where flac fails +@@ -323,7 +324,7 @@ + # (e.g. "ogg") or a combination of them separated with "," + # (e.g. "flac,mp3"). Currently recognised and supported are: + # "flac", "m4a", "mp3, "mpc", "ogg", "opus", "spx", "vorbis", "wav", "wv", "ape" +-#OUTPUTTYPE=ogg ++OUTPUTTYPE=ogg + + # Output filename format - change this to reflect your inner desire to + # organize things differently than everyone else :) +@@ -336,9 +337,11 @@ + # to the files. Remove it from your user defined string if you are getting + # files like ".ogg.ogg". + #OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}' ++OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${ARTISTFILE}-${TRACKNUM}-${TRACKFILE}' + + # Like OUTPUTFORMAT but for Various Artists discs. + #VAOUTPUTFORMAT='Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}' ++VAOUTPUTFORMAT='${ARTISTFILE}/${ARTISTFILE}-${TRACKNUM}-${TRACKFILE}' + + # Like OUTPUTFORMAT and VAOUTPUTFORMAT but for the ONEFILE rips. + #ONETRACKOUTPUTFORMAT=$OUTPUTFORMAT diff --git a/audio/abcde/files/pkg-message.in b/audio/abcde/files/pkg-message.in new file mode 100644 index 000000000000..61f33298dde6 --- /dev/null +++ b/audio/abcde/files/pkg-message.in @@ -0,0 +1,7 @@ +****************************************************************** +Please copy %%PREFIX%%/etc/abcde.conf.sample to ~/.abcde.conf and +edit as necessary. Sane defaults have been set. + +NOTE: If you have been using abcde-2.1.4 or older, you must start +with a fresh ~/.abcde.conf. +****************************************************************** |