diff options
author | Mart Raudsepp <leio@gentoo.org> | 2024-03-14 00:49:42 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2024-03-14 00:49:42 +0200 |
commit | 868462346ec4e5b99ac119b4b9bb30619d86213a (patch) | |
tree | 6e7f95a2b2108fa4aa1d077d367360877661b7d8 /media-gfx/gthumb | |
parent | dev-db/redis: drop 7.0.14-r1, 7.2.1-r1, 7.2.3-r1 (diff) | |
download | gentoo-868462346ec4e5b99ac119b4b9bb30619d86213a.tar.gz gentoo-868462346ec4e5b99ac119b4b9bb30619d86213a.tar.bz2 gentoo-868462346ec4e5b99ac119b4b9bb30619d86213a.zip |
media-gfx/gthumb: add 3.12.6
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'media-gfx/gthumb')
-rw-r--r-- | media-gfx/gthumb/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/gthumb/gthumb-3.12.6.ebuild | 107 |
2 files changed, 108 insertions, 0 deletions
diff --git a/media-gfx/gthumb/Manifest b/media-gfx/gthumb/Manifest index 850c36f96289..6169f309f8d4 100644 --- a/media-gfx/gthumb/Manifest +++ b/media-gfx/gthumb/Manifest @@ -1,3 +1,4 @@ DIST gthumb-3.12.3.tar.xz 7604504 BLAKE2B 1db5007a8ea659d59d8ac1b3c3c07c494db719788678588e801560796c0453ccf83abbfb2c9976a7977d19e6fbb2d4540cc5c6675629219e8aba3a031acb61be SHA512 d538d7b306dac391283229147eccc2eef8933107676c0645b08371754d5956729d3747a5b7393366e25967924dee73255fde3d96d3d8e2fc8e7d47a91ceafa94 DIST gthumb-3.12.4.tar.xz 7617528 BLAKE2B 2119692d460d12351273b8e7a9e14cf97c486cf283331f3e5d842cdc3c8b42edf4cdaf87d19962c1a162b956682a7aed34dba7e43130d49603d30441c5f8d12c SHA512 0a15f78e65c7dc8e45b6410052a2ebd480247828e48dbb59d80447d97f2d83a3914fa513b1cf5a9f3a0ce620fb49245a919e3ca5b61cf8a144806c724e14a747 DIST gthumb-3.12.5.tar.xz 7618720 BLAKE2B beeac0c62934555dd306ab2319598de7703a10f01498972e7d177286b5f298070274e44977abc665c5e33e996ae884ffb0dfe80641a396425bdf549252c8832d SHA512 acdaef8cddcd68d9dd269bf1c000c50ab8dcb359df18337de243398448407beef1fe6daaeb99e161486a5a5575919779eb7d335c38ea4a4196c2a32d46aa5517 +DIST gthumb-3.12.6.tar.xz 7616560 BLAKE2B b1ccf4c76bc0edc5e8f60027357c8e48327fffa44d7ae3792c48701cc74d0338f2a7e6433bbe0e6e86c1bc522fffb8e9d614552a4ea9cf68562415a9cc9f7878 SHA512 cfbb901779b78b382ca3abefb7aed5a737a323cc3a7b6d94f5b84d524028c9584761e9001d845508f544f4989eb56563c25f2c64bce60ca84d2d9645f6c0d041 diff --git a/media-gfx/gthumb/gthumb-3.12.6.ebuild b/media-gfx/gthumb/gthumb-3.12.6.ebuild new file mode 100644 index 000000000000..ad298e9c5a78 --- /dev/null +++ b/media-gfx/gthumb/gthumb-3.12.6.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) +inherit gnome.org gnome2-utils meson python-any-r1 xdg + +DESCRIPTION="Image viewer and browser for Gnome" +HOMEPAGE="https://wiki.gnome.org/Apps/Gthumb" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cdr colord exif keyring gstreamer heif jpegxl lcms raw slideshow svg tiff webkit webp" + +# libX11 dep is a workaround. See files/3.12.2-link-with-x11.patch +RDEPEND=" + x11-libs/libX11 + + >=dev-libs/glib-2.54.0:2 + >=x11-libs/gtk+-3.16.0:3 + exif? ( >=media-gfx/exiv2-0.21:= ) + slideshow? ( + >=media-libs/clutter-1.12.0:1.0 + >=media-libs/clutter-gtk-1:1.0 + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-plugins/gst-plugins-gtk:1.0 + ) + raw? ( + >=media-libs/libraw-0.14:= + ) + webkit? ( + >=net-libs/libsoup-2.42.0:2.4 + >=dev-libs/json-glib-0.15.0 + >=net-libs/webkit-gtk-1.10.0:4 + ) + keyring? ( >=app-crypt/libsecret-0.11 ) + cdr? ( >=app-cdr/brasero-3.2.0 ) + svg? ( >=gnome-base/librsvg-2.34:2 ) + webp? ( >=media-libs/libwebp-0.2.0:= ) + jpegxl? ( >=media-libs/libjxl-0.3.0:= ) + heif? ( >=media-libs/libheif-1.11:= ) + lcms? ( >=media-libs/lcms-2.6:2 ) + colord? ( + >=x11-misc/colord-1.3 + >=media-libs/lcms-2.6:2 + ) + + sys-libs/zlib + media-libs/libjpeg-turbo:= + tiff? ( media-libs/tiff:= ) + media-libs/libpng:0= + >=gnome-base/gsettings-desktop-schemas-0.1.4 +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + >=dev-libs/appstream-0.14.6 + dev-util/glib-utils + dev-util/itstool + app-alternatives/yacc + app-alternatives/lex + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + -Drun-in-place=false + $(meson_use exif exiv2) + $(meson_use slideshow clutter) + $(meson_use gstreamer) + -Dlibchamplain=false # Upstream still doesn't seem to consider this ready + $(meson_use colord) + $(meson_use tiff libtiff) + $(meson_use webp libwebp) + $(meson_use jpegxl libjxl) + $(meson_use heif libheif) + $(meson_use raw libraw) + $(meson_use svg librsvg) + $(meson_use keyring libsecret) + $(meson_use webkit webservices) + $(meson_use cdr libbrasero) + ) + + # colord pulls in lcms2 anyway, so enable lcms with USE="colord -lcms"; + # some of upstream HAVE_COLORD code depends on HAVE_LCMS2 + if use lcms || use colord; then + emesonargs+=( -Dlcms2=true ) + else + emesonargs+=( -Dlcms2=false ) + fi + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |