summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-07-22 16:45:30 -0300
committerGonzalo Exequiel Pedone2019-07-22 16:45:30 -0300
commit4f35a69d4aa684e9bc3c0ecc0c65d6b359b1feed (patch)
treeba30b67691d9adc9e52d71f24c48150b3cba4f96
parent0df03eecedaf9f6650ab7f6f54a7b2d12b0ecb4b (diff)
downloadaur-4f35a69d4aa684e9bc3c0ecc0c65d6b359b1feed.tar.gz
Package updated.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d2676463398..77b37ba5f3c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-armv7a-eabi-ffmpeg
pkgdesc = Complete solution to record, convert and stream audio and video (android)
pkgver = 4.1.4
- pkgrel = 1
+ pkgrel = 2
url = http://ffmpeg.org/
arch = any
license = GPL3
@@ -16,6 +16,7 @@ pkgbase = android-armv7a-eabi-ffmpeg
depends = android-armv7a-eabi-libwebp
depends = android-armv7a-eabi-opus
depends = android-armv7a-eabi-speex
+ depends = android-armv7a-eabi-x264
depends = android-armv7a-eabi-zlib
options = !strip
options = !buildflags
diff --git a/PKGBUILD b/PKGBUILD
index ac178de6c34e..c936afa5fab1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,10 @@
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
_android_arch=armv7a-eabi
-source android-env ${_android_arch}
pkgname=android-${_android_arch}-ffmpeg
pkgver=4.1.4
-pkgrel=1
+pkgrel=2
pkgdesc="Complete solution to record, convert and stream audio and video (android)"
arch=('any')
url="http://ffmpeg.org/"
@@ -18,6 +17,7 @@ depends=("android-${_android_arch}-bzip2"
"android-${_android_arch}-libwebp"
"android-${_android_arch}-opus"
"android-${_android_arch}-speex"
+ "android-${_android_arch}-x264"
"android-${_android_arch}-zlib")
options=(!strip !buildflags staticlibs !emptydirs)
makedepends=('android-environment' 'android-pkg-config' 'yasm')
@@ -28,12 +28,15 @@ sha256sums=('f1f049a82fcfbf156564e73a3935d7e750891fab2abf302e735104fd4050a7e1'
prepare() {
cd "${srcdir}"/ffmpeg-${pkgver}
+ source android-env ${_android_arch}
+
check_ndk_version_ge_than 18.0
patch -Np1 -i ../configure.patch
}
build() {
cd "${srcdir}"/ffmpeg-${pkgver}
+ source android-env ${_android_arch}
unset CC
unset CXX
@@ -90,12 +93,13 @@ build() {
--disable-indev=v4l2
--disable-outdev=v4l2
--enable-libmp3lame
+ --enable-libopus
--enable-libspeex
--enable-libtheora
--enable-libvorbis
--enable-libvpx
--enable-libwebp
- --enable-libopus
+ --enable-libx264
--enable-zlib"
# Platform specific patches
@@ -114,6 +118,8 @@ build() {
package() {
cd "${srcdir}"/ffmpeg-${pkgver}
+ source android-env ${_android_arch}
+
make DESTDIR="$pkgdir" install
rm -r "${pkgdir}"/${ANDROID_PREFIX_SHARE}
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so