Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | SUMMARY = "Xfce4 settings" |
| 2 | SECTION = "x11/wm" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 5 | DEPENDS = "exo exo-native garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower" |
| 6 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame] | 7 | inherit xfce features_check |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 8 | |
| 9 | REQUIRED_DISTRO_FEATURES = "x11" |
| 10 | |
| 11 | SRC_URI += " \ |
| 12 | file://0001-xsettings.xml-Set-default-themes.patch \ |
| 13 | " |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 14 | SRC_URI[md5sum] = "2f4171c21db905d9ba0ca9bee3fc7a5b" |
| 15 | SRC_URI[sha256sum] = "e873e9f6b8e801fd9304ee100c4c76ed9987446c38429d02477c086431c0bf7a" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 16 | |
| 17 | EXTRA_OECONF += "--enable-maintainer-mode --disable-debug" |
| 18 | |
| 19 | PACKAGECONFIG ??= " \ |
| 20 | ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \ |
| 21 | " |
| 22 | PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" |
| 23 | PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop" |
| 24 | |
| 25 | FILES_${PN} += " \ |
| 26 | ${libdir}/xfce4 \ |
| 27 | ${datadir}/xfce4 \ |
| 28 | " |
| 29 | |
| 30 | RRECOMMENDS_${PN} += "adwaita-icon-theme" |
| 31 | RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}" |
| 32 | RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}" |
| 33 | RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','xfce4-datetime-setter','',d)}" |