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"
10 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)
16 source=(https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$pkgname-$pkgver.tar.gz{,.asc})
17 sha256sums=('7656532f837af5f4cec3ff6bafe552c044dc39bf453587bd5b77450802f4aee6'
19 validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D') # WebP release signing key
26 --enable-swap-16bit-csp \
27 --enable-libwebp{mux,demux,decoder,extras}
28 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
40 make DESTDIR="$pkgdir" install
42 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING