diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2015-07-20 10:39:08 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-21 06:10:49 +0000 |
commit | 3b372ac42200b69ce7f1cb5d71f29a6530d0ab6f (patch) | |
tree | 0521ee247a86e052d069a2fd1ec774206cc05ef6 /main/abcde | |
parent | e77bcd6315fa4c167b79ba128aa95765f47ccc34 (diff) | |
download | aports-3b372ac42200b69ce7f1cb5d71f29a6530d0ab6f.tar.bz2 aports-3b372ac42200b69ce7f1cb5d71f29a6530d0ab6f.tar.xz |
main/abcde: move from testing
Diffstat (limited to 'main/abcde')
-rw-r--r-- | main/abcde/APKBUILD | 53 | ||||
-rw-r--r-- | main/abcde/busybox-wget.patch | 11 | ||||
-rw-r--r-- | main/abcde/fix-mp3-tagging.patch | 20 | ||||
-rw-r--r-- | main/abcde/less.patch | 11 |
4 files changed, 95 insertions, 0 deletions
diff --git a/main/abcde/APKBUILD b/main/abcde/APKBUILD new file mode 100644 index 0000000000..27565023e6 --- /dev/null +++ b/main/abcde/APKBUILD @@ -0,0 +1,53 @@ +# Maintainer: Peter Bui <pnutzh4x0r@gmail.com> +pkgname=abcde +pkgver=2.7 +pkgrel=0 +pkgdesc="A command line CD encoder that reads your CD, downloads the track information from a CDDB provider, and rips your CD" +url="http://abcde.einval.com/" +arch="noarch" +license="GPL2" +depends="bash cd-discid py-eyed3" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://abcde.einval.com/download/abcde-${pkgver}.tar.gz + busybox-wget.patch + fix-mp3-tagging.patch + less.patch +" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + sed -e "s:normalize-audio:normalize:g" -i ${pkgname} +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" PREFIX=/usr install || return 1 +} + +md5sums="b947ec2b6baab8cf8388b1d6613664cb abcde-2.7.tar.gz +44ceee10cdb97ef840e335bfd8004b6c busybox-wget.patch +ad7864e932a297fa30f33707ed26f7fc fix-mp3-tagging.patch +fe74a159830f7166222e772bd0677dd8 less.patch" +sha256sums="0148698a09fedcbae37ee9da295afe411a1190cf8ae224b7814d31b5bf737746 abcde-2.7.tar.gz +fb23ed7c4ae3f9ecdd4e6cdb06f4ac9788e35091b3cbc1b5999e40915f6a6ae2 busybox-wget.patch +846268428d761e7faa6a4e0fb9587f2f94d3d5a266a6053fa8ce332cfc7d3cc0 fix-mp3-tagging.patch +2ca978abccef9dacdb62466d9a25bcbc85deff332d0b5edfddfec7b131c63052 less.patch" +sha512sums="0e5c931cddf283cb4444136e4ad43c996d8f69c990a76ed032ad9863c8de54ad9a9896a2de1a500184690b72ffb35ab2e2f859f12a19f15f093ef016ff69c61e abcde-2.7.tar.gz +a7f5170a343f57699b3b22b5f5769bfeb356bd8f1bcaa7277e7c611dba3dd3dbf2e76f30c3b8cc8449601e87dd3f2da6c7e470a7cdb84feb50ac120a51fe90be busybox-wget.patch +7e7b3658cf0934b973cd019701ec732003e0c8d3c75b9d40e7ee01f31d3e2fe9368bad06a00ec9cc5faec0a9202e2b7275eb0314d6fc6b6c24d2054fcfb9e699 fix-mp3-tagging.patch +fe89db2ac5eadd44e608a65c843bc35345d02cfc1b54fd10bf068c9a3b9ebf56b941051a008ae859f3979cd56f9eae904bb83ac73357d6dc89b8dcf2205c1c28 less.patch" diff --git a/main/abcde/busybox-wget.patch b/main/abcde/busybox-wget.patch new file mode 100644 index 0000000000..9733fbcee4 --- /dev/null +++ b/main/abcde/busybox-wget.patch @@ -0,0 +1,11 @@ +--- a/abcde 2014-09-28 19:01:23.465895247 +0500 ++++ b/abcde 2014-09-28 19:02:01.292355035 +0500 +@@ -3359,7 +3359,7 @@ + + if [ "$HTTPGETOPTS" = "" ] ; then + case $HTTPGET in +- wget) HTTPGETOPTS="-q -nv -e timestamping=off -O -";; ++ wget) HTTPGETOPTS="-q -O -";; + curl) HTTPGETOPTS="-f -s";; + fetch)HTTPGETOPTS="-q -o -";; + ftp) HTTPGETOPTS="-a -V -o - ";; diff --git a/main/abcde/fix-mp3-tagging.patch b/main/abcde/fix-mp3-tagging.patch new file mode 100644 index 0000000000..8d43e52408 --- /dev/null +++ b/main/abcde/fix-mp3-tagging.patch @@ -0,0 +1,20 @@ +*** ./abcde 2010-02-15 16:04:40.000000000 -0600 +--- ./abcde 2010-02-15 14:41:25.000000000 -0600 +*************** +*** 835,841 **** + -A "$DALBUM" -a "$TRACKARTIST" -t "$TRACKNAME" \ + -y "$CDYEAR" -g "$GENREID" \ + -T "${TRACKNUM:-$1}/$TRACKS" \ +! ${TPE2:+--TPE2 "$TPE2"} \ + "$ABCDETEMPDIR/track$1.$OUTPUT" + ;; + esac +--- 835,841 ---- + -A "$DALBUM" -a "$TRACKARTIST" -t "$TRACKNAME" \ + -y "$CDYEAR" -g "$GENREID" \ + -T "${TRACKNUM:-$1}/$TRACKS" \ +! ${TPE2:+--TPE2 \"$TPE2\"} \ + "$ABCDETEMPDIR/track$1.$OUTPUT" + ;; + esac + diff --git a/main/abcde/less.patch b/main/abcde/less.patch new file mode 100644 index 0000000000..9c516dd043 --- /dev/null +++ b/main/abcde/less.patch @@ -0,0 +1,11 @@ +--- a/abcde 2014-09-28 10:08:15.073608206 +0500 ++++ b/abcde 2014-09-28 10:07:50.817072949 +0500 +@@ -233,7 +233,7 @@ + $PAGER "$PAGEFILE" + # If that fails, check for less + elif [ -x /usr/bin/less ]; then +- /usr/bin/less -f "$PAGEFILE" ++ /usr/bin/less "$PAGEFILE" + # more should be on all UNIX systems + elif [ -x /bin/more ]; then + /bin/more "$PAGEFILE" |