commit:     92e92c07eef49a84c9f5f0dc738a523f5c152e9a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 26 19:02:28 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 26 20:09:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e92c07

media-gfx/ristretto: Bump to 0.13.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-gfx/ristretto/Manifest                |  1 +
 media-gfx/ristretto/ristretto-0.13.4.ebuild | 59 +++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/media-gfx/ristretto/Manifest b/media-gfx/ristretto/Manifest
index 0db41feb784e..b084b2ee6281 100644
--- a/media-gfx/ristretto/Manifest
+++ b/media-gfx/ristretto/Manifest
@@ -1 +1,2 @@
 DIST ristretto-0.13.3.tar.bz2 854176 BLAKE2B 
5c10505c40418cb7ff31e29091dfa23ab168d4fb9ce449003357af1b67db84b3c2e469947637aa9c93b453b9ecc4d7d8eae4285aecfde6ef30e3b5cd365604d3
 SHA512 
92eb0993cbe64a83c80cd78972a64762a03766a055ac66ad16f86c2ee4360a2cc9114723a60d60257f56052ccd579c618df8110a909e45a5cab10ee7c4a3d0f3
+DIST ristretto-0.13.4.tar.xz 277320 BLAKE2B 
bbe83cca8044ba971bfb00162ef73809eb1ed970389e2c8a2b95f7be4fb411b704b70238eeed781f25471a91e5989ba7972871f2bb4d31858979d4e4a76e9672
 SHA512 
07eede11a88b5565bf311fb1d0c5702ef8d655d4970558638cee6a9df27c426fb591d0a693d3e3a0954b40106636d2092e5febfd033201d41e579c8f4b785923

diff --git a/media-gfx/ristretto/ristretto-0.13.4.ebuild 
b/media-gfx/ristretto/ristretto-0.13.4.ebuild
new file mode 100644
index 000000000000..1e56ebe07244
--- /dev/null
+++ b/media-gfx/ristretto/ristretto-0.13.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg-utils
+
+DESCRIPTION="A fast and lightweight picture viewer for Xfce"
+HOMEPAGE="
+       https://docs.xfce.org/apps/ristretto/start
+       https://gitlab.xfce.org/apps/ristretto/
+"
+SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.xz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="X"
+
+# TODO: drop exo when we depend on >=libxfce4ui-4.21.0
+DEPEND="
+       >=dev-libs/glib-2.56.0:2
+       >=media-libs/libexif-0.6.0:0=
+       sys-apps/file
+       >=x11-libs/cairo-1.10.0
+       >=x11-libs/gtk+-3.22.0:3
+       >=xfce-base/exo-4.16.0:=
+       >=xfce-base/libxfce4ui-4.16.0:=
+       >=xfce-base/libxfce4util-4.16.0:=
+       >=xfce-base/xfconf-4.16.0:=
+
+       X? (
+               >=x11-libs/libX11-1.6.7:=
+       )
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature X libx11)
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to