1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 16:02:39 +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

@@ -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
}