aboutsummaryrefslogtreecommitdiffstats
path: root/libwebp/PKGBUILD
blob: 1ffe9aae50dfc3c6ad55cffd17c271b15363fec9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#Maintainer: Zee Eichel  <zee@dracos-linux.org>

pkgname=libwebp
pkgver=1.0.2
pkgrel=1
pkgdesc="WebP library and conversion tools"
arch=('x86_64')
url="https://developers.google.com/speed/webp/"
license=('BSD')
depends=('libjpeg-turbo' 'libpng' 'libtiff')
optdepends=('freeglut' 'giflib')
source=("http://downloads.webmproject.org/releases/webp/libwebp-${pkgver}.tar.gz")
sha256sums=("3d47b48c40ed6476e8047b2ddb81d93835e0ca1b8d3e8c679afbb3004dd564b1")

build() {
	cd "${srcdir}/libwebp-${pkgver}"

	./configure --prefix=/usr \
		--enable-swap-16bit-csp \
		--enable-experimental \
		--enable-libwebpdecoder \
		--enable-libwebpdemux \
		--enable-libwebextras \
		--enable-libwebpmux

	make
}

package() {
	cd "${srcdir}/libwebp-${pkgver}"
	make install DESTDIR="${pkgdir}"
	rm -rf $pkgdir/usr/share
}