Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "Xfce4 settings" |
| 2 | SECTION = "x11/wm" |
| 3 | LICENSE = "GPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 5 | DEPENDS = "exo garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower" |
| 6 | |
| 7 | inherit xfce features_check mime-xdg |
| 8 | |
| 9 | REQUIRED_DISTRO_FEATURES = "x11" |
| 10 | |
| 11 | SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch" |
| 12 | SRC_URI[sha256sum] = "ed3f75837cb33cd694610fc87cd569c4782b7ac4e099143a3dbe8fff1f1c6a9d" |
| 13 | |
| 14 | EXTRA_OECONF += "--enable-maintainer-mode --disable-debug" |
| 15 | |
| 16 | PACKAGECONFIG ??= " \ |
| 17 | notify \ |
| 18 | ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \ |
| 19 | " |
| 20 | PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" |
| 21 | PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop" |
| 22 | |
| 23 | FILES:${PN} += " \ |
| 24 | ${libdir}/xfce4 \ |
| 25 | ${datadir}/xfce4 \ |
| 26 | " |
| 27 | |
| 28 | RRECOMMENDS:${PN} += "adwaita-icon-theme" |
| 29 | RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}" |
| 30 | RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}" |
| 31 | RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','xfce4-datetime-setter','',d)}" |