blob: bf9bd3102ea5c5a698bd69bc21b3738bfa53486a [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 Bishop316dfdd2018-06-25 12:45:53 -040016 git://github.com/schnitzeltony/xfce4-settings.git;protocol=git;branch=for-oe-4.12.3 \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017 file://0001-xsettings.xml-Set-default-themes.patch \
18"
Brad Bishop316dfdd2018-06-25 12:45:53 -040019SRCREV = "b701ac8b66b83c17469dd5009da51eeb59eba442"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020S = "${WORKDIR}/git"
Brad Bishop316dfdd2018-06-25 12:45:53 -040021PV = "4.12.3+git${SRCPV}"
Patrick Williamsddad1a12017-02-23 20:36:32 -060022
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
24
25PACKAGECONFIG ??= " \
26 ${@bb.utils.contains('DISTRO_FEATURES','systemd','datetime-setter','',d)} \
27 ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
28"
29PACKAGECONFIG[datetime-setter] = "--enable-datetime-settings, --disable-datetime-settings,, tzdata"
30PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
31PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra-gtk2 sound-theme-freedesktop"
32
33FILES_${PN} += " \
34 ${libdir}/xfce4 \
35 ${datadir}/xfce4 \
36"
37
38RRECOMMENDS_${PN} += "adwaita-icon-theme"
39RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}"
40RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}"