summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2022-07-20 16:22:46 +0200
committerPacho Ramos <pacho@gentoo.org>2022-07-20 16:22:46 +0200
commitbe004c35a2c8010859d04584068b82c84443b2ef (patch)
treee017ea40dc24e3c817a51203e7e7152f54c0cc0f /gui-libs/gdk-pixbuf-loader-webp
parentgnome-extra/gnome-shell-extension-alphabetical-grid: stabilize 24.0 for ALLAR... (diff)
downloadgentoo-be004c35a2c8010859d04584068b82c84443b2ef.tar.gz
gentoo-be004c35a2c8010859d04584068b82c84443b2ef.tar.bz2
gentoo-be004c35a2c8010859d04584068b82c84443b2ef.zip
gui-libs/gdk-pixbuf-loader-webp: add 0.0.6
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gui-libs/gdk-pixbuf-loader-webp')
-rw-r--r--gui-libs/gdk-pixbuf-loader-webp/Manifest1
-rw-r--r--gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.6.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/gui-libs/gdk-pixbuf-loader-webp/Manifest b/gui-libs/gdk-pixbuf-loader-webp/Manifest
index aeaba8cceab9..6f8bdb62f6bf 100644
--- a/gui-libs/gdk-pixbuf-loader-webp/Manifest
+++ b/gui-libs/gdk-pixbuf-loader-webp/Manifest
@@ -1,2 +1,3 @@
DIST gdk-pixbuf-loader-webp-0.0.4.tar.gz 23252 BLAKE2B d57aec7af7a5077caab054399a7b69b828680d16adc043ad420ea24648ae07c4879063479e5317cc35929f0b1f31fabc97a2ec32cda9d80f5ad64f07ad99c987 SHA512 2d67a0d56f248ae48b3f3500859cccf8fd358d0377c3a65e17018f849d77d28ac9ecc471709a84502baf26284e4dd5d9ef3045270de60de6be8e276eb4e54780
DIST gdk-pixbuf-loader-webp-0.0.5.tar.gz 23485 BLAKE2B 2f99ab14c25cc1caee9532c32d565203748bc8c8881d8d5efb5763705efc43c7f98f9f109d98c996f140038fffe07a7567e20bc2b79ab68990233df812649f58 SHA512 62fa485c1cdd50112eb88e53b78408f79bb8196549398d47982d0b467ed7efa8c0cf3263822faf42505a4e641330473e90f25f3d528393b378e1ac673642350b
+DIST gdk-pixbuf-loader-webp-0.0.6.tar.gz 23691 BLAKE2B 0d9ca0898bfd7f1df79883825f0e4f37c3fca578b8424f80a7024c4906567492d1c1dbf5165bd8864ac56a3d6babeb6c8cadd9557e158f355549f70b76c44666 SHA512 983adca9d7b8542e7f657cbd6194275775aa330e8f7de1575cd68f666a2f17db6065434b5e595daba986986d4b276a349937d7dc2f662d82a27ae1d9f6fbb70d
diff --git a/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.6.ebuild b/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.6.ebuild
new file mode 100644
index 000000000000..665ab72f88ad
--- /dev/null
+++ b/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 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="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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_prepare() {
+ default
+ # Drop handling of pixbuf cache update by upstream
+ sed -e '/query_loaders/d' -i meson.build || die
+}
+
+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
+}