diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-19 17:47:51 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-20 08:47:47 +0300 |
commit | 1012e7c2ae8cc23e1326731e08d376f9620a1ce9 (patch) | |
tree | 4888599646ad68ac5c02b76b576053f7664f13f6 /community/sbc | |
parent | 978bc61c3df82e6284ea5c4697d2a7d821d1183f (diff) | |
download | aports-1012e7c2ae8cc23e1326731e08d376f9620a1ce9.tar.bz2 aports-1012e7c2ae8cc23e1326731e08d376f9620a1ce9.tar.xz |
community/sbc: upgrade to 1.4
* Disable static library.
* Clarify license, modernize.
Diffstat (limited to 'community/sbc')
-rw-r--r-- | community/sbc/APKBUILD | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/community/sbc/APKBUILD b/community/sbc/APKBUILD index 2ababdf123..bc713b1280 100644 --- a/community/sbc/APKBUILD +++ b/community/sbc/APKBUILD @@ -1,30 +1,20 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Mark Riedesel <mark@klowner.com> pkgname=sbc -pkgver=1.3 -pkgrel=1 +pkgver=1.4 +pkgrel=0 pkgdesc="Bluetooth Subband Codec (SBC) library" url="http://www.bluez.org/" arch="all" options="!check" # No tests. -license="LGPL" -depends="" +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 " - -builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - default_prepare - update_config_sub -} - build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -32,12 +22,12 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var + --localstatedir=/var \ + --disable-static make } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } @@ -48,5 +38,5 @@ utils() { "$subpkgdir"/usr/ } -sha512sums="c11cb1ede8abdb226d404ce34307d217b716b91cbe550ed90cb5387b062b7b97a6b7a81371de6f462d8c1429cb3299869a1bda347fa175e9d81cfa2bc2056c8b sbc-1.3.tar.xz +sha512sums="f35250c202034e93ce4046d29883d76b162164d42fb59e6af8ff5e57f197244238f5f8087309cef2d44755c179e7f0869cf096735c8de510b1ac7e0f6c29d84f sbc-1.4.tar.xz 73e8f3ab7962c5a32d533bd9cdba3e84f2ae54c02fc157cccb0b9c6b6fa227b2a7d6c1d52fffc77cb74951ebc225e60b58d0177dc3d488fd870ea17bb540f102 fix-armv6-assembly.patch" |