summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-07-22 18:12:46 -0300
committerGonzalo Exequiel Pedone2019-07-22 18:12:46 -0300
commit41693605e2cddfd2da83408ad59852f82043580d (patch)
tree0ee18aa0ab6579a733496a68612e11631a28936b
parentacce92d40a09cb3aeefd8f05469a05ce20e49c66 (diff)
downloadaur-41693605e2cddfd2da83408ad59852f82043580d.tar.gz
Package updated.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 79a184fa985..aec32335f3b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-x86-libvpx
pkgdesc = VP8 and VP9 codec (android)
pkgver = 1.8.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.webmproject.org/
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index d3c8789a5e8..60d0687d584 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,10 @@
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
_android_arch=x86
-source android-env ${_android_arch}
pkgname=android-${_android_arch}-libvpx
pkgver=1.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="VP8 and VP9 codec (android)"
arch=('any')
url="http://www.webmproject.org/"
@@ -17,11 +16,13 @@ source=(https://github.com/webmproject/libvpx/archive/v${pkgver}.tar.gz)
sha256sums=('df19b8f24758e90640e1ab228ab4a4676ec3df19d23e4593375e6f3847dee03e')
prepare() {
+ source android-env ${_android_arch}
check_ndk_version_ge_than 18.0
}
build() {
cd "${srcdir}"/libvpx-${pkgver}
+ source android-env ${_android_arch}
export CC=${ANDROID_CC}
export CXX=${ANDROID_CXX}
@@ -61,6 +62,7 @@ build() {
package() {
cd "${srcdir}"/libvpx-${pkgver}
+ source android-env ${_android_arch}
make DESTDIR="$pkgdir" install
${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a