blob: f4a78f1adf3afef05b258712f5aeb33b36b3e8e6 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001DESCRIPTION = "Xfce4 Window Manager"
2SECTION = "x11/wm"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855"
Andrew Geissler72956ed2021-01-08 16:11:14 -06005DEPENDS = "virtual/libx11 libxfce4ui libwnck3 libxinerama"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006
7inherit xfce update-alternatives features_check
8
9REQUIRED_DISTRO_FEATURES = "x11"
10
Andrew Geisslereef63862021-01-29 15:58:13 -060011SRC_URI[sha256sum] = "b5b24ca04bd73c642db0a4b4df81d262381d758f01b51108257d48b391b8718c"
Andrew Geissler82c905d2020-04-13 13:39:40 -050012
13PACKAGECONFIG ?= " \
14 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'epoxy', '', d)} \
15 xpresent \
16 startup-notification \
17"
18
19PACKAGECONFIG[epoxy] = "--enable-epoxy,--disable-epoxy,libepoxy"
20PACKAGECONFIG[xpresent] = "--enable-xpresent,--disable-xpresent,libxpresent"
21PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
22
Patrick Williams213cb262021-08-07 19:21:33 -050023python populate_packages:prepend () {
Andrew Geissler82c905d2020-04-13 13:39:40 -050024 themedir = d.expand('${datadir}/themes')
25 do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
26}
27
28PACKAGES_DYNAMIC += "^xfwm4-theme-.*"
29
Patrick Williams213cb262021-08-07 19:21:33 -050030ALTERNATIVE:${PN} = "x-window-manager"
Andrew Geissler82c905d2020-04-13 13:39:40 -050031ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4"
32ALTERNATIVE_PRIORITY[x-window-manager] = "30"
33
Patrick Williams213cb262021-08-07 19:21:33 -050034RDEPENDS:${PN} = "xfwm4-theme-default"
35FILES:${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \
Andrew Geissler82c905d2020-04-13 13:39:40 -050036 ${datadir}/xfwm4/defaults \
37"