libwebp: update to 0.5.0 (soname bump)

Add -tools subpkg.
This commit is contained in:
Alessio Sergi 2016-03-19 00:10:01 +01:00
parent e281c14cad
commit 9625437867
3 changed files with 17 additions and 9 deletions

View file

@ -810,10 +810,10 @@ libquadmath.so.0 libquadmath-4.4.0_1
libgfortran.so.3 libgfortran-4.4.0_1
libblktapctl.so.1 xen-4.1.2_1
libmozjs185.so.1.0 js-1.8.5_1
libwebp.so.5 libwebp-0.4.0_3
libwebpmux.so.1 libwebp-0.4.0_3
libwebpdemux.so.1 libwebp-0.4.0_3
libwebpdecoder.so.1 libwebp-0.4.0_3
libwebp.so.6 libwebp-0.5.0_1
libwebpmux.so.2 libwebp-0.5.0_1
libwebpdemux.so.2 libwebp-0.5.0_1
libwebpdecoder.so.2 libwebp-0.5.0_1
libva-x11.so.1 libva-1.0.14_1
libva.so.1 libva-1.0.14_1
libva-glx.so.1 libva-glx-1.5.0_1

1
srcpkgs/libwebp-tools Symbolic link
View file

@ -0,0 +1 @@
libwebp

View file

@ -1,18 +1,18 @@
# Template file for 'libwebp'
pkgname=libwebp
version=0.4.4
version=0.5.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-libwebpmux
--enable-libwebpdemux --enable-libwebpdecoder"
hostmakedepends="automake libtool pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel tiff-devel giflib-devel"
makedepends="libjpeg-turbo-devel libpng-devel tiff-devel giflib-devel libfreeglut-devel"
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://developers.google.com/speed/webp/"
license="BSD"
license="3-clause-BSD"
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
checksum=c65d34edb57338e331ba4d622227a2b3179444cfca17d02c34f1ead63f603e86
checksum=5cd3bb7b623aff1f4e70bd611dc8dbabbf7688fd5eb225b32e02e09e37dfb274
pre_configure() {
autoreconf -fi
@ -21,12 +21,19 @@ post_install() {
vlicense COPYING LICENSE
}
libwebp-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}
libwebp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/lib/*.so
}
}