Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "xorg.conf keyboard layout callout" |
| 2 | DESCRIPTION = "system-setup-keyboard is a daemon to monitor the keyboard layout configured in \ |
| 3 | /etc/sysconfig/keyboard and transfer this into the matching xorg.conf.d snippet." |
| 4 | |
| 5 | HOMEPAGE = "https://git.fedorahosted.org/git/system-setup-keyboard.git" |
| 6 | SECTION = "Applications/System" |
| 7 | |
| 8 | SRC_URI = "https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${BP}.tar.gz" |
| 9 | SRC_URI[md5sum] = "399003968ccc739cddd9cc370af377a0" |
| 10 | SRC_URI[sha256sum] = "1ef6ef79c3588e85d7f42e99eb80a2e459f966284cf029c2d6fc1b645abcb860" |
| 11 | |
| 12 | LICENSE = "MIT" |
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=bf57969a59612c5aca007b340c49d3a2" |
| 14 | |
| 15 | inherit pythonnative |
| 16 | |
| 17 | DEPENDS = "glib-2.0 system-config-keyboard-native" |
| 18 | |
| 19 | EXTRA_OEMAKE = "-e MAKEFLAGS=" |
| 20 | |
| 21 | do_compile_prepend() { |
| 22 | ${PYTHON} -v get_layouts.py > keyboards.h |
| 23 | } |
| 24 | |
| 25 | do_install() { |
| 26 | oe_runmake install DESTDIR=${D} |
| 27 | install -d ${D}/etc/X11/xorg.conf.d |
| 28 | touch ${D}/etc/X11/xorg.conf.d/00-system-setup-keyboard.conf |
| 29 | } |
| 30 | |
| 31 | FILES_${PN} += "${systemd_unitdir}/system/${BPN}.service" |