From 09206ba0014a6218f2d4f6c4c8bdac92bc35702d Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 21 Dec 2025 14:33:28 +0100 Subject: [PATCH] media-gfx/shotwell: add 0.32.14 Fix libsecret[vala] dependency. Thanks-to: Hund Closes: https://bugs.gentoo.org/965524 Signed-off-by: Pacho Ramos --- media-gfx/shotwell/Manifest | 1 + media-gfx/shotwell/shotwell-0.32.14.ebuild | 92 ++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 media-gfx/shotwell/shotwell-0.32.14.ebuild diff --git a/media-gfx/shotwell/Manifest b/media-gfx/shotwell/Manifest index f89bfe1f9aec..5ec169ec28af 100644 --- a/media-gfx/shotwell/Manifest +++ b/media-gfx/shotwell/Manifest @@ -1,2 +1,3 @@ DIST shotwell-0.32.10.tar.xz 35339616 BLAKE2B b68c755605df75ce5edd82d042690fc09236996e030973331a2fc8ecbf078e6c2ffd48d46bfd0a74783cd7fc7ced035a7ba685c2fdf488394ead850b717a2ff5 SHA512 adb670417a698d53f5fd865b70cd394be2779d9ada4a1bbcc3c1af67cd7e39ca79a303beec447156bd902dc415ceaa14205544505489abc0027464ab01029304 DIST shotwell-0.32.13.tar.xz 35342620 BLAKE2B 64b8bf5f2aa05b0402b81cb7eb9a1ba6c02582e1450457085d3a0e3d0b2d080851238da4850daefebe51dde39046f5229e13642c694215af19d25f271246324c SHA512 1d1ebd54582769b3a0c5d2199efe395ecad52b9fa8c419b215425566444257f01ceb74b1acc26eaca4641f780d6fbd4b4508a834ac1514b887b1a4b8a75bbb3c +DIST shotwell-0.32.14.tar.xz 35343808 BLAKE2B 9d122d668cc0ac0f002782b560a349c83b3a59148ab8394ae9f63b4baa291928569d37a723dec972ba542be989d08743be673e43972770d88c17aa570da4a587 SHA512 4324d8e88a316967d8788d5b2f7360c8cd623cdd7954eabeb425e163a158b46c1d1cfb652099d308abb6f0e36841a080ec464ff1b2975ea0ed8a5f19ab842bd3 diff --git a/media-gfx/shotwell/shotwell-0.32.14.ebuild b/media-gfx/shotwell/shotwell-0.32.14.ebuild new file mode 100644 index 000000000000..c4701f1316bc --- /dev/null +++ b/media-gfx/shotwell/shotwell-0.32.14.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson optfeature vala xdg + +DESCRIPTION="Open source photo manager for GNOME" +HOMEPAGE="https://shotwell-project.org/" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86" +IUSE="opencv udev" + +DEPEND=" + >=x11-libs/gtk+-3.22.0:3 + >=dev-libs/glib-2.40.0:2 + >=dev-libs/libgee-0.8.5:0.8= + >=net-libs/webkit-gtk-2.26:4.1 + net-libs/libsoup:3.0 + >=dev-libs/json-glib-0.7.6 + >=dev-libs/libxml2-2.6.32:2= + x11-libs/gdk-pixbuf:2 + >=dev-db/sqlite-3.5.9:3 + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0 + >=media-libs/libgphoto2-2.5:= + udev? ( >=dev-libs/libgudev-145:= ) + >=media-libs/gexiv2-0.12.3 + >=media-libs/libraw-0.13.2:= + >=media-libs/libexif-0.6.16 + app-crypt/libsecret[vala] + >=dev-libs/libportal-0.5:=[gtk,vala] + media-libs/libwebp:= + + >=app-crypt/gcr-3:0=[gtk] + x11-libs/cairo + opencv? ( >=media-libs/opencv-4.0.0:=[features2d] ) +" +RDEPEND="${DEPEND} + media-plugins/gst-plugins-gdkpixbuf:1.0 + media-plugins/gst-plugins-meta:1.0 +" +BDEPEND=" + $(vala_depend) + dev-libs/appstream-glib + dev-libs/glib + dev-util/gdbus-codegen + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + net-libs/libsoup:3.0[vala] + media-libs/gexiv2[vala] + app-crypt/gcr:0[vala] +" + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Dunity_support=false + # -Dpublishers # In 0.30.2 all get compiled in anyways, even if restricted list, affects only runtime support + #trace + #measure + -Ddupe_detection=true + $(meson_use udev) + -Dinstall_apport_hook=false + $(meson_use opencv face_detection) + -Dfatal_warnings=false + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + + optfeature "Enable support for the AVIF format" media-libs/libavif[gdk-pixbuf] + optfeature "Enable support for the HEIF format" media-libs/libheif[gdk-pixbuf] + optfeature "Enable support for the JPEG format" x11-libs/gdk-pixbuf[jpeg] + optfeature "Enable support for the TIFF format" x11-libs/gdk-pixbuf[tiff] +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}