blob: bb45ee6f433044c3754dbf478f4f5ee32940cf5b [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Xfce4 Widget library and X Window System interaction"
2SECTION = "x11/libs"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-2.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00004LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475"
Andrew Geissler78b72792022-06-14 06:47:25 -05005DEPENDS = "intltool-native perl-native gtk+3 libxfce4util xfce4-dev-tools xfconf"
Andrew Geissler595f6302022-01-24 19:11:47 +00006
7inherit xfce gtk-doc gobject-introspection features_check
8
Andrew Geissler78b72792022-06-14 06:47:25 -05009# xfce4 depends on libwnck3. gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
10# cairo would at least needed to be built with xlib.
11ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Andrew Geissler595f6302022-01-24 19:11:47 +000012
13# TODO: Check if 0001-... can go
14SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch"
15SRC_URI[sha256sum] = "d96946ae5af6bf078dda415419e0021909f763ee0020b42f3e26f603e51585f6"
16
17EXTRA_OECONF += "--with-vendor-info=${DISTRO}"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000018EXTRA_OECONF += "--disable-vala"
Andrew Geissler595f6302022-01-24 19:11:47 +000019
Andrew Geissler78b72792022-06-14 06:47:25 -050020PACKAGECONFIG ??= " \
21 ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
22"
Andrew Geissler595f6302022-01-24 19:11:47 +000023PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade"
Andrew Geissler78b72792022-06-14 06:47:25 -050024PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification"
25
Andrew Geissler595f6302022-01-24 19:11:47 +000026
27PACKAGES += "${PN}-glade"
28FILES:${PN}-glade = " \
29 ${libdir}/glade \
30 ${datadir}/glade \
31"