blob: a4685aed334247cb5195dbf2e1cd73d5a9e95d87 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Xfce4 settings"
2SECTION = "x11/wm"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5DEPENDS = "exo exo-native garcon gtk+ libxfce4util libxfce4ui xfconf dbus-glib libxi virtual/libx11 xrandr libxcursor libxklavier upower"
6
Patrick Williamsddad1a12017-02-23 20:36:32 -06007inherit xfce xfce-git distro_features_check
8
9REQUIRED_DISTRO_FEATURES = "x11"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010
11# schnitzeltony git repo is the mainline repo
12# + datetime-setter - sent to mainline but strange response
13# + minor bugfixes - sent mainline but no response
14# + option to hide mousepointer for a specific (touch) input device - sent mainline but no response
15SRC_URI = " \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016 git://github.com/schnitzeltony/xfce4-settings.git;protocol=git;branch=for-oe-4.12.4 \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017 file://0001-xsettings.xml-Set-default-themes.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018 file://0002-Fix-linking-to-dbus-glib-bug-13633.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050019"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020SRCREV = "75d7c9b15e5ccce12b0864d3659ae9b6de96e245"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021S = "${WORKDIR}/git"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022PV = "4.12.4+git${SRCPV}"
Patrick Williamsddad1a12017-02-23 20:36:32 -060023
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
25
26PACKAGECONFIG ??= " \
27 ${@bb.utils.contains('DISTRO_FEATURES','systemd','datetime-setter','',d)} \
28 ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
29"
30PACKAGECONFIG[datetime-setter] = "--enable-datetime-settings, --disable-datetime-settings,, tzdata"
31PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
32PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop"
33
34FILES_${PN} += " \
35 ${libdir}/xfce4 \
36 ${datadir}/xfce4 \
37"
38
39RRECOMMENDS_${PN} += "adwaita-icon-theme"
40RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}"
41RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}"