mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
gui-libs/webp-pixbuf-loader: New package.
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
1
gui-libs/webp-pixbuf-loader/Manifest
Normal file
1
gui-libs/webp-pixbuf-loader/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST webp-pixbuf-loader-0.0.1.tar.gz 8212 BLAKE2B 20b2f32ca0885069e185c415e10119f6f65b73131b4928e6db95fa9f92f9ec53bd3fd5fbc4708370dfaee68df4c8052d2df76c6e0c0a6267240f7804db8e33f8 SHA512 f3fa859221fdc5277c951e09448dea6078ca4825de06b319e33e86b59db1201616ca4a706d5114e431719584d5a0766a7706c4192dbc384441efb1799d9e40ec
|
||||
@@ -0,0 +1,20 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 2ae10ca..53761cd 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -7,7 +7,6 @@ webp = dependency('libwebp', version: '>0.4.3')
|
||||
# -34/-64 is to overcome a Fedora bug in the .pc file
|
||||
# debian has a similar problem with its .pc file but it requires knowing the platform triad
|
||||
|
||||
-gdk_pb_query_loaders = find_program(get_option('gdk_pixbuf_query_loaders_path'), gdk_pb_query_loaders, gdk_pb_query_loaders+'-32', gdk_pb_query_loaders+'-64')
|
||||
|
||||
|
||||
pbl_webp = shared_library('pixbufloader-webp', 'io-webp.c',
|
||||
@@ -15,7 +14,6 @@ pbl_webp = shared_library('pixbufloader-webp', 'io-webp.c',
|
||||
install: true,
|
||||
install_dir: gdk_pb_moddir)
|
||||
|
||||
-meson.add_install_script(gdk_pb_query_loaders.path(), '--update-cache')
|
||||
|
||||
subdir('tests')
|
||||
|
||||
16
gui-libs/webp-pixbuf-loader/metadata.xml
Normal file
16
gui-libs/webp-pixbuf-loader/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>david@ixit.cz</email>
|
||||
<name>David Heidelberg</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
webp-pixbuf-loader integrates libwebp library into GDK image
|
||||
processing framework, so GDK based application can use WEBP
|
||||
format natively.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">aruiz/webp-pixbuf-loader</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
50
gui-libs/webp-pixbuf-loader/webp-pixbuf-loader-0.0.1.ebuild
Normal file
50
gui-libs/webp-pixbuf-loader/webp-pixbuf-loader-0.0.1.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit gnome2-utils meson multilib-minimal
|
||||
|
||||
DESCRIPTION="WebP Image format GdkPixbuf loader"
|
||||
HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader"
|
||||
SRC_URI="https://github.com/aruiz/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}_gentoo.patch" )
|
||||
|
||||
DEPEND="
|
||||
>=media-libs/libwebp-0.4.3[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/gdk-pixbuf-2.22[${MULTILIB_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
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() {
|
||||
gnome2_gdk_pixbuf_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_gdk_pixbuf_update
|
||||
}
|
||||
Reference in New Issue
Block a user