diff options
-rw-r--r-- | gnome-base/gnome-flashback/Manifest | 1 | ||||
-rw-r--r-- | gnome-base/gnome-flashback/gnome-flashback-3.46.0.ebuild | 88 | ||||
-rw-r--r-- | profiles/package.mask | 1 |
3 files changed, 90 insertions, 0 deletions
diff --git a/gnome-base/gnome-flashback/Manifest b/gnome-base/gnome-flashback/Manifest index a8147fc25209..87f1141cc529 100644 --- a/gnome-base/gnome-flashback/Manifest +++ b/gnome-base/gnome-flashback/Manifest @@ -1 +1,2 @@ DIST gnome-flashback-3.44.0.tar.xz 884008 BLAKE2B d9815634216537f59aa3fb7c50c4ddfcb295a85c2548bd3f5669a1924cf9a3f46fba05a4d7a1cf265f514d5f0f1611992f8b120e76771140bc4fc35908e5c688 SHA512 7a39baa5e37cd01dc6d3b5fff3ef4c99240106f9e13c68c2ce1db19c3f9a672d4c22602e3ca3c4cff28226c3bd26525500bf002fb598c1af362ce15d7a92b55e +DIST gnome-flashback-3.46.0.tar.xz 892424 BLAKE2B f752687a07d8b5205aebed47e0ece8b77edc32aa9fa934b9e14234119d3bf074b528eb1af8ea5841ca20c2f91511eac40e6a708835542bbdc8ea4e1d364984e8 SHA512 845d9cf3551295bc6dcaeeb141875ddb875e8cf885a2a3b17c4234dd40b37b8ed5279f07414c4cc7590369b394a7270c48d34d767bd0d1ef0189f4b73e73da10 diff --git a/gnome-base/gnome-flashback/gnome-flashback-3.46.0.ebuild b/gnome-base/gnome-flashback/gnome-flashback-3.46.0.ebuild new file mode 100644 index 000000000000..e2dd4f98e62f --- /dev/null +++ b/gnome-base/gnome-flashback/gnome-flashback-3.46.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2022 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" +IUSE="elogind systemd" +REQUIRED_USE="^^ ( elogind systemd )" +KEYWORDS="~amd64 ~riscv" + +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-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 +" # autoconf-archive for eautoreconf +RDEPEND="${RDEPEND} + x11-wm/metacity + gnome-base/gnome-panel + gnome-base/gnome-settings-daemon +" + +src_configure() { + local myconf=( + --disable-static + --without-compiz-session + $(use_enable systemd systemd-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.46.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)" + myconf+=( + DESKTOP_CFLAGS="$(${pkgconfig} --cflags glib-2.0 gio-2.0 gio-unix-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind x11)" + DESKTOP_LIBS="$(${pkgconfig} --libs glib-2.0 gio-2.0 gio-unix-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind x11)" + SCREENSAVER_CFLAGS="$(${pkgconfig} --cflags gdm gio-unix-2.0 glib-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind xxf86vm)" + SCREENSAVER_LIBS="$(${pkgconfig} --libs gdm gio-unix-2.0 glib-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind xxf86vm)" + ) + fi + + gnome2_src_configure "${myconf[@]}" +} diff --git a/profiles/package.mask b/profiles/package.mask index 754cb6de30e8..63ba1d36c6c4 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -468,6 +468,7 @@ sys-devel/automake:1.11 >=dev-python/nautilus-python-4.0 >=dev-util/devhelp-43 >=gnome-base/gnome-desktop-43 +>=gnome-base/gnome-flashback-3.46 >=gnome-base/gnome-panel-3.46 >=gnome-base/gnome-settings-daemon-43 >=gnome-base/gnome-shell-43 |