Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Xfce4 settings" |
| 2 | SECTION = "x11/wm" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 5 | DEPENDS = "exo garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 7 | inherit xfce features_check mime-xdg |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | |
| 9 | REQUIRED_DISTRO_FEATURES = "x11" |
| 10 | |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 11 | SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch" |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 12 | SRC_URI[sha256sum] = "bb28e1be7aa34d0edb1cfbaacc509a4267db56828b36cd6be312a202973635c6" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | |
| 14 | EXTRA_OECONF += "--enable-maintainer-mode --disable-debug" |
| 15 | |
| 16 | PACKAGECONFIG ??= " \ |
| 17 | ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \ |
| 18 | " |
| 19 | PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" |
| 20 | PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop" |
| 21 | |
| 22 | FILES_${PN} += " \ |
| 23 | ${libdir}/xfce4 \ |
| 24 | ${datadir}/xfce4 \ |
| 25 | " |
| 26 | |
| 27 | RRECOMMENDS_${PN} += "adwaita-icon-theme" |
| 28 | RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}" |
| 29 | RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}" |
| 30 | RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','xfce4-datetime-setter','',d)}" |