blob: 2cbfdadd5fee6fc8e5ad6764cfd00e56cc785d28 [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
23python populate_packages_prepend () {
24 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
30ALTERNATIVE_${PN} = "x-window-manager"
31ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4"
32ALTERNATIVE_PRIORITY[x-window-manager] = "30"
33
34RDEPENDS_${PN} = "xfwm4-theme-default"
35FILES_${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \
36 ${datadir}/xfwm4/defaults \
37"