diff options
author | Bart Ribbers <bribbers@disroot.org> | 2021-10-24 16:09:57 +0200 |
---|---|---|
committer | Bart Ribbers <bribbers@disroot.org> | 2022-01-12 15:38:50 +0000 |
commit | 43f648b3bb77ba3772bf60056a9b4c50954c1bdb (patch) | |
tree | 45abf22cb5a546b5a8756da4fdee2d140b127619 | |
parent | 9efb3e92d54f91108a75372b880833cad45bbff9 (diff) | |
download | aports-43f648b3bb77ba3772bf60056a9b4c50954c1bdb.tar.gz aports-43f648b3bb77ba3772bf60056a9b4c50954c1bdb.tar.bz2 aports-43f648b3bb77ba3772bf60056a9b4c50954c1bdb.tar.xz |
community/libvpx: fix prefix in pkgconfig file
-rw-r--r-- | community/libvpx/APKBUILD | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/community/libvpx/APKBUILD b/community/libvpx/APKBUILD index 1530b5104d..44d9221719 100644 --- a/community/libvpx/APKBUILD +++ b/community/libvpx/APKBUILD @@ -1,16 +1,19 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libvpx pkgver=1.10.0 -pkgrel=0 +pkgrel=1 pkgdesc="Library for the vp8 codec" url="https://www.webmproject.org/" arch="all" license="BSD-3-Clause" makedepends="coreutils yasm bash perl diffutils linux-headers" # linux-headers is needed on ppc64le subpackages="$pkgname-dev $pkgname-utils" -source="$pkgname-$pkgver.tar.gz::https://github.com/webmproject/libvpx/archive/v$pkgver.tar.gz +source="https://github.com/webmproject/libvpx/archive/v$pkgver/libvpx-v$pkgver.tar.gz fix-arm-float-abi.patch " +# net required for tests +# tests disabled due to failing to find symbols +options="!check" # secfixes: # 1.8.2-r0: @@ -24,7 +27,9 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/webmproject/libvpx/archive/v build() { # build fix for arm export CROSS=" " - bash ./configure \ + ./configure \ + --prefix=/usr \ + --enable-unit-tests \ --enable-pic \ --enable-libs \ --enable-runtime-cpu-detect \ @@ -37,8 +42,12 @@ build() { make } +check() { + make test +} + package() { - make DIST_DIR="$pkgdir"/usr install + make DESTDIR="$pkgdir" install chmod 644 "$pkgdir"/usr/include/vpx/*.h \ "$pkgdir"/usr/lib/pkgconfig/* chown root:root -R "$pkgdir" @@ -51,5 +60,7 @@ utils() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -sha512sums="f88c588145b5164e98531b75215e119056cd806a9dbe6599bb9dab35c0af0ecd4b3daabee7d795e412a58aeb543d5c7dc0107457c4bd8f4d434e966e8e22a32d libvpx-1.10.0.tar.gz -4eadbc2f4eb68eaff35cf85515aef271d6fd47293a53cba7b7a6e9e0fb71106dfb5ded45b9e9ba83264a91846e4a5fa4db42e39fc3eaff6ac37769e622f90f6c fix-arm-float-abi.patch" +sha512sums=" +f88c588145b5164e98531b75215e119056cd806a9dbe6599bb9dab35c0af0ecd4b3daabee7d795e412a58aeb543d5c7dc0107457c4bd8f4d434e966e8e22a32d libvpx-v1.10.0.tar.gz +4eadbc2f4eb68eaff35cf85515aef271d6fd47293a53cba7b7a6e9e0fb71106dfb5ded45b9e9ba83264a91846e4a5fa4db42e39fc3eaff6ac37769e622f90f6c fix-arm-float-abi.patch +" |