summaryrefslogtreecommitdiffstats
path: root/abs/extra/libwebp
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-08-16 23:09:42 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-08-16 23:09:42 (GMT)
commitc2c0f999ae7f3a092f6f9ffbd88e79e97f1f4d53 (patch)
tree65d22509bfb9ceb1f9643d24fa50f9f966bcf09a /abs/extra/libwebp
parente66b31e5f7185c89abbdd88f3cca682b43eccd3e (diff)
downloadlinhes_pkgbuild-c2c0f999ae7f3a092f6f9ffbd88e79e97f1f4d53.zip
linhes_pkgbuild-c2c0f999ae7f3a092f6f9ffbd88e79e97f1f4d53.tar.gz
linhes_pkgbuild-c2c0f999ae7f3a092f6f9ffbd88e79e97f1f4d53.tar.bz2
libwebp: inital inclusion. dep of chromium 28
Diffstat (limited to 'abs/extra/libwebp')
-rw-r--r--abs/extra/libwebp/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra/libwebp/PKGBUILD b/abs/extra/libwebp/PKGBUILD
new file mode 100644
index 0000000..f7100ff
--- /dev/null
+++ b/abs/extra/libwebp/PKGBUILD
@@ -0,0 +1,40 @@
+# $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.3.1
+pkgrel=3
+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')
+options=('!libtool')
+source=("http://webp.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+sha256sums=('b37932c625322a69fe4e9b88884b5c7aed2b3eaf9fd5e5b480aee339a92e6ee7')
+
+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: