summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-04-09 21:07:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-04-09 21:07:02 +0000
commit68f44473c0d2268d0e39dd3dedaeedbbd47396e9 (patch)
treed1ebce630f5a5e9be7bb744ebd3dc4ae4045d549 /media-libs/libwebp
parentNew package (diff)
downloadgentoo-2-68f44473c0d2268d0e39dd3dedaeedbbd47396e9.tar.gz
gentoo-2-68f44473c0d2268d0e39dd3dedaeedbbd47396e9.tar.bz2
gentoo-2-68f44473c0d2268d0e39dd3dedaeedbbd47396e9.zip
Version bump.
(Portage version: 2.2.0_alpha171/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.3.0.ebuild46
-rw-r--r--media-libs/libwebp/metadata.xml1
3 files changed, 54 insertions, 1 deletions
diff --git a/media-libs/libwebp/ChangeLog b/media-libs/libwebp/ChangeLog
index 4448b22be18e..8bede839b554 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.48 2013/03/13 19:08:18 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwebp/ChangeLog,v 1.49 2013/04/09 21:07:02 ssuominen Exp $
+
+*libwebp-0.3.0 (09 Apr 2013)
+
+ 09 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> +libwebp-0.3.0.ebuild,
+ metadata.xml:
+ Version bump.
*libwebp-0.2.1-r1 (13 Mar 2013)
diff --git a/media-libs/libwebp/libwebp-0.3.0.ebuild b/media-libs/libwebp/libwebp-0.3.0.ebuild
new file mode 100644
index 000000000000..d339746fdc4a
--- /dev/null
+++ b/media-libs/libwebp/libwebp-0.3.0.ebuild
@@ -0,0 +1,46 @@
+# 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.3.0.ebuild,v 1.1 2013/04/09 21:07:02 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 gif +jpeg +png static-libs swap-16bit-csp tiff"
+
+RDEPEND="gif? ( media-libs/giflib )
+ jpeg? ( virtual/jpeg )
+ png? ( media-libs/libpng:0= )
+ tiff? ( media-libs/tiff:0= )"
+DEPEND="${RDEPEND}"
+
+ECONF_SOURCE=${S}
+
+multilib_src_configure() {
+ ac_cv_header_gif_lib_h=$(usex gif) \
+ ac_cv_header_jpeglib_h=$(usex jpeg) \
+ ac_cv_header_png_h=$(usex png) \
+ ac_cv_header_tiffio_h=$(usex tiff) \
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable swap-16bit-csp) \
+ $(use_enable experimental) \
+ --enable-libwebpmux \
+ --enable-libwebpdemux \
+ --enable-libwebpdecoder
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ prune_libtool_files
+ dodoc AUTHORS ChangeLog doc/*.txt NEWS README{,.mux}
+}
diff --git a/media-libs/libwebp/metadata.xml b/media-libs/libwebp/metadata.xml
index 47d44a2ceb63..d7dbe98f74e6 100644
--- a/media-libs/libwebp/metadata.xml
+++ b/media-libs/libwebp/metadata.xml
@@ -4,6 +4,7 @@
<herd>graphics</herd>
<use>
<flag name='experimental'>Build with -DWEBP_EXPERIMENTAL_FEATURES</flag>
+ <flag name='swap-16bit-csp'>Enable byte swapping for 16 bit colorspace</flag>
</use>
<upstream>
<remote-id type="google-code">webp</remote-id>