aboutsummaryrefslogtreecommitdiffstats
path: root/libwebp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libwebp/PKGBUILD')
-rw-r--r--libwebp/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/libwebp/PKGBUILD b/libwebp/PKGBUILD
new file mode 100644
index 0000000..1ffe9aa
--- /dev/null
+++ b/libwebp/PKGBUILD
@@ -0,0 +1,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
+}