Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 1 | DESCRIPTION = "Xfce4 Window Manager" |
| 2 | SECTION = "x11/wm" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855" |
| 5 | DEPENDS = "virtual/libx11 libxfce4ui libwnck3 libxinerama exo-native" |
| 6 | |
| 7 | inherit xfce update-alternatives features_check |
| 8 | |
| 9 | REQUIRED_DISTRO_FEATURES = "x11" |
| 10 | |
| 11 | SRC_URI += "file://0001-Revert-compositor-Revert-to-GLX-as-default-vblank-me.patch" |
| 12 | SRC_URI[md5sum] = "b20bd22bdbe1b17f76a139fd74e072a9" |
| 13 | SRC_URI[sha256sum] = "100781a18070762e8f34c1d450e767586576753d567f76a8c32818284f511428" |
| 14 | |
| 15 | PACKAGECONFIG ?= " \ |
| 16 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'epoxy', '', d)} \ |
| 17 | xpresent \ |
| 18 | startup-notification \ |
| 19 | " |
| 20 | |
| 21 | PACKAGECONFIG[epoxy] = "--enable-epoxy,--disable-epoxy,libepoxy" |
| 22 | PACKAGECONFIG[xpresent] = "--enable-xpresent,--disable-xpresent,libxpresent" |
| 23 | PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" |
| 24 | |
| 25 | python 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 | |
| 30 | PACKAGES_DYNAMIC += "^xfwm4-theme-.*" |
| 31 | |
| 32 | ALTERNATIVE_${PN} = "x-window-manager" |
| 33 | ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4" |
| 34 | ALTERNATIVE_PRIORITY[x-window-manager] = "30" |
| 35 | |
| 36 | RDEPENDS_${PN} = "xfwm4-theme-default" |
| 37 | FILES_${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \ |
| 38 | ${datadir}/xfwm4/defaults \ |
| 39 | " |