summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-10-08 15:08:06 +0200
committerPacho Ramos <pacho@gentoo.org>2023-10-08 15:08:06 +0200
commitfabb919fcfefb47b6c1a555fdae159e42f31919b (patch)
treef989d957e46536cf14d5a49304ccb66d16464ecc /gui-libs
parentx11-terms/gnome-terminal: Do not enable by default nautilus and gnome-shell (diff)
downloadgentoo-fabb919fcfefb47b6c1a555fdae159e42f31919b.tar.gz
gentoo-fabb919fcfefb47b6c1a555fdae159e42f31919b.tar.bz2
gentoo-fabb919fcfefb47b6c1a555fdae159e42f31919b.zip
gui-libs/gdk-pixbuf-loader-webp: add 0.2.4
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gui-libs')
-rw-r--r--gui-libs/gdk-pixbuf-loader-webp/Manifest1
-rw-r--r--gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.2.4.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/gui-libs/gdk-pixbuf-loader-webp/Manifest b/gui-libs/gdk-pixbuf-loader-webp/Manifest
index 6688d47ea022..e17713505df9 100644
--- a/gui-libs/gdk-pixbuf-loader-webp/Manifest
+++ b/gui-libs/gdk-pixbuf-loader-webp/Manifest
@@ -1 +1,2 @@
DIST gdk-pixbuf-loader-webp-0.0.7.tar.gz 21718 BLAKE2B 3087bf7a83830eaac0c2d5b4462f076b0421f124246d818073511dbafcf313548fb81c1383a50c088b68ea3b224a9633e98ee4f719e4d6443daedc7bc65982b8 SHA512 08da9e6d3fd546aa79715dee7cfd153a1bbb70deca6a0cf52e9ffacf6e29882b3ae041c424a024bcc7b6689e9cf12ba0588a58d0542a71f069ef5367e0f38528
+DIST gdk-pixbuf-loader-webp-0.2.4.tar.gz 9136758 BLAKE2B 8fb0c1f2a5169e20b143e61911378b99694ba95293624d664c0eaed73d91aed6d474ae837dc64b985dbdd632e9e5e6740eef8c5cfe338a5608424a682026ddf0 SHA512 a367987a7c7ca4df594233a7b6fb281a1484026cdf8cb653d8513103e5d59e69d6ffaef1da8c6875be6d978b8a29251e5d89b6e2959e67057aae0f6cd7464b5e
diff --git a/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.2.4.ebuild b/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.2.4.ebuild
new file mode 100644
index 000000000000..614348bcbfde
--- /dev/null
+++ b/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.2.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson-multilib
+
+DESCRIPTION="WebP GDK Pixbuf Loader library"
+HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader"
+SRC_URI="https://github.com/aruiz/webp-pixbuf-loader/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/webp-pixbuf-loader-${PV}"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+RDEPEND="
+ >x11-libs/gdk-pixbuf-2.22.0:2[${MULTILIB_USEDEP}]
+ >media-libs/libwebp-0.4.3:=[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local emesonargs=(
+ -Dupdate_cache=false
+ )
+ multilib_foreach_abi meson_src_configure
+}
+
+pkg_preinst() {
+ gnome2_gdk_pixbuf_savelist
+}
+
+pkg_postinst() {
+ # causes segfault if set, see bug 375615
+ unset __GL_NO_DSO_FINALIZER
+ multilib_foreach_abi gnome2_gdk_pixbuf_update
+}
+
+pkg_postrm() {
+ # causes segfault if set, see bug 375615
+ unset __GL_NO_DSO_FINALIZER
+ multilib_foreach_abi gnome2_gdk_pixbuf_update
+}