This version add the (upstream) support for htc dream.
The support for the htcdream is composed the 'us','it','de'
keyboards and has the extra-keys like | - _ etc... mapped.
But no custom keys(keys that weren't printed on the keyboard
were mapped yet, and some bugs are present for the htc dream)
The DEFAULT_PREFERENCE = "-1" is because of that(from #oe on FreeNode on irc):
Jan 09 21:04:39 <Jay7> or commit with DP=-1 then post request to ML about promoting to default
Jan 09 21:04:48 <GNUtoo|laptop> ok I'll send to ml
Jan 09 21:05:14 <GNUtoo|laptop> I push some other stuff that only touch htcdream, and get thoses on ml
Jan 09 21:05:15 <hrw> push with dp-1 first
Jan 09 21:05:18 <GNUtoo|laptop> ok
Jan 09 21:07:11 <GNUtoo|laptop> maybe I put DP -1 for all but not for SHR
In other words xkeyboard-config is used by a lot of distros/machines
(all the machines which have a keyboard), and as it's a git version,
so it's safer not to affect everyone in the case of a bug.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
--- /dev/null
+DESCRIPTION = "Common X11 Keyboard layouts"
+LICENSE = "MIT"
+DEPENDS = "intltool xkbcomp-native"
+RDEPENDS_${PN} = "xkbcomp"
+SRCREV = "547ae8589afb208d7b44ffe1e0ff7aba466c2ee3"
+PV = "2.0+gitr${SRCPV}"
+PR = "r0"
+
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_shr = "1"
+
+SRC_URI = "git://anongit.freedesktop.org/xkeyboard-config;protocol=git;branch=master"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+do_install_append () {
+ install -d ${D}/usr/share/X11/xkb/compiled
+ cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg
+}
+
+FILES_${PN} += "${datadir}/X11/xkb"