| SUMMARY = "Xfce4 settings" |
| SECTION = "x11/wm" |
| LICENSE = "GPLv2" |
| LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| DEPENDS = "exo garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower" |
| |
| inherit xfce features_check mime-xdg |
| |
| REQUIRED_DISTRO_FEATURES = "x11" |
| |
| SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch" |
| SRC_URI[sha256sum] = "bb28e1be7aa34d0edb1cfbaacc509a4267db56828b36cd6be312a202973635c6" |
| |
| EXTRA_OECONF += "--enable-maintainer-mode --disable-debug" |
| |
| PACKAGECONFIG ??= " \ |
| ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \ |
| " |
| PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" |
| PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop" |
| |
| FILES_${PN} += " \ |
| ${libdir}/xfce4 \ |
| ${datadir}/xfce4 \ |
| " |
| |
| RRECOMMENDS_${PN} += "adwaita-icon-theme" |
| RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}" |
| RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}" |
| RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','xfce4-datetime-setter','',d)}" |