summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-03-13 19:08:18 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-03-13 19:08:18 +0000
commit818d823a8faf05ce1eacbb6220d1fb84d8eb9e43 (patch)
tree4cd2b7a9d344b1853faf0f4607e91ec90c677561 /media-libs/libwebp
parentStable for HPPA (bug #461656). (diff)
downloadgentoo-2-818d823a8faf05ce1eacbb6220d1fb84d8eb9e43.tar.gz
gentoo-2-818d823a8faf05ce1eacbb6220d1fb84d8eb9e43.tar.bz2
gentoo-2-818d823a8faf05ce1eacbb6220d1fb84d8eb9e43.zip
Convert to use multilib-minimal.eclass as this library is commonly used in 32bit browsers.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-libs/libwebp')
-rw-r--r--media-libs/libwebp/ChangeLog8
-rw-r--r--media-libs/libwebp/libwebp-0.2.1-r1.ebuild38
2 files changed, 45 insertions, 1 deletions
diff --git a/media-libs/libwebp/ChangeLog b/media-libs/libwebp/ChangeLog
index a72ad6bc34a1..4448b22be18e 100644
--- a/media-libs/libwebp/ChangeLog
+++ b/media-libs/libwebp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libwebp
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libwebp/ChangeLog,v 1.47 2013/03/03 08:18:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwebp/ChangeLog,v 1.48 2013/03/13 19:08:18 ssuominen Exp $
+
+*libwebp-0.2.1-r1 (13 Mar 2013)
+
+ 13 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> +libwebp-0.2.1-r1.ebuild:
+ Convert to use multilib-minimal.eclass as this library is commonly used in
+ 32bit browsers.
03 Mar 2013; Mike Frysinger <vapier@gentoo.org> libwebp-0.2.1.ebuild:
Add s390 love.
diff --git a/media-libs/libwebp/libwebp-0.2.1-r1.ebuild b/media-libs/libwebp/libwebp-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..0249760af267
--- /dev/null
+++ b/media-libs/libwebp/libwebp-0.2.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwebp/libwebp-0.2.1-r1.ebuild,v 1.1 2013/03/13 19:08:18 ssuominen Exp $
+
+EAPI=5
+inherit eutils multilib-minimal
+
+DESCRIPTION="A lossy image compression format"
+HOMEPAGE="http://code.google.com/p/webp/"
+SRC_URI="http://webp.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+IUSE="experimental static-libs"
+
+RDEPEND="media-libs/libpng:0=
+ media-libs/tiff:0=
+ virtual/jpeg"
+DEPEND="${RDEPEND}"
+
+ECONF_SOURCE=${S}
+
+multilib_src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable experimental) \
+ --enable-experimental-libwebpmux
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ prune_libtool_files
+ dodoc AUTHORS ChangeLog doc/*.txt NEWS README{,.mux}
+}