extra/libwebp to 1.2.0-1

This commit is contained in:
Kevin Mihelich 2021-02-03 14:05:48 +00:00
parent 43f42f99bc
commit 9fd6c0b8a5

View file

@ -6,7 +6,7 @@
# - disable neon on !AArch64
pkgname=libwebp
pkgver=1.1.0
pkgver=1.2.0
pkgrel=1
pkgdesc="WebP library and conversion tools"
arch=(x86_64)
@ -15,10 +15,10 @@ license=(BSD)
depends=(libpng libjpeg libtiff giflib)
makedepends=(freeglut mesa glu git)
optdepends=('freeglut: vwebp viewer')
_commit=d7844e9762b61c9638c263657bd49e1690184832 # tags/v1.1.0-rc2^0
_commit=fedac6cc69cda3e9e04b780d324cf03921fb3ff4 # tags/v1.2.0-rc3^0
source=("git+https://chromium.googlesource.com/webm/libwebp#commit=$_commit")
sha256sums=('SKIP')
validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D')
validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D') # WebP release signing key
pkgver() {
cd $pkgname
@ -33,11 +33,12 @@ prepare() {
build() {
cd $pkgname
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
./configure --prefix=/usr \
--enable-swap-16bit-csp \
--enable-experimental \
--enable-libwebp{mux,demux,decoder,extras} \
--disable-static $CONFIG
./configure \
--prefix=/usr \
--disable-static \
--enable-swap-16bit-csp \
--enable-experimental \
--enable-libwebp{mux,demux,decoder,extras} $CONFIG
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}