Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-flashback/
Date: Mon, 17 Jan 2022 23:19:17
Message-Id: 1642461537.94466aeed426dcbba85ebbfdcb24c1e89d5d7b62.mattst88@gentoo
1 commit: 94466aeed426dcbba85ebbfdcb24c1e89d5d7b62
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 17 23:00:22 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 17 23:18:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94466aee
7
8 gnome-base/gnome-flashback: Version bump to 3.42.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 gnome-base/gnome-flashback/Manifest | 1 +
13 .../gnome-flashback/gnome-flashback-3.42.1.ebuild | 86 ++++++++++++++++++++++
14 2 files changed, 87 insertions(+)
15
16 diff --git a/gnome-base/gnome-flashback/Manifest b/gnome-base/gnome-flashback/Manifest
17 index 1acec1f08c25..3c6444165f8c 100644
18 --- a/gnome-base/gnome-flashback/Manifest
19 +++ b/gnome-base/gnome-flashback/Manifest
20 @@ -1 +1,2 @@
21 DIST gnome-flashback-3.40.0.tar.xz 857104 BLAKE2B 41711edc4687682dd48134e452297bef7d0c4db93532bfd4bd49f19f2f01eab7c887b584f412384057e8a2b65a937446a108df0c4cfd811085c161a212e19355 SHA512 b938d12c437926e64567388b1a97350b76883cf91c009c1f57d4963321497ebdf69b094c7d88a86e5bf805930b88ff2637e522ac4f9981a391206a03d23a521e
22 +DIST gnome-flashback-3.42.1.tar.xz 867508 BLAKE2B ddd98e14dede69a43db24acdb8358ad51de90d311a8738a14ad403262f3b0790c4689b2c49d51706d8645c76a70e5d60dbbd6a82acea55d0898761ac0a479d25 SHA512 bbbc9ad419c4bedd772a41d88216d41502a657e1a02dbc32a80c7dd8984e583bd731e7e90932c0537b0e96d511244fec400e76308e9d8b57eb24491fa3334d4b
23
24 diff --git a/gnome-base/gnome-flashback/gnome-flashback-3.42.1.ebuild b/gnome-base/gnome-flashback/gnome-flashback-3.42.1.ebuild
25 new file mode 100644
26 index 000000000000..704dcdeb4fe7
27 --- /dev/null
28 +++ b/gnome-base/gnome-flashback/gnome-flashback-3.42.1.ebuild
29 @@ -0,0 +1,86 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +inherit gnome2 toolchain-funcs
35 +
36 +DESCRIPTION="GNOME Flashback session"
37 +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-flashback/"
38 +
39 +LICENSE="GPL-3+"
40 +SLOT="0"
41 +IUSE="elogind systemd"
42 +REQUIRED_USE="^^ ( elogind systemd )"
43 +KEYWORDS="~amd64 ~riscv"
44 +
45 +RDEPEND="
46 + >=x11-libs/gdk-pixbuf-2.32.2:2
47 + >=x11-libs/gtk+-3.22.0:3[X]
48 + >=gnome-base/gnome-desktop-3.12.0:3=
49 + >=gnome-base/gnome-panel-3.35.2
50 + >=media-libs/libcanberra-0.13[gtk3]
51 + >=dev-libs/glib-2.67.3:2
52 + >=gnome-base/gsettings-desktop-schemas-3.31.0
53 + >=sys-auth/polkit-0.97
54 + >=app-i18n/ibus-1.5.2
55 + >=sys-power/upower-0.99.0:=
56 + >=x11-libs/libXrandr-1.5.0
57 + >=x11-libs/libXxf86vm-1.1.4
58 + x11-libs/libxcb
59 + x11-libs/libX11
60 + gnome-base/gdm
61 + elogind? ( >=sys-auth/elogind-230 )
62 + systemd? ( >=sys-apps/systemd-230:= )
63 + net-wireless/gnome-bluetooth
64 + x11-libs/libXext
65 + >=x11-libs/libXi-1.6.0
66 + x11-libs/pango
67 + x11-libs/libxkbfile
68 + x11-misc/xkeyboard-config
69 + x11-libs/libXfixes
70 + media-sound/pulseaudio[glib]
71 + sys-libs/pam
72 +"
73 +DEPEND="${RDEPEND}
74 + x11-base/xorg-proto
75 +"
76 +BDEPEND="
77 + dev-util/gdbus-codegen
78 + dev-util/glib-utils
79 + >=sys-devel/gettext-0.19.8
80 + virtual/pkgconfig
81 +" # autoconf-archive for eautoreconf
82 +RDEPEND="${RDEPEND}
83 + x11-wm/metacity
84 + gnome-base/gnome-panel
85 + gnome-base/gnome-settings-daemon
86 +"
87 +
88 +src_configure() {
89 + local myconf=(
90 + --disable-static
91 + --without-compiz-session
92 + $(use_enable systemd systemd-session)
93 + )
94 +
95 + # Below elogind DESKTOP_* and SCREENSAVER_* pkg-config calls need to match up with
96 + # what upstream has each version (libsystemd replaced with libelogind). Explicit
97 + # per-version die to force a manual recheck. Only update the explicit version if the
98 + # "PKG_CHECK_MODULES([MENU/SCREENSAVER], ...)" blocks did not change; otherwise adjust
99 + # elogind conditional block below accordingly first.
100 + if ver_test ${PV} -ne 3.42.1; then
101 + die "Maintainer has not checked over packages MENU pkg-config deps for elogind support"
102 + fi
103 +
104 + if use elogind; then
105 + local pkgconfig="$(tc-getPKG_CONFIG)"
106 + myconf+=(
107 + DESKTOP_CFLAGS="$(${pkgconfig} --cflags glib-2.0 gio-2.0 gio-unix-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind x11)"
108 + DESKTOP_LIBS="$(${pkgconfig} --libs glib-2.0 gio-2.0 gio-unix-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind x11)"
109 + SCREENSAVER_CFLAGS="$(${pkgconfig} --cflags gdm gio-unix-2.0 glib-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind xxf86vm)"
110 + SCREENSAVER_LIBS="$(${pkgconfig} --libs gdm gio-unix-2.0 glib-2.0 gnome-desktop-3.0 gtk+-3.0 libelogind xxf86vm)"
111 + )
112 + fi
113 +
114 + gnome2_src_configure "${myconf[@]}"
115 +}