Update Vector Camera to 1.4.3 (11)

This commit is contained in:
F-Droid Builder 2019-05-25 23:59:24 +01:00 committed by Ciaran Gultnieks
parent 76f62ef823
commit e6e8a5e3b7

View file

@ -67,10 +67,63 @@ Builds:
- mv libvpx.a $DIR/src/main/cpp/libvpx_prebuilt_libs/x86_64/ - mv libvpx.a $DIR/src/main/cpp/libvpx_prebuilt_libs/x86_64/
ndk: r15c ndk: r15c
- versionName: 1.4.3
versionCode: 11
commit: v1.4.3
subdir: app/
gradle:
- yes
srclibs:
- libvpx@5cbd333f3b491f6ecb41387acf72e8ec27d8a474
prebuild:
- cp -r $$libvpx$$ src/main/jni/
- sed -i -e '/enabled external_build \&\& return/d' -e '/"$@" >>${logfile} 2>&1/d'
src/main/jni/libvpx/build/make/configure.sh
scandelete:
- app/src/main/cpp/libvpx_prebuilt_libs/
build:
- DIR=$PWD
- pushd $$libvpx$$
- ./configure --target=armv7-android-gcc --sdk-path=$$NDK$$ --disable-examples
--disable-docs --disable-tools --disable-vp8-decoder --disable-vp9-decoder
--enable-vp8-encoder --disable-vp9-encoder --disable-neon --disable-neon-asm
--disable-runtime-cpu-detect
- make
- mv libvpx.a $DIR/src/main/cpp/libvpx_prebuilt_libs/armeabi-v7a/
- make distclean
- popd
- pushd src/main/jni/
- libvpx/configure --target=arm64-android-gcc --disable-examples --disable-docs
--disable-tools --disable-vp8-decoder --disable-vp9-decoder --enable-vp8-encoder
--disable-vp9-encoder
- cd ..
- $$NDK$$/ndk-build
- mv obj/local/arm64-v8a/libvpx.a cpp/libvpx_prebuilt_libs/arm64-v8a/
- popd
- pushd $$libvpx$$
- export PATH=$$NDK$$/toolchains/x86-4.9/prebuilt/linux-x86_64/bin:$PATH
- ASFLAGS="-D__ANDROID__" CROSS=i686-linux-android- LDFLAGS="--sysroot=$$NDK$$/platforms/android-9/arch-x86"
./configure --target=x86-android-gcc --sdk-path=$$NDK$$ --disable-examples
--disable-docs --disable-vp8-decoder --disable-vp9-decoder --enable-vp8-encoder
--disable-vp9-encoder --disable-runtime-cpu-detect --disable-mmx --disable-sse
--disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4_1 --extra-cflags="--sysroot=$$NDK$$/platforms/android-9/arch-x86"
- make
- mv libvpx.a $DIR/src/main/cpp/libvpx_prebuilt_libs/x86/
- make distclean
- export PATH=$$NDK$$/toolchains/x86_64-4.9/prebuilt/linux-x86_64/bin:$PATH
- ASFLAGS="-D__ANDROID__" CROSS=x86_64-linux-android- LDFLAGS="--sysroot=$$NDK$$/platforms/android-21/arch-x86_64"
./configure --target=x86_64-android-gcc --sdk-path=$$NDK$$ --disable-examples
--disable-docs --disable-vp8-decoder --disable-vp9-decoder --enable-vp8-encoder
--disable-vp9-encoder --disable-runtime-cpu-detect --disable-mmx --disable-sse
--disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4_1 --extra-cflags="--sysroot=$$NDK$$/platforms/android-21/arch-x86_64"
- make
- mv libvpx.a $DIR/src/main/cpp/libvpx_prebuilt_libs/x86_64/
ndk: r15c
MaintainerNotes: The libvpx build is documented by upstream [https://github.com/dozingcat/VectorCamera/blob/master/README-libvpx.md MaintainerNotes: The libvpx build is documented by upstream [https://github.com/dozingcat/VectorCamera/blob/master/README-libvpx.md
here]. here].
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags
CurrentVersion: 1.4.2 CurrentVersion: 1.4.3
CurrentVersionCode: 10 CurrentVersionCode: 11