commit:     cbac4920f4b136a17c35d48d07ff695a8e44016c
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 10:56:08 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 19:07:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbac4920

gnome-base/gnome-panel: add 3.54.0

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 gnome-base/gnome-panel/Manifest                  |  1 +
 gnome-base/gnome-panel/gnome-panel-3.54.0.ebuild | 85 ++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/gnome-base/gnome-panel/Manifest b/gnome-base/gnome-panel/Manifest
index eb4088180e46..a1d1a77ea3e3 100644
--- a/gnome-base/gnome-panel/Manifest
+++ b/gnome-base/gnome-panel/Manifest
@@ -1,3 +1,4 @@
 DIST gnome-panel-3.46.0.tar.xz 2797164 BLAKE2B 
48f4a070df7015a8cca2b5041329f3ebb88474abf42cd21f74514ef557426c260110916eb1e23fafec1f99ec2e339258241484a87a6cd52a293d7df6abfff001
 SHA512 
a49f3978bd9561973c41083006b831cf4fcb07408048106ef56dae7e0809fb3ec825c8b4a1c09e818255c7995c45a6d33aa4f47e61f778f4b1f29ccc7c9033f7
 DIST gnome-panel-3.50.0.tar.xz 2769200 BLAKE2B 
a386ccf11408772939af434d9f69c00a3bc22c0c104acd2e88e105c3f0d8ea3cfcd9145e6fc5d6e802d02740bcc89a86af403a9ade86271eddb7d8325fecadad
 SHA512 
29e5eb22feec1b2d57fc0cd4c307012bbad50b15d49dc0fc7e2c0a1090a744ca9f1857ee74f2f0a7f77943ebe6ecf4f71c577adaeb19633f34ba93aad26e3c74
 DIST gnome-panel-3.52.0.tar.xz 2777368 BLAKE2B 
91b1ea930609b74dfdf25dfac7decfad4feb71ac3032ec9c728a46200fba9faf78efed95d1c000891a7b749fa94b7131ebca5fae88530d482b2b1228f875bf5c
 SHA512 
56d986c01360b7625ee6a946fa053327dc1e9a429a71445b6e71d5c69c5a38b445e4d3ee28c71a0a2e5b3f1e0b5612f7138249379e88efa7e5cc03532532ec79
+DIST gnome-panel-3.54.0.tar.xz 2790168 BLAKE2B 
c41e8cdd5ff6b46b640901e8586db368453d94f763a45c605695d00ef44ac3ccbf6eb49da55f7635d603a29d0cd37d6fbf68d54699d4486d50518d2771ac5fe1
 SHA512 
9b444d931b47e8aa8bae0d2a1fc1a84281c178026b6697b7871a9942bab705a5062e07c062a5ab7e0bcd046f1cb799361e4c99334209ef820f81939553996e14

diff --git a/gnome-base/gnome-panel/gnome-panel-3.54.0.ebuild 
b/gnome-base/gnome-panel/gnome-panel-3.54.0.ebuild
new file mode 100644
index 000000000000..3d5c39e710d4
--- /dev/null
+++ b/gnome-base/gnome-panel/gnome-panel-3.54.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2024 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"
+KEYWORDS="~amd64 ~riscv"
+IUSE="eds elogind systemd"
+REQUIRED_USE="^^ ( elogind systemd )"
+
+RDEPEND="
+       >=gnome-base/gnome-desktop-3.53.3: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
+       >=gnome-base/gsettings-desktop-schemas-42.0
+       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
+"
+
+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.54.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 action_modules="gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 
libelogind x11"
+               local launcher_modules="gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 
libelogind"
+               local menu_modules="gdm gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 
libelogind"
+
+               myconf+=(
+                       ACTION_BUTTON_CFLAGS="$(${pkgconfig} --cflags 
${action_modules})"
+                       ACTION_BUTTON_LIBS="$(${pkgconfig} --libs 
${action_modules})"
+                       LAUNCHER_CFLAGS="$(${pkgconfig} --cflags 
${launcher_modules})"
+                       LAUNCHER_LIBS="$(${pkgconfig} --libs 
${launcher_modules})"
+                       MENU_CFLAGS="$(${pkgconfig} --cflags ${menu_modules})"
+                       MENU_LIBS="$(${pkgconfig} --libs ${modules_modules})"
+               )
+       fi
+
+       gnome2_src_configure "${myconf[@]}"
+}

Reply via email to