1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Alexander Rødseth <rodseth@gmail.com>
3 # Contributor: Jon Nordby <jononor@gmail.com>
8 pkgdesc="WebP library and conversion tools"
9 url="https://developers.google.com/speed/webp/"
12 depends=(libpng libjpeg libtiff giflib)
13 makedepends=(freeglut mesa glu)
14 optdepends=('freeglut: vwebp viewer')
15 provides=(libwebp{,decoder,demux,mux}.so)
17 source=(https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz{,.asc})
18 sha256sums=('7bf5a8a28cc69bcfa8cb214f2c3095703c6b73ac5fba4d5480c205331d9494df'
20 validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D') # WebP release signing key
27 --enable-swap-16bit-csp \
28 --enable-libwebp{mux,demux,decoder,extras}
29 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
41 make DESTDIR="$pkgdir" install
43 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
46 # vim:set sw=2 sts=-1 et: