x11-libs/gdk-pixbuf-loader-webp: new package.
authorAndy Kittner <andy.kittner@gmail.com>
Fri, 12 Aug 2016 20:45:12 +0000 (22:45 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 27 Aug 2016 14:05:45 +0000 (16:05 +0200)
A format plugin for gdk-pixbuf that allows GTK applications
(e.g media-gfx/geeqie) to read webp images.

Gentoo-Bug: https://bugs.gentoo.org/575030

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2076

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-20160328234507.ebuild [new file with mode: 0644]
x11-libs/gdk-pixbuf-loader-webp/metadata.xml [new file with mode: 0644]

diff --git a/x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-20160328234507.ebuild b/x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-20160328234507.ebuild
new file mode 100644 (file)
index 0000000..4203867
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGIT_REPO_URI="https://github.com/aruiz/webp-pixbuf-loader"
+EGIT_COMMIT=9b92950d49d7939f90ba7413deb7ec6b392b2054
+
+inherit git-r3 cmake-multilib gnome2-utils
+
+DESCRIPTION="WebP Image format GdkPixbuf loader"
+HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND=">=media-libs/libwebp-0.4.3
+       >=x11-libs/gdk-pixbuf-2.22"
+RDEPEND="${DEPEND}"
+
+multilib_src_configure() {
+       local mycmakeargs=( -DINSTALL_LIB_DIR:PATH=$(get_libdir) )
+       cmake-utils_src_configure
+}
+
+pkg_preinst() {
+       gnome2_gdk_pixbuf_savelist
+}
+
+pkg_postinst() {
+       gnome2_gdk_pixbuf_update
+}
+
+pkg_postinst() {
+       gnome2_gdk_pixbuf_update
+}
diff --git a/x11-libs/gdk-pixbuf-loader-webp/metadata.xml b/x11-libs/gdk-pixbuf-loader-webp/metadata.xml
new file mode 100644 (file)
index 0000000..0b3d117
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>andy.kittner@gmail.com</email>
+               <name>Andy Kittner</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>graphics@gentoo.org</email>
+               <name>Gentoo Graphics Project</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription lang="en">
+               A gdk-pixbuf plugin that allows GTK applications to view webp images.
+       </longdescription>
+</pkgmetadata>