Zhang Peng f53ab756f2
xfce4-datetime-plugin: fix build with xfce4-panel 4.21.x
xfce4-panel 4.21.x added include guards to libxfce4panel sub-headers,
requiring consumers to include <libxfce4panel/libxfce4panel.h> instead
of individual headers like <libxfce4panel/xfce-panel-plugin.h>.

Since there is no new upstream release with this fix, add
-DLIBXFCE4PANEL_COMPILATION to CFLAGS as a workaround to bypass the
include guard check.

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

11 lines
415 B
BlitzBasic

SUMMARY = "Panel plugin displaying date and time and a calendar when left-clicked"
HOMEPAGE = "https://docs.xfce.org/panel-plugins/xfce4-datetime-plugin/start"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
inherit xfce-panel-plugin
CFLAGS += "-DLIBXFCE4PANEL_COMPILATION"
SRC_URI[sha256sum] = "6b2eeb79fb586868737426cbd2a4cd43c7f8c58507d8a2f578e0150187cc00b0"