Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | DESCRIPTION = "a graphical user interface that allows the user to \ |
| 2 | change the default keyboard of the system" |
| 3 | LICENSE = "GPLv2+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 5 | SRC_URI = "https://fedorahosted.org/releases/s/y/${BPN}/${BP}.tar.bz2" |
| 6 | SRC_URI[md5sum] = "c267db0ee7a2131ba418399dc17f9e72" |
| 7 | SRC_URI[sha256sum] = "218c883e4e2bfcc82bfe07e785707b5c2ece28df772f2155fd044b9bb1614284" |
| 8 | inherit python-dir |
| 9 | |
| 10 | inherit python-dir gettext |
| 11 | DEPENDS = "intltool-native" |
| 12 | |
| 13 | EXTRA_OEMAKE = " \ |
| 14 | PYTHON='${STAGING_BINDIR_NATIVE}'/python-native/python \ |
| 15 | PYTHON_SITELIB=${PYTHON_SITEPACKAGES_DIR} \ |
| 16 | " |
| 17 | do_install() { |
| 18 | oe_runmake 'DESTDIR=${D}' install |
| 19 | } |
| 20 | |
| 21 | do_install_append_class-native() { |
| 22 | rm -rf ${D}/usr |
| 23 | } |
| 24 | |
| 25 | FILES_${PN} += " \ |
| 26 | ${libdir}/python${PYTHON_BASEVERSION}/* \ |
| 27 | ${datadir}/* \ |
| 28 | " |
| 29 | BBCLASSEXTEND = "native" |