blob: aff57a5788b4bc6d76478138cd33f22b876b88d0 [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"
Andrew Geissler72956ed2021-01-08 16:11:14 -06005DEPENDS = "exo garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006
Andrew Geissler72956ed2021-01-08 16:11:14 -06007inherit xfce features_check mime-xdg
Andrew Geissler82c905d2020-04-13 13:39:40 -05008
9REQUIRED_DISTRO_FEATURES = "x11"
10
Andrew Geissler72956ed2021-01-08 16:11:14 -060011SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch"
Andrew Geissler69721092021-07-23 12:57:00 -040012SRC_URI[sha256sum] = "4dd7cb420860535e687f673c0b5c0274e0d2fb67181281d4b85be9197da03d7e"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013
14EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
15
16PACKAGECONFIG ??= " \
17 ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
18"
19PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
20PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop"
21
Patrick Williams213cb262021-08-07 19:21:33 -050022FILES:${PN} += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050023 ${libdir}/xfce4 \
24 ${datadir}/xfce4 \
25"
26
Patrick Williams213cb262021-08-07 19:21:33 -050027RRECOMMENDS:${PN} += "adwaita-icon-theme"
28RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}"
29RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}"
30RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','xfce4-datetime-setter','',d)}"