summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libwebp')
-rw-r--r--media-libs/libwebp/ChangeLog9
-rw-r--r--media-libs/libwebp/libwebp-0.1.ebuild33
-rw-r--r--media-libs/libwebp/metadata.xml5
3 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/libwebp/ChangeLog b/media-libs/libwebp/ChangeLog
new file mode 100644
index 000000000000..9a2bdea1acb6
--- /dev/null
+++ b/media-libs/libwebp/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-libs/libwebp
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwebp/ChangeLog,v 1.1 2011/03/22 15:02:37 ssuominen Exp $
+
+*libwebp-0.1 (22 Mar 2011)
+
+ 22 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> +libwebp-0.1.ebuild:
+ Initial commit.
+
diff --git a/media-libs/libwebp/libwebp-0.1.ebuild b/media-libs/libwebp/libwebp-0.1.ebuild
new file mode 100644
index 000000000000..4ff3245ae735
--- /dev/null
+++ b/media-libs/libwebp/libwebp-0.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwebp/libwebp-0.1.ebuild,v 1.1 2011/03/22 15:02:37 ssuominen Exp $
+
+EAPI=2
+
+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="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND=">=media-libs/libpng-1.4
+ virtual/jpeg"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --disable-dependency-tracking
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README
+
+ find "${D}" -name '*.la' -exec rm -f {} +
+}
diff --git a/media-libs/libwebp/metadata.xml b/media-libs/libwebp/metadata.xml
new file mode 100644
index 000000000000..e770d1bc9a96
--- /dev/null
+++ b/media-libs/libwebp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+</pkgmetadata>