blob: bc713b12808bc4f8c814237363679690b6ecf57a (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Mark Riedesel <mark@klowner.com>
pkgname=sbc
pkgver=1.4
pkgrel=0
pkgdesc="Bluetooth Subband Codec (SBC) library"
url="http://www.bluez.org/"
arch="all"
options="!check" # No tests.
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends_dev="libsndfile-dev"
makedepends="$depends_dev linux-headers"
subpackages="$pkgname-dev $pkgname-utils"
source="https://www.kernel.org/pub/linux/bluetooth/sbc-$pkgver.tar.xz
fix-armv6-assembly.patch
"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static
make
}
package() {
make DESTDIR="$pkgdir" install
}
utils() {
pkgdesc="sbc utilities"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin \
"$subpkgdir"/usr/
}
sha512sums="f35250c202034e93ce4046d29883d76b162164d42fb59e6af8ff5e57f197244238f5f8087309cef2d44755c179e7f0869cf096735c8de510b1ac7e0f6c29d84f sbc-1.4.tar.xz
73e8f3ab7962c5a32d533bd9cdba3e84f2ae54c02fc157cccb0b9c6b6fa227b2a7d6c1d52fffc77cb74951ebc225e60b58d0177dc3d488fd870ea17bb540f102 fix-armv6-assembly.patch"
|