From d38952038baa7cd82c90c004b5af663aeb67f59b Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Mon, 6 Sep 2021 15:05:42 +0200 Subject: gui-libs/gdk-pixbuf-loader-webp: Bump to 0.0.3 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Pacho Ramos --- gui-libs/gdk-pixbuf-loader-webp/Manifest | 1 + .../gdk-pixbuf-loader-webp-0.0.3.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.3.ebuild diff --git a/gui-libs/gdk-pixbuf-loader-webp/Manifest b/gui-libs/gdk-pixbuf-loader-webp/Manifest index 492a1898328d..cd5185f91907 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.2.tar.gz 8556 BLAKE2B ef7b316465a374b13bb6304721437e0469b4efa02bc5df92cac8c25681b92aa8211f189e2151acb771aea6885008b0e5721467d7b0219c93894ecbbe10142dfe SHA512 6a838173f535687e0701b761cc4118f0648f3696177b473bdc9a9a36f9137cef35752239f190569f6168ec6180c5e023953271a0db226ed269a8b8a85d400907 +DIST gdk-pixbuf-loader-webp-0.0.3.tar.gz 8605 BLAKE2B bd10b383320b3bc31d3184f29f7d7e308fd400a5691a698d1a9780626ed6c301d5399dbbfebc16dbc2a7b754dd8a3aa60301fd40b48aae690d9cc6287a5dff5d SHA512 38f5ee077add39860e75320417769dc55f044a1adcb9ef9a26f6d9642d5b22bda0e1fbbcb029502d7af1f4da3c235da130de0109370440ee43439982f55c8790 diff --git a/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.3.ebuild b/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.3.ebuild new file mode 100644 index 000000000000..83009d574f84 --- /dev/null +++ b/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~ppc ~ppc64" +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 +} -- cgit v1.2.3-65-gdbad