diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-21 08:07:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-21 08:14:24 +0000 |
commit | e82e2be32271734e196b2dbd146a8dd02b54f7f1 (patch) | |
tree | 411b41c6b0e353a2ff82f8e87be7c23c84a32884 /main/libwebp | |
parent | f5d1ef82426014c122b8c4814c0f5c7b90207b71 (diff) | |
download | aports-e82e2be32271734e196b2dbd146a8dd02b54f7f1.tar.bz2 aports-e82e2be32271734e196b2dbd146a8dd02b54f7f1.tar.xz |
main/libwebp: upgrade to 0.4.1 and enable tools
Diffstat (limited to 'main/libwebp')
-rw-r--r-- | main/libwebp/APKBUILD | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/main/libwebp/APKBUILD b/main/libwebp/APKBUILD index 52863a0078..89cb187476 100644 --- a/main/libwebp/APKBUILD +++ b/main/libwebp/APKBUILD @@ -1,18 +1,19 @@ # Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libwebp -pkgver=0.4.0 -pkgrel=1 +pkgver=0.4.1 +pkgrel=0 pkgdesc="Libraries for working with WebP images" -url="http://code.google.com/speed/webp/index.html" +url="https://developers.google.com/speed/webp/" arch="all" license="BSD" depends= depends_dev= -makedepends="libpng-dev libjpeg-turbo-dev tiff-dev automake autoconf libtool" +makedepends="libpng-dev libjpeg-turbo-dev tiff-dev giflib-dev + automake autoconf libtool" install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://webp.googlecode.com/files/libwebp-$pkgver.tar.gz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" @@ -23,6 +24,10 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ + --disable-static \ + --enable-libwebpmux \ + --enable-libwebpdemux \ + --enable-libwebpdecoder \ || return 1 make || return 1 } @@ -35,6 +40,12 @@ package() { install -Dm644 PATENTS README "$pkgdir"/usr/share/doc/$pkgname } -md5sums="c8dd1d26eb9566833aba269b86d97e68 libwebp-0.4.0.tar.gz" -sha256sums="31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69 libwebp-0.4.0.tar.gz" -sha512sums="b0229bcbdf04f667cb0957738a199e08a1340d936c88ef69ad6436da7280a337a94579f4f315b478b74a72a49c126be4222c36c5e2184d429750b9ddc76ff2d6 libwebp-0.4.0.tar.gz" +tools() { + pkgdesc="The WebP command line tools" + mkdir -p "$subpkgdir"/usr/ + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +md5sums="42bc79613ec5ee5b0e68ba97839c981e libwebp-0.4.1.tar.gz" +sha256sums="00b646e6f66550a8faa998711fe70aabee9ed3bc562a8437c89042901674d027 libwebp-0.4.1.tar.gz" +sha512sums="0b2e61aa431292f2f7616f4e2f3bfe20d0b596a875b6d6e4e11ba4c7ce2709815bd936d5402ffc3c927732cb2b28c8d46c2411b25c82442b5adfa631c8548676 libwebp-0.4.1.tar.gz" |