Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | DESCRIPTION = "Xfce4 Window Manager" |
| 2 | SECTION = "x11/wm" |
| 3 | LICENSE = "GPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855" |
| 5 | DEPENDS = "virtual/libx11 libxfce4ui libwnck3 libxinerama" |
| 6 | |
| 7 | inherit xfce update-alternatives features_check |
| 8 | |
| 9 | REQUIRED_DISTRO_FEATURES = "x11" |
| 10 | |
| 11 | SRC_URI[sha256sum] = "92cd1b889bb25cb4bc06c1c6736c238d96e79c1e706b9f77fad0a89d6e5fc13f" |
| 12 | |
| 13 | PACKAGECONFIG ?= " \ |
| 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'epoxy', '', d)} \ |
| 15 | xpresent \ |
| 16 | startup-notification \ |
| 17 | " |
| 18 | |
| 19 | PACKAGECONFIG[epoxy] = "--enable-epoxy,--disable-epoxy,libepoxy" |
| 20 | PACKAGECONFIG[xpresent] = "--enable-xpresent,--disable-xpresent,libxpresent" |
| 21 | PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" |
| 22 | |
| 23 | python 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 | |
| 28 | PACKAGES_DYNAMIC += "^xfwm4-theme-.*" |
| 29 | |
| 30 | ALTERNATIVE:${PN} = "x-window-manager" |
| 31 | ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4" |
| 32 | ALTERNATIVE_PRIORITY[x-window-manager] = "30" |
| 33 | |
| 34 | RDEPENDS:${PN} = "xfwm4-theme-default" |
| 35 | FILES:${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \ |
| 36 | ${datadir}/xfwm4/defaults \ |
| 37 | " |