summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Jäger <pascal.jaeger@leimstift.de>2022-10-03 21:08:19 +0200
committerMatt Turner <mattst88@gentoo.org>2022-10-07 18:29:57 -0400
commitcfeb1364f4b5d3671d2a098221ef46746bd5f72f (patch)
tree048fb94c87f6631c6760a78afa98ff72e7861f1b
parentgnome-base/gnome-panel: fix elogind build (diff)
downloadgentoo-cfeb1364f4b5d3671d2a098221ef46746bd5f72f.tar.gz
gentoo-cfeb1364f4b5d3671d2a098221ef46746bd5f72f.tar.bz2
gentoo-cfeb1364f4b5d3671d2a098221ef46746bd5f72f.zip
gnome-base/gnome-panel: Version bump to 3.46.0
Closes: https://github.com/gentoo/gentoo/pull/27596 Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--gnome-base/gnome-panel/Manifest1
-rw-r--r--gnome-base/gnome-panel/gnome-panel-3.46.0.ebuild79
-rw-r--r--profiles/package.mask1
3 files changed, 81 insertions, 0 deletions
diff --git a/gnome-base/gnome-panel/Manifest b/gnome-base/gnome-panel/Manifest
index 3c177fada628..9fa3de2cda3d 100644
--- a/gnome-base/gnome-panel/Manifest
+++ b/gnome-base/gnome-panel/Manifest
@@ -1 +1,2 @@
DIST gnome-panel-3.44.0.tar.xz 2852688 BLAKE2B 2d31d9456cb94f5f7d4a7f02b1be7da901f79b32a098877d7b778570b67c7f9be42105f5dbcf0ee6eacdf5359349c31140677b87eedbe9c1516f63104be668d1 SHA512 b3300f6943c970b9a2ea27b9459ab82e634226372006b7748551e6c8c24897c9df4ab2bc5528eae6758d9cd431cb2428465ef30fdcc012ddac7c69cd4f43f966
+DIST gnome-panel-3.46.0.tar.xz 2797164 BLAKE2B 48f4a070df7015a8cca2b5041329f3ebb88474abf42cd21f74514ef557426c260110916eb1e23fafec1f99ec2e339258241484a87a6cd52a293d7df6abfff001 SHA512 a49f3978bd9561973c41083006b831cf4fcb07408048106ef56dae7e0809fb3ec825c8b4a1c09e818255c7995c45a6d33aa4f47e61f778f4b1f29ccc7c9033f7
diff --git a/gnome-base/gnome-panel/gnome-panel-3.46.0.ebuild b/gnome-base/gnome-panel/gnome-panel-3.46.0.ebuild
new file mode 100644
index 000000000000..24dcdd4a7d3a
--- /dev/null
+++ b/gnome-base/gnome-panel/gnome-panel-3.46.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnome2 toolchain-funcs
+
+DESCRIPTION="The GNOME Flashback Panel"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-panel/"
+
+LICENSE="GPL-2+ FDL-1.1 LGPL-2.1+"
+SLOT="0"
+IUSE="eds elogind systemd"
+REQUIRED_USE="^^ ( elogind systemd )"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="
+ >=gnome-base/gnome-desktop-2.91.0:3=
+ >=x11-libs/gdk-pixbuf-2.26.0:2
+ >=x11-libs/pango-1.15.4
+ >=dev-libs/glib-2.67.1:2
+ >=x11-libs/gtk+-3.22.0:3[X]
+ >=x11-libs/libwnck-43.0:3
+ >=gnome-base/gnome-menus-3.7.90:3
+ eds? ( >=gnome-extra/evolution-data-server-3.46.0:= )
+ elogind? ( >=sys-auth/elogind-230 )
+ systemd? ( >=sys-apps/systemd-230:= )
+ >=x11-libs/cairo-1.0.0[X,glib]
+ >=dev-libs/libgweather-4.2.0:4=
+ >=gnome-base/dconf-0.13.4
+ >=x11-libs/libXrandr-1.3.0
+ gnome-base/gdm
+ x11-libs/libX11
+ x11-libs/libXi
+ sci-geosciences/geocode-glib:2
+ sys-auth/polkit
+"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto
+"
+BDEPEND="
+ app-text/docbook-xml-dtd:4.1.2
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ dev-util/itstool
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+" # yelp-tools and autoconf-archive for eautoreconf
+
+src_configure() {
+ local myconf=(
+ --disable-static
+ $(use_enable eds)
+ )
+
+ # Below elogind MENU_* 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([MENU], ...)" block did not change; otherwise adjust
+ # elogind conditional block below accordingly first.
+ # DO NOT just change the version, look in configure.ac in which PKG_CHECK_MODULES-sections
+ # libsystemd is used and check if there are new sections where it is used!
+ 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+=(
+ ACTION_BUTTON_CFLAGS="$(${pkgconfig} --cflags gio-unix-2.0 gtk+-3.0 libelogind x11)"
+ ACTION_BUTTON_LIBS="$(${pkgconfig} --libs gio-unix-2.0 gtk+-3.0 libelogind x11)"
+ LAUNCHER_CFLAGS="$(${pkgconfig} --cflags gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 libelogind)"
+ LAUNCHER_LIBS="$(${pkgconfig} --libs gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 libelogind)"
+ MENU_CFLAGS="$(${pkgconfig} --cflags gdm gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 libelogind)"
+ MENU_LIBS="$(${pkgconfig} --libs gdm gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 libelogind)"
+ )
+ fi
+
+ gnome2_src_configure "${myconf[@]}"
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index bebd5ef4b88c..754cb6de30e8 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-panel-3.46
>=gnome-base/gnome-settings-daemon-43
>=gnome-base/gnome-shell-43
>=gnome-base/nautilus-43