blob: 66da0f27fc8b3e905ab7a2f75e6952286462b6df (
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
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-lib
pkgver=1.1.1
pkgrel=0
pkgdesc="An alternative implementation of Linux sound support"
url="http://www.alsa-project.org"
arch="all"
license="LGPL2+"
depends=""
subpackages="$pkgname-dev $pkgname-dbg"
makedepends="linux-headers"
source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2
alsa-lib-poll.patch
alsa-lib-stdint.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
rm src/compat/hsearch_r.c && touch src/compat/hsearch_r.c
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-python \
--disable-static \
--disable-resmgr \
--enable-rawmidi \
--enable-seq \
--enable-aload \
--disable-dependency-tracking \
--without-versioned \
|| return 1
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="881060d2c568f7f49db82c58df2f9ddc alsa-lib-1.1.1.tar.bz2
59f635281241399e8783b077ce022dfc alsa-lib-poll.patch
1349b595ef97c42873b917b2cf7c0e37 alsa-lib-stdint.patch"
sha256sums="8ac76c3144ed2ed49da7622ab65ac5415205913ccbedde877972383cbc234269 alsa-lib-1.1.1.tar.bz2
6e3b26b5cc26ce81d196d22b020dc9870d8f7ff02ef05f62d62d43497e7d91f8 alsa-lib-poll.patch
5cd15e2bbccf72d04a20db9f11bdd4dee3342f5c365d8141450916e263d9aebc alsa-lib-stdint.patch"
sha512sums="dacd0a74adc682ac0034cbeba2de3d1a141e0ac2e564c9e04dae202ffaf87ef3a1e01307afc2fd2d9cfe679e5b101c379f9b6ea5f7ccceeed14a427bd5232bc7 alsa-lib-1.1.1.tar.bz2
19168fd85cac28baba42d0da9cb89ceefc7b15532c4fe0c2ff6e87294334dd364f87430f47ad612bd63240cdbb3b08165e48cfd7aa45489b5ad7286cd80e0f21 alsa-lib-poll.patch
2351262dade9a3c1a3de1b7d1a3a53a634a438b9b8aae7cc69e2b981500051f039e6381359b81392114ec6236e3d513b577bd4bf12c3d2ce1f871cd7651b2cab alsa-lib-stdint.patch"
|