Zhang Peng f3a7f4cee0
xfce-polkit: fix link failure by adding missing gtk+-3.0 dependency
After libxfce4ui upgrade to 4.21.x, its pkgconfig moves gtk+-3.0
to Requires.private, so the linker no longer automatically pulls in
libgtk-3. This causes an undefined reference to 'gtk_combo_box_set_model'
when linking xfce-polkit.

Add patch for explicit PKG_CHECK_MODULES for gtk+-3.0 in configure.ac and wire
GTK3_CFLAGS/GTK3_LIBS into src/Makefile.am.

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-24 09:13:52 -07:00

15 lines
497 B
BlitzBasic

SUMMARY = "A simple PolicyKit authentication agent for XFCE"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=758b03f872a88c99fc36d50c5932091c"
DEPENDS = "libxfce4ui polkit"
inherit xfce-app features_check
REQUIRED_DISTRO_FEATURES = "polkit"
SRC_URI = "\
git://github.com/ncopa/${BPN}.git;branch=master;protocol=https \
file://0001-configure.ac-add-missing-direct-dependency-on-gtk-3.patch \
"
SRCREV = "6d3282cc1734c305850d48f5bf4b4d94e88885e9"