gnome-base/gnome-flashback: add 3.58.0

Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus 2025-10-14 08:05:55 +02:00
parent 7bf087d787
commit 1f010a0f62
No known key found for this signature in database
GPG Key ID: 2239A7E8F5852052
2 changed files with 102 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST gnome-flashback-3.54.0.tar.xz 919304 BLAKE2B 27277a2af2787c11852120169ccfae2d9e5374bbdd944fe9a3ab98ea4a71a94ee02b8510eeb6a50b4f6cd5d3dd7c194540456c66172191b22311db999a8481d0 SHA512 1d472d5104ff2426fa3cd6341c9684bb9e080e9d5a033212aca00d8eab8c6561142dc47db5489187c87de41c703ab884804f6c43df4ead82a05386918a84ce54
DIST gnome-flashback-3.56.0.tar.xz 912964 BLAKE2B 89aff3853a33ad1c96b95a3c406fda95c0bc4f03b1019c854ea499fcb3467d96b478644901f4fb466554041bf7f4ea091cb3dc668c82c8f4e9b3e621f948e4c2 SHA512 6457563287cf775a58df965d1ff33ef13087f50e81cce5b379a1ac4b3aa1cf1903f2fa87b5e669a8f8e6393d3fd3dcd9f31ac9d2fbcb658ee2c78ab96c01fe16
DIST gnome-flashback-3.58.0.tar.xz 911468 BLAKE2B 83396616db00721b00513b1b219584100c256e1252ac5fbeff3351af65d15ba5dad4795f3be9cb77e3e72c0740d39d9a066273a80489f43f98fd1e226b1fd0eb SHA512 4e1941d5befea572855b2df34d49080a8d9cfc8b20f4ab18f8da06a5db6eed06f1aae20e204451040b61e08649e06bb37bfa9b2a0f3df01e81245f82b40811f9

View File

@ -0,0 +1,101 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2 toolchain-funcs
DESCRIPTION="GNOME Flashback session"
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-flashback/"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
IUSE="elogind systemd"
REQUIRED_USE="^^ ( elogind systemd )"
RDEPEND="
>=x11-libs/gdk-pixbuf-2.32.2:2
>=x11-libs/gtk+-3.22.0:3[X]
>=gnome-base/gnome-desktop-43:3=
>=gnome-base/gnome-panel-3.35.2
|| (
media-libs/libcanberra-gtk3
>=media-libs/libcanberra-0.13[gtk3(-)]
)
>=dev-libs/glib-2.67.3:2
>=gnome-base/gsettings-desktop-schemas-3.31.0
>=sys-auth/polkit-0.97
>=app-i18n/ibus-1.5.2
>=sys-power/upower-0.99.0:=
>=x11-libs/libXrandr-1.5.0
>=x11-libs/libXxf86vm-1.1.4
x11-libs/libxcb:=
x11-libs/libX11
gnome-base/gdm
elogind? ( >=sys-auth/elogind-230 )
systemd? ( >=sys-apps/systemd-230:= )
net-wireless/gnome-bluetooth:3=
x11-libs/libXext
>=x11-libs/libXi-1.6.0
x11-libs/pango
x11-libs/libxkbfile
x11-misc/xkeyboard-config
x11-libs/libXfixes
media-libs/libpulse[glib]
media-libs/alsa-lib
sys-libs/pam
"
DEPEND="${RDEPEND}
x11-base/xorg-proto
"
BDEPEND="
dev-util/gdbus-codegen
dev-util/glib-utils
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
RDEPEND="${RDEPEND}
x11-wm/metacity
gnome-base/gnome-panel
gnome-base/gnome-settings-daemon
gnome-extra/tecla
"
src_configure() {
local myconf=(
--disable-static
--without-compiz-session
)
# Below elogind DESKTOP_* and SCREENSAVER_* pkg-config calls need to match up with
# what upstream has each version (libsystemd replaced with libelogind). Explicit
# per-version die to force a manual recheck. Only update the explicit version if the
# "PKG_CHECK_MODULES([DESKTOP/SCREENSAVER], ...)" blocks did not change; otherwise adjust
# elogind conditional block below accordingly first.
if ver_test ${PV} -ne 3.58.0; then
die "Maintainer has not checked over packages MENU pkg-config deps for elogind support"
fi
if use elogind; then
local pkgconfig="$(tc-getPKG_CONFIG)"
local desktop_modules="glib-2.0 gio-2.0 gio-unix-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind x11"
local screensaver_modules="gdm gio-unix-2.0 glib-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind xxf86vm"
myconf+=(
DESKTOP_CFLAGS="$(${pkgconfig} --cflags ${desktop_modules})"
DESKTOP_LIBS="$(${pkgconfig} --libs ${desktop_modules})"
SCREENSAVER_CFLAGS="$(${pkgconfig} --cflags ${screensaver_modules})"
SCREENSAVER_LIBS="$(${pkgconfig} --libs ${screensaver_modules})"
)
fi
gnome2_src_configure "${myconf[@]}"
}
src_install() {
gnome2_src_install
insinto /usr/share/xdg-desktop-portal
doins "${FILESDIR}/${PN}-portals.conf"
}