aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/squeezelite/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/squeezelite/APKBUILD')
-rw-r--r--unmaintained/squeezelite/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/squeezelite/APKBUILD b/unmaintained/squeezelite/APKBUILD
new file mode 100644
index 0000000000..baee01c204
--- /dev/null
+++ b/unmaintained/squeezelite/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=squeezelite
+pkgver=1.8
+pkgrel=0
+pkgdesc="lightweight headless squeezebox emulator"
+url="https://code.google.com/p/squeezelite"
+arch="all"
+license="GPLv3"
+depends=""
+depends_dev="alsa-lib-dev faad2-dev flac-dev libmad-dev soxr-dev
+ libvorbis-dev mpg123-dev"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="$pkgname-$pkgver-v2.tar.gz::http://dev.alpinelinux.org/archive/$pkgname/v1.8.tar.gz
+ 0001-only-run-glibc-specific-hacks-on-glibc.patch
+ 0001-respect-LDFLAGS.patch"
+
+_builddir="$srcdir/$pkgname-v$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
+}
+
+build() {
+ cd "$_builddir"
+ OPTS="-DLINKALL -DRESAMPLE -DDSD" make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -m755 -D $pkgname \
+ $pkgdir/usr/bin/$pkgname || return 1
+}
+
+md5sums="bf133bd5a2ccc34d4bfb12a3cb3bcbb2 squeezelite-1.8-v2.tar.gz
+14bc562281e8c5e8faf947d3f9f65cf0 0001-only-run-glibc-specific-hacks-on-glibc.patch
+06dbeeeb3941f64ba29925a8ada76597 0001-respect-LDFLAGS.patch"
+sha256sums="233d39764c461e7ca716d3ed1363dda336a5406438400fbee2581233eefc0572 squeezelite-1.8-v2.tar.gz
+d0929efb834d80d5f6616607d4b883bf75094c37a687d05a1cbdaeb6db68e79d 0001-only-run-glibc-specific-hacks-on-glibc.patch
+6bc4ac51359dce464e3489fa5823cb009bad2253365f999fcda979be236b5d8e 0001-respect-LDFLAGS.patch"
+sha512sums="f7382e2b0c8bd13be922714f5615e999d93bec8b569ec078a3732ca685c09a4661940696f4da77d675f687dbdf95b08653217f4cb6649722dbdbf9324a0e5804 squeezelite-1.8-v2.tar.gz
+2146c7878f693cddb6b6cbce496946a38f7b3454b67789010a001942def5eacf7af79afb9745859c3ee047706beebec988fc50405eeceb59e0b743be59495786 0001-only-run-glibc-specific-hacks-on-glibc.patch
+5aeb611275df9b09c562fef9c85392b829c48d498f8c683bafae215d9ca81fbe54c7d68c737930c2f9d7d7017b981057cd55d786af909c252a975206083efaff 0001-respect-LDFLAGS.patch"