]> git.draconx.ca Git - gentoo-draconx.git/commitdiff
gdk-pixbuf-loader-webp: New ebuild for released version 0.0.1.
authorNick Bowler <nbowler@draconx.ca>
Sat, 18 Apr 2020 21:57:41 +0000 (17:57 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sat, 18 Apr 2020 21:59:46 +0000 (17:59 -0400)
x11-libs/gdk-pixbuf-loader-webp/Manifest [new file with mode: 0644]
x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.1.ebuild [new file with mode: 0644]

diff --git a/x11-libs/gdk-pixbuf-loader-webp/Manifest b/x11-libs/gdk-pixbuf-loader-webp/Manifest
new file mode 100644 (file)
index 0000000..010d609
--- /dev/null
@@ -0,0 +1,2 @@
+DIST webp-pixbuf-loader-0.0.1.tar.gz 8212 BLAKE2B 20b2f32ca0885069e185c415e10119f6f65b73131b4928e6db95fa9f92f9ec53bd3fd5fbc4708370dfaee68df4c8052d2df76c6e0c0a6267240f7804db8e33f8 SHA512 f3fa859221fdc5277c951e09448dea6078ca4825de06b319e33e86b59db1201616ca4a706d5114e431719584d5a0766a7706c4192dbc384441efb1799d9e40ec
+EBUILD gdk-pixbuf-loader-webp-0.0.1.ebuild 1138 BLAKE2B 6d532cd851efdf43b97429bfa318e66165337398a2ce02d676105b9297f5c3f69546530f1b182fe7aaaa8876a2a153bbc9e3179a83ac47ae9924b84f9b7e8392 SHA512 738472e3dcfcd16f894ce449648f2f180df2256efb17792963afe5be2fa82e45728a6d884ff90338bab4b83e7dc4af2e972dd156e056817d06652029c099fe1d
diff --git a/x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.1.ebuild b/x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.1.ebuild
new file mode 100644 (file)
index 0000000..0df1c6d
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright © 2020 Nick Bowler
+# License GPLv3+: GNU General Public License version 3 or any later version.
+# This is free software: you are free to change and redistribute it.
+# There is NO WARRANTY, to the extent permitted by law.
+
+EAPI=7
+
+inherit meson toolchain-funcs gnome2-utils multilib-minimal
+
+MY_PN=webp-pixbuf-loader
+MY_P=$MY_PN-$PV
+
+DESCRIPTION="WebP loader for GdkPixbuf"
+HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader/"
+SRC_URI="https://github.com/aruiz/webp-pixbuf-loader/archive/0.0.1.tar.gz -> $MY_P.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="media-libs/libwebp:=[$MULTILIB_USEDEP]
+       x11-libs/gdk-pixbuf[$MULTILIB_USEDEP]"
+DEPEND=$RDEPEND
+
+S=$WORKDIR/$MY_P
+
+multilib_src_configure () {
+       meson_src_configure
+}
+
+multilib_src_compile () {
+       meson_src_compile
+}
+
+multilib_src_install () {
+       local pkgconf=`tc-getPKG_CONFIG`
+       local moduledir=`$pkgconf --variable=gdk_pixbuf_moduledir gdk-pixbuf-2.0`
+
+       exeinto "$moduledir"
+       doexe libpixbufloader-webp.so
+}
+
+pkg_preinst () {
+       gnome2_gdk_pixbuf_savelist
+}
+
+pkg_postrm () {
+       gnome2_gdk_pixbuf_update
+}
+
+pkg_postinst () {
+       gnome2_gdk_pixbuf_update
+}