extra/libwebp to 1.2.2-1.1

This commit is contained in:
Kevin Mihelich 2022-02-07 03:24:18 +00:00
parent 43dc392962
commit 67820cb752

View file

@ -2,12 +2,11 @@
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Jon Nordby <jononor@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable neon on !AArch64
# remove when bumped upstream
pkgname=libwebp
pkgver=1.2.2
pkgrel=1
pkgrel=1.1
pkgdesc="WebP library and conversion tools"
arch=(x86_64)
url="https://developers.google.com/speed/webp/"
@ -23,12 +22,11 @@ validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D') # WebP release signing
build() {
cd $pkgname-$pkgver
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
./configure \
--prefix=/usr \
--disable-static \
--enable-swap-16bit-csp \
--enable-libwebp{mux,demux,decoder,extras} $CONFIG
--enable-libwebp{mux,demux,decoder,extras}
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}