]> git.draconx.ca Git - gentoo-draconx.git/commitdiff
x11-libs/gdk-pixbuf-loader-webp: Bump to 0.0.2.
authorNick Bowler <nbowler@draconx.ca>
Sat, 2 Jan 2021 03:25:25 +0000 (22:25 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 2 Jan 2021 03:25:25 +0000 (22:25 -0500)
x11-libs/gdk-pixbuf-loader-webp/Manifest
x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.1.ebuild
x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.2.ebuild [new file with mode: 0644]

index 010d60946f8da135dfb75843a7db44c63fbbacb6..5754b3feea64141497b1ca88f698d960f39199ce 100644 (file)
@@ -1,2 +1,4 @@
 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
+DIST webp-pixbuf-loader-0.0.2.tar.gz 8556 BLAKE2B ef7b316465a374b13bb6304721437e0469b4efa02bc5df92cac8c25681b92aa8211f189e2151acb771aea6885008b0e5721467d7b0219c93894ecbbe10142dfe SHA512 6a838173f535687e0701b761cc4118f0648f3696177b473bdc9a9a36f9137cef35752239f190569f6168ec6180c5e023953271a0db226ed269a8b8a85d400907
+EBUILD gdk-pixbuf-loader-webp-0.0.1.ebuild 1141 BLAKE2B 71e460699affdc52c6b36ccb2579556bbc615586e142bcf67a2a22d1b93000ca7c8d5c66797acac5ec515321f90deef559740187c045f339c5e44828fae0cf61 SHA512 6f25615a382bc99c06ee1ce044441f4a60bfe36923bc543a3b90a370ae6d2f81a16ed144c90cf09d0d007e7dad74ed759dab3eff6c93a7907ba295ad56f6a017
+EBUILD gdk-pixbuf-loader-webp-0.0.2.ebuild 1245 BLAKE2B 0da80337375d83fd7165ea38217ad17278749918a39856740512d9fa1d02e66018733db6d51aa95b7a7ca020aeec417311e26308b1031fee4dba4a880fc69019 SHA512 1bd4e6c71fae646b2e1f6206e36758b44379890c4fd8ccd6ce309bb476fcab5b5a32044ce9455c90f6c8b1f1a9896ceb980a4570e5a61404c55800927f0a02ee
index 0df1c6ded4f419751eda9f4d181264be990a96d2..22c245ded1f053acb6358f4c685a156edccac3aa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2020 Nick Bowler
+# Copyright © 2020-2021 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.
@@ -12,7 +12,7 @@ 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"
+SRC_URI="https://github.com/aruiz/webp-pixbuf-loader/archive/$PV.tar.gz -> $MY_P.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
diff --git a/x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.2.ebuild b/x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-0.0.2.ebuild
new file mode 100644 (file)
index 0000000..15df74e
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright © 2020-2021 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/$PV.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
+
+       if multilib_is_native_abi; then
+               insinto /usr/share/thumbnailers
+               doins webp-pixbuf.thumbnailer
+       fi
+}
+
+pkg_preinst () {
+       gnome2_gdk_pixbuf_savelist
+}
+
+pkg_postrm () {
+       gnome2_gdk_pixbuf_update
+}
+
+pkg_postinst () {
+       gnome2_gdk_pixbuf_update
+}