1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 09:32:37 +01:00

media-gfx/loupe: add 47.4

This commit is contained in:
2025-04-21 11:22:02 +02:00
parent 06355fec1f
commit e8521c0776
2 changed files with 52 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST loupe-46.2.tar.xz 27350652 BLAKE2B ce8b3db804517c5ea0051c1f17cea6957a0e1ec201d9a3312b31e216c6ba0cdc094053384fb2c8b809e59c860a34e8579cf51f3354b43427971f5b4099f211c7 SHA512 b857fcb22ba610b754cc8386a8604ef9edfb35495c1e3c2b4063c290ba61d9f3d1d8ee5535ea706b76830bd3b8ceb6e9cf58babb890e0cfab486d332b8eb4457
DIST loupe-47.4.tar.xz 24307540 BLAKE2B 199fa7314a8a72aec02cc346ed345f9c4a2f9079857dc32b322ac30fa041985424d5f0176752fd017f9cf1d6df41dccd9e9361673df6556bfc1845b71a240994 SHA512 c6b36942ca73fd90a7ce37ed902dd8cfc2826426b47d4bf624500d9a79bfe6160fc7d39b00cb21687c55d59117a64976ea4dc45b25e15e43d107d1ce83b9a169

View File

@@ -0,0 +1,51 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cargo gnome.org gnome2-utils meson xdg
DESCRIPTION="An image viewer application written with GTK 4, Libadwaita and Rust"
HOMEPAGE="https://apps.gnome.org/Loupe/"
LICENSE="GPL-3+"
# Dependent crate licenses
LICENSE+="
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT
Unicode-DFS-2016
|| ( LGPL-2.1+ MPL-2.0 )
"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
>=gui-libs/gtk-4.15.3:4
>=gui-libs/libadwaita-1.6.0
>=dev-libs/libgweather-4.2.0
>=media-libs/lcms-2.12.0:2
>=sys-libs/libseccomp-2.5.0
"
RDEPEND="
${DEPEND}
>=media-libs/glycin-loaders-1.1.2
"
BDEPEND="${DEPEND}"
ECARGO_VENDOR="${S}/vendor"
src_configure() {
meson_src_configure
ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die
}
pkg_postinst() {
gnome2_schemas_update
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_desktop_database_update
xdg_icon_cache_update
}