[oe-commits] Li xin : system-config-keyboard: add new recipe
git at git.openembedded.org
git at git.openembedded.org
Wed Jan 28 08:56:33 UTC 2015
Module: meta-openembedded.git
Branch: master
Commit: b3cff5d52c53aed5a6ae50dc492b9543ab5e8b7f
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b3cff5d52c53aed5a6ae50dc492b9543ab5e8b7f
Author: Li xin <lixin.fnst at cn.fujitsu.com>
Date: Tue Jan 20 16:02:18 2015 +0800
system-config-keyboard: add new recipe
a graphical user interface that allows the user to
change the default keyboard of the system.
Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../system-config-keyboard_1.4.0.bb | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb b/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
new file mode 100644
index 0000000..eaca96d
--- /dev/null
+++ b/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
@@ -0,0 +1,27 @@
+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
+DEPENDS = "intltool"
+
+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"
More information about the Openembedded-commits
mailing list