Skip to content

Commit

Permalink
gui-libs/gdk-pixbuf-loader-webp: bump to 0.0.2
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/703864
Closes: https://bugs.gentoo.org/693062
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <[email protected]>
  • Loading branch information
leio committed Mar 6, 2021
1 parent 96f7f5b commit 5377675
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
1 change: 1 addition & 0 deletions gui-libs/gdk-pixbuf-loader-webp/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST gdk-pixbuf-loader-webp-0.0.2.tar.gz 8556 BLAKE2B ef7b316465a374b13bb6304721437e0469b4efa02bc5df92cac8c25681b92aa8211f189e2151acb771aea6885008b0e5721467d7b0219c93894ecbbe10142dfe SHA512 6a838173f535687e0701b761cc4118f0648f3696177b473bdc9a9a36f9137cef35752239f190569f6168ec6180c5e023953271a0db226ed269a8b8a85d400907
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit gnome2-utils meson multilib-minimal

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"
IUSE=""

DEPEND=">x11-libs/gdk-pixbuf-2.22.0:2[${MULTILIB_USEDEP}]
>media-libs/libwebp-0.4.3:=[${MULTILIB_USEDEP}]
"
RDEPEND="${DEPEND}"

src_prepare() {
default
# Drop handling of pixbuf cache update by upstream
sed -e '/query_loaders/d' -i meson.build || die
}

multilib_src_configure() {
meson_src_configure
}

multilib_src_compile() {
meson_src_compile
}

multilib_src_test() {
meson_src_test
}

multilib_src_install() {
meson_src_install
}

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
}

0 comments on commit 5377675

Please sign in to comment.