Mingli Yu 204537dd38
xfce4-session: Make gdk-pixbuf-csource available
Fixes the below error during do_configure:
  ../sources/xfce4-session-4.21.1/meson.build:50:21: ERROR: Program '/usr/bin/gdk-pixbuf-csource' not found or not executable

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-30 19:46:40 -07:00

50 lines
1.5 KiB
BlitzBasic

SUMMARY = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
HOMEPAGE = "https://docs.xfce.org/xfce/xfce4-session/start"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11 gdk-pixbuf-native"
XFCE_COMPRESS_TYPE = "xz"
XFCEBASEBUILDCLASS = "meson"
inherit xfce update-alternatives features_check
SRC_URI += "file://0001-meson.build-hard-code-path-to-iceauth.patch \
file://0001-meson.build-Make-gdk-pixbuf-csource-available.patch \
"
SRC_URI[sha256sum] = "a8fe873fdb20366a44f1345400bfb29c2ff0cfe89dfefd852e2575464b80567c"
REQUIRED_DISTRO_FEATURES = "x11"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit"
ALTERNATIVE:${PN} = "x-session-manager"
ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"
ALTERNATIVE_PRIORITY_${PN} = "150"
FILES:${PN} += " \
${libdir}/xfce4/*/*/*.so \
${libdir}/xfce4/session/*-*-* \
${datadir}/wayland-sessions \
${datadir}/xsessions \
${datadir}/themes/Default/balou/* \
${datadir}/polkit-1 \
${datadir}/xdg-desktop-portal/xfce-portals.conf \
${datadir}/xfce4 \
${datadir}/xfce4/labwc \
${datadir}/xfce4/labwc/labwc-environment \
${datadir}/xfce4/labwc/labwc-rc.xml \
"
RDEPENDS:${PN} = " \
${VIRTUAL-RUNTIME_dbus} \
iceauth \
netbase \
upower \
xinit \
xrdb \
"