summaryrefslogtreecommitdiff
path: root/extra/libwebp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libwebp/PKGBUILD')
-rw-r--r--extra/libwebp/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/extra/libwebp/PKGBUILD b/extra/libwebp/PKGBUILD
index 64efd9b1d..0a17f3716 100644
--- a/extra/libwebp/PKGBUILD
+++ b/extra/libwebp/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 205027 2014-02-03 10:02:57Z heftig $
+# $Id: PKGBUILD 215167 2014-06-14 19:17:19Z andyrtr $
# 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.0
-pkgrel=1
+pkgrel=2
pkgdesc="WebP library and conversion tools"
arch=(x86_64 i686)
url="https://developers.google.com/speed/webp/"
@@ -13,8 +13,15 @@ license=(BSD)
depends=(libpng libjpeg libtiff giflib)
makedepends=(freeglut mesa glu)
optdepends=('freeglut: vwebp viewer')
-source=("http://webp.googlecode.com/files/$pkgname-$pkgver.tar.gz")
-sha256sums=('31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69')
+source=("http://webp.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+ "libwebp-0.4.0-giflib-5.1.0.patch")
+sha256sums=('31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69'
+ '466fb04887b7fba1be95bb409bd01c23c2855dc2b9471cf5cd6de1822e55ed86')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 -i "$srcdir"/libwebp-0.4.0-giflib-5.1.0.patch
+}
build() {
cd "$srcdir/$pkgname-$pkgver"