mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/libwebp to 1.2.2-1.1
This commit is contained in:
parent
43dc392962
commit
67820cb752
1 changed files with 3 additions and 5 deletions
|
@ -2,12 +2,11 @@
|
||||||
# Contributor: Alexander Rødseth <rodseth@gmail.com>
|
# Contributor: Alexander Rødseth <rodseth@gmail.com>
|
||||||
# Contributor: Jon Nordby <jononor@gmail.com>
|
# Contributor: Jon Nordby <jononor@gmail.com>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# remove when bumped upstream
|
||||||
# - disable neon on !AArch64
|
|
||||||
|
|
||||||
pkgname=libwebp
|
pkgname=libwebp
|
||||||
pkgver=1.2.2
|
pkgver=1.2.2
|
||||||
pkgrel=1
|
pkgrel=1.1
|
||||||
pkgdesc="WebP library and conversion tools"
|
pkgdesc="WebP library and conversion tools"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://developers.google.com/speed/webp/"
|
url="https://developers.google.com/speed/webp/"
|
||||||
|
@ -23,12 +22,11 @@ validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D') # WebP release signing
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-swap-16bit-csp \
|
--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
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue