diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-11-07 08:30:39 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-11-07 08:30:46 +0000 |
commit | 08749a705f0061e7564faf91d6caed928a376cde (patch) | |
tree | a2e4c6f498297158bd82a013d76891e4f1360980 /community/abcde | |
parent | 348c14c7421c7d8fcdc82fd7014fb75eed11f56f (diff) | |
download | aports-08749a705f0061e7564faf91d6caed928a376cde.tar.bz2 aports-08749a705f0061e7564faf91d6caed928a376cde.tar.xz |
main/abcde: move to community due to py-eyed3
Diffstat (limited to 'community/abcde')
-rw-r--r-- | community/abcde/APKBUILD | 43 | ||||
-rw-r--r-- | community/abcde/busybox-wget.patch | 11 | ||||
-rw-r--r-- | community/abcde/fix-mp3-tagging.patch | 20 | ||||
-rw-r--r-- | community/abcde/less.patch | 11 |
4 files changed, 85 insertions, 0 deletions
diff --git a/community/abcde/APKBUILD b/community/abcde/APKBUILD new file mode 100644 index 0000000000..cfecd253c6 --- /dev/null +++ b/community/abcde/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: +pkgname=abcde +pkgver=2.8.1 +pkgrel=1 +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="GPL-2.0" +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() { + default_prepare + sed -e "s:normalize-audio:normalize:g" -i ${pkgname} +} + +build() { + cd "$builddir" + make +} + +package() { + cd "$builddir" + make DESTDIR="${pkgdir}" \ + prefix=/usr \ + sysconfdir=/etc \ + docdir=/usr/share/doc/${pkgname} \ + install +} + +sha512sums="18e9e46ec69d0b99fc5e2b71ec549e3961e5f6d7f88cef1a6c8da154689554a70cc8bc748c1ef78f81583a510f8b03906b8a4fec454aa0b06f0169d0bc4a7b36 abcde-2.8.1.tar.gz +282eecc38064713e69705b2b5531822a44c74565fb2cea84f24c0210433d5cc4ec575f511d76b7f72d9af45c74e4722cd62e91c73145bfd06e1f5f0af2d44719 busybox-wget.patch +ad96c5e061627e1259e3ae3c8b0c58821ba1e93b217b9e31c2b12e531bde862491355671c5b06cd74e39610f45ed4afe23097c148e07445c97289d0c781ea7f0 fix-mp3-tagging.patch +24151ac9d6695f182f5b72db5a890ff97208a033b2c40b9868be931c417bcfc55b639c0578fdc805a924f0849ae6637f585d9348f0e093d218bf600c4c3fbc8a less.patch" diff --git a/community/abcde/busybox-wget.patch b/community/abcde/busybox-wget.patch new file mode 100644 index 0000000000..ddec038139 --- /dev/null +++ b/community/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 +@@ -3845,7 +3845,7 @@ + + if [ "$HTTPGETOPTS" = "" ] ; then + case $HTTPGET in +- wget) HTTPGETOPTS="-q -nv -e timestamping=off -O -";; ++ wget) HTTPGETOPTS="-q -O -";; + curl) HTTPGETOPTS="-f -s -L";; + fetch)HTTPGETOPTS="-q -o -";; + ftp) HTTPGETOPTS="-a -V -o - ";; diff --git a/community/abcde/fix-mp3-tagging.patch b/community/abcde/fix-mp3-tagging.patch new file mode 100644 index 0000000000..e7650c9494 --- /dev/null +++ b/community/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 +*************** +*** 836,842 **** + -A "$DALBUM" -a "$TRACKARTIST" -t "$TRACKNAME" \ + -y "$CDYEAR" -g "$GENREID" \ + -T "${TRACKNUM:-$1}/$TRACKS" \ +! ${TPE2:+--TPE2 "$TPE2"} \ + "$ABCDETEMPDIR/track$1.$OUTPUT" + ;; + esac +--- 836,842 ---- + -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/community/abcde/less.patch b/community/abcde/less.patch new file mode 100644 index 0000000000..49321c6eb4 --- /dev/null +++ b/community/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 +@@ -227,7 +227,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" |