summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-10-02 00:58:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-10-02 00:58:27 (GMT)
commit41970f7206ead1525f6b4c5df98ab51bf0dc3404 (patch)
tree137f410ab801462915db5708ddfdb3d66bcfd655 /abs
parent283ff72c8f742f807e4788846447531bc9ae1ea9 (diff)
downloadlinhes_pkgbuild-41970f7206ead1525f6b4c5df98ab51bf0dc3404.zip
linhes_pkgbuild-41970f7206ead1525f6b4c5df98ab51bf0dc3404.tar.gz
linhes_pkgbuild-41970f7206ead1525f6b4c5df98ab51bf0dc3404.tar.bz2
libwebp: initial inclusion. dep of python-pillow
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/libwebp/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/abs/extra/libwebp/PKGBUILD b/abs/extra/libwebp/PKGBUILD
new file mode 100644
index 0000000..46e13f5
--- /dev/null
+++ b/abs/extra/libwebp/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Jon Nordby <jononor@gmail.com>
+
+pkgname=libwebp
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="WebP library and conversion tools"
+arch=(x86_64 i686)
+url="https://developers.google.com/speed/webp/"
+license=(BSD)
+depends=(libpng libjpeg libtiff giflib)
+makedepends=(freeglut mesa glu)
+optdepends=('freeglut: vwebp viewer')
+source=("http://downloads.webmproject.org/releases/webp/$pkgname-$pkgver.tar.gz")
+sha256sums=('00b646e6f66550a8faa998711fe70aabee9ed3bc562a8437c89042901674d027')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr \
+ --enable-swap-16bit-csp \
+ --enable-experimental \
+ --enable-libwebpmux \
+ --enable-libwebpdemux \
+ --enable-libwebpdecoder \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et: