blob: aa4265f7b0d9ef58db80afa2e5effcc0dadb1d2f [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Xfce4 settings"
2SECTION = "x11/wm"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-2.0-only"
Andrew Geissler82c905d2020-04-13 13:39:40 -05004LIC_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 ??= " \
Patrick Williamsde0582f2022-04-08 10:23:27 -050017 notify \
Andrew Geissler82c905d2020-04-13 13:39:40 -050018 ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
19"
20PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
21PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop"
22
Patrick Williams213cb262021-08-07 19:21:33 -050023FILES:${PN} += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050024 ${libdir}/xfce4 \
25 ${datadir}/xfce4 \
26"
27
Patrick Williams213cb262021-08-07 19:21:33 -050028RRECOMMENDS:${PN} += "adwaita-icon-theme"
29RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}"
30RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}"
31RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','xfce4-datetime-setter','',d)}"