blob: 64ad9f64ef06968c3c89321a221a4acf5d961bc6 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001DESCRIPTION="Xfce4 Window Manager"
2SECTION = "x11/wm"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855"
5DEPENDS = "virtual/libx11 libxfce4util libxfce4ui xfconf libwnck3 dbus-glib libxinerama exo-native"
6
7inherit xfce update-alternatives distro_features_check
8
9REQUIRED_DISTRO_FEATURES = "x11"
10
11SRC_URI[md5sum] = "1a78bcc2100c03f6fea0dbce0ca813cf"
12SRC_URI[sha256sum] = "75ebc20d313cff4905e76fc320254c30461dbfa985461b8e75dca04770cedf12"
13
14PACKAGECONFIG ?= " \
15 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'epoxy', '', d)} \
16 xpresent \
17 startup-notification \
18"
19
20PACKAGECONFIG[epoxy] = "--enable-epoxy,--disable-epoxy,libepoxy"
21PACKAGECONFIG[xpresent] = "--enable-xpresent,--disable-xpresent,libxpresent"
22PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
23
24python populate_packages_prepend () {
25 themedir = d.expand('${datadir}/themes')
26 do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
27}
28
29PACKAGES_DYNAMIC += "^xfwm4-theme-.*"
30
31ALTERNATIVE_${PN} = "x-window-manager"
32ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4"
33ALTERNATIVE_PRIORITY[x-window-manager] = "30"
34
35RDEPENDS_${PN} = "xfwm4-theme-default"
36FILES_${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \
37 ${datadir}/xfwm4/defaults \
38"