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