blob: baee01c2041bc46f3b3fe93c3b928f159d354473 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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"
|