Skip to content

Commit

Permalink
gnome-base/gnome-panel: fix elogind build
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/787431
Signed-off-by: Pascal Jäger <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
Schievel1 authored and mattst88 committed Oct 7, 2022
1 parent 6b5e48a commit 83892ec
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,19 @@ src_configure() {
# 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.44.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)"
)
Expand Down

0 comments on commit 83892ec

Please sign in to comment.