blob: 617e14f8e17b5dab85705fb47600779af766f20b [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"
5DEPENDS = "virtual/libx11 libxfce4ui libwnck3 libxinerama exo-native"
6
7inherit xfce update-alternatives features_check
8
9REQUIRED_DISTRO_FEATURES = "x11"
10
11SRC_URI += "file://0001-Revert-compositor-Revert-to-GLX-as-default-vblank-me.patch"
12SRC_URI[md5sum] = "b20bd22bdbe1b17f76a139fd74e072a9"
13SRC_URI[sha256sum] = "100781a18070762e8f34c1d450e767586576753d567f76a8c32818284f511428"
14
15PACKAGECONFIG ?= " \
16 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'epoxy', '', d)} \
17 xpresent \
18 startup-notification \
19"
20
21PACKAGECONFIG[epoxy] = "--enable-epoxy,--disable-epoxy,libepoxy"
22PACKAGECONFIG[xpresent] = "--enable-xpresent,--disable-xpresent,libxpresent"
23PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
24
25python populate_packages_prepend () {
26 themedir = d.expand('${datadir}/themes')
27 do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
28}
29
30PACKAGES_DYNAMIC += "^xfwm4-theme-.*"
31
32ALTERNATIVE_${PN} = "x-window-manager"
33ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4"
34ALTERNATIVE_PRIORITY[x-window-manager] = "30"
35
36RDEPENDS_${PN} = "xfwm4-theme-default"
37FILES_${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \
38 ${datadir}/xfwm4/defaults \
39"