Patchwork [meta-oe,1/1] numlockx: add 1.2

login
register
mail settings
Submitter Otavio Salvador
Date March 1, 2012, 11:42 p.m.
Message ID <46abda05bc9fd0b2156cb7f6fffaf8acb0d180f1.1330645326.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/22561/
State Accepted
Commit ed5dc598cf7db8a65e18bd4172a180942ca9b4f6
Headers show

Comments

Otavio Salvador - March 1, 2012, 11:42 p.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb

Patch

diff --git a/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
new file mode 100644
index 0000000..daa2c52
--- /dev/null
+++ b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
@@ -0,0 +1,21 @@ 
+DESCRIPTION = "Enable NumLock in X11 sessions"
+HOMEPAGE = "http://home.kde.org/~seli/numlockx/"
+SECTION = "x11/apps"
+LICENSE = "MIT-X"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dcb1cc75e21540a4a66b54e38d95b047"
+DEPENDS = "imake-native virtual/libx11 libxtst"
+
+SRC_URI = "http://home.kde.org/~seli/numlockx/numlockx-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67"
+SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"
+
+inherit autotools
+
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
+                --x-libraries=${STAGING_LIBDIR}"
+
+do_configure_prepend() {
+    # remove this from acinclude.m4 or build fails
+    sed -i '/_AC_PATH_X_XMKMF/d' ${S}/acinclude.m4
+}