summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
blob: 26b4412f520b21f4e9589707f3a481573b8d35e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DESCRIPTION = "a graphical user interface that allows the user to \
change the default keyboard of the system"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "https://fedorahosted.org/releases/s/y/${BPN}/${BP}.tar.bz2"
SRC_URI[md5sum] = "c267db0ee7a2131ba418399dc17f9e72"
SRC_URI[sha256sum] = "218c883e4e2bfcc82bfe07e785707b5c2ece28df772f2155fd044b9bb1614284"

inherit python-dir gettext
DEPENDS += "intltool-native gettext-native"

EXTRA_OEMAKE = " \
    PYTHON='${STAGING_BINDIR_NATIVE}'/python-native/python \
    PYTHON_SITELIB=${PYTHON_SITEPACKAGES_DIR} \
"
do_install() {
    oe_runmake 'DESTDIR=${D}' install
}

do_install_append_class-native() {
    rm -rf ${D}/usr
}

FILES_${PN} += " \
   ${libdir}/python${PYTHON_BASEVERSION}/* \
   ${datadir}/* \
"
BBCLASSEXTEND = "native"