diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-28 22:00:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-28 22:00:05 +0100 |
commit | 9c602d90d61cea9fe83c596c68a99e383ee15f73 (patch) | |
tree | bca80b41af9c142cee7e07f14622dff065e60932 /gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.7.ebuild | |
parent | cf7630078a53ff74b245b148bd722994068e28f9 (diff) |
gentoo auto-resync : 28:10:2022 - 22:00:04
Diffstat (limited to 'gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.7.ebuild')
-rw-r--r-- | gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.7.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.7.ebuild b/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.7.ebuild new file mode 100644 index 000000000000..4341a4977a88 --- /dev/null +++ b/gui-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.7.ebuild @@ -0,0 +1,46 @@ +# 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_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 +} |