summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-12-30 20:31:35 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-12-30 20:31:35 +0100
commit7cb81caf6b7f5e0963ca7299d44f167712c552b1 (patch)
treece013480a16ebf6615ee2a002fae6f919eb8ce23 /media-libs/libwebp
parentmedia-libs/libraw: Removed old. (diff)
downloadgentoo-7cb81caf6b7f5e0963ca7299d44f167712c552b1.tar.gz
gentoo-7cb81caf6b7f5e0963ca7299d44f167712c552b1.tar.bz2
gentoo-7cb81caf6b7f5e0963ca7299d44f167712c552b1.zip
media-libs/libwebp: Bump to version 0.5.2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/libwebp')
-rw-r--r--media-libs/libwebp/Manifest1
-rw-r--r--media-libs/libwebp/libwebp-0.5.2.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/libwebp/Manifest b/media-libs/libwebp/Manifest
index eed4b8da14e2..e578861565e0 100644
--- a/media-libs/libwebp/Manifest
+++ b/media-libs/libwebp/Manifest
@@ -4,3 +4,4 @@ DIST libwebp-0.3.1.tar.gz 844799 SHA256 b37932c625322a69fe4e9b88884b5c7aed2b3eaf
DIST libwebp-0.4.0.tar.gz 887880 SHA256 31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69 SHA512 b0229bcbdf04f667cb0957738a199e08a1340d936c88ef69ad6436da7280a337a94579f4f315b478b74a72a49c126be4222c36c5e2184d429750b9ddc76ff2d6 WHIRLPOOL 8e9edfc589b41d8c076b56cf81d5a21976ad4d1b5aad9b39ed8cadd5fd520bab5fc7b6b3d036c7d7e265218b3eb3adcd1fac4bef180e2c096bac663e55489808
DIST libwebp-0.4.2.tar.gz 977801 SHA256 14d825d7c2ef7d49621bcb6b83466be455585e671ae0a2ebc1f2e07775a1722d SHA512 0213f92cc9a4303b9ae51ffbc72c083880bcd5c1d8b2f92fe514e0a11167925934d01155f89dc9e571dee51293ea26f8b8b486c5b980db20e921d653320a4d13 WHIRLPOOL be219a80a6a427f19c2ad2943a37e51b7e9c6b5509ad910bfe58ced386cb1d12e78e059ac7028987ee2942d5bdfc9d52e0051e13f14de2aea0088f6abb92a6ef
DIST libwebp-0.5.1.tar.gz 1212254 SHA256 6ad66c6fcd60a023de20b6856b03da8c7d347269d76b1fd9c3287e8b5e8813df SHA512 931b2dce29ee664d9a0bbc614ed19992c3ca52dd886d504dcca2df82c8f815e723bd03be7ae35a186ae555b09b0e31a17eb834871ff0728ab15ab24548b630ee WHIRLPOOL 4026ba52ba05fe48f135f566ba2b5566e32ff10bedc3cef6641ad9e6dd13fb72b117e55e8f5e6aab0549d9b2348cd3bcf40a740f86086963590aa080c06bbaa7
+DIST libwebp-0.5.2.tar.gz 1221153 SHA256 b75310c810b3eda222c77f6d6c26b061240e3d9060095de44b2c1bae291ecdef SHA512 f0d798e0ef8b58bc159c53214a62b29dff4309ced9efd7c5f0e6f837877906db8318c4c3453f92725ef6f2b069b931ce3e7961ca26db723a31eedc7b52988de2 WHIRLPOOL 9b1af454257315026b71d7faa7b1af560cced9387298c669cf3773802088f1865f0388c3776c895906ccff35ee20ac8e03a3505b8e13a0e4aea4aaaec970d0db
diff --git a/media-libs/libwebp/libwebp-0.5.2.ebuild b/media-libs/libwebp/libwebp-0.5.2.ebuild
new file mode 100644
index 000000000000..e0158235e9b2
--- /dev/null
+++ b/media-libs/libwebp/libwebp-0.5.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils libtool multilib-minimal
+
+DESCRIPTION="A lossy image compression format"
+HOMEPAGE="https://developers.google.com/speed/webp/download"
+SRC_URI="http://downloads.webmproject.org/releases/webp/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/6" # subslot = libwebp soname version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~m68k-mint"
+IUSE="experimental gif +jpeg opengl +png static-libs swap-16bit-csp tiff"
+
+# TODO: dev-lang/swig bindings in swig/ subdirectory
+RDEPEND="gif? ( media-libs/giflib:= )
+ jpeg? ( virtual/jpeg:0= )
+ opengl? (
+ media-libs/freeglut
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ tiff? ( media-libs/tiff:0= )"
+DEPEND="${RDEPEND}"
+
+ECONF_SOURCE=${S}
+
+src_prepare() {
+ default
+
+ # Fix libtool relinking, bug 499270.
+ #elibtoolize
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local args=(
+ --enable-libwebpmux
+ --enable-libwebpdemux
+ --enable-libwebpdecoder
+ $(use_enable static-libs static)
+ $(use_enable swap-16bit-csp)
+ $(use_enable experimental)
+ $(use_enable jpeg)
+ $(use_enable png)
+ $(use_enable opengl gl)
+ $(use_enable tiff)
+
+ # Only used for gif2webp binary wrt #486646
+ $(multilib_native_use_enable gif)
+ )
+
+ econf "${args[@]}"
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ prune_libtool_files
+ dodoc AUTHORS ChangeLog doc/*.txt NEWS README{,.mux}
+}