summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-05-15 10:17:58 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2013-05-15 10:17:58 +0200
commitb15b95150a1f920b10819957b8dc3cc6b92bca1f (patch)
tree46d584295118d3fbcf5cb54e0f74d4bf5810afc8
parentf012b1617737c4b28d936c09ec699433c9b1ff4a (diff)
unclutter: add recipe
- Unclutter hides your X mouse cursor when you do not need it
-rw-r--r--recipes-graphics/unclutter/files/cross-compile.patch10
-rw-r--r--recipes-graphics/unclutter/unclutter_1.09.bb20
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes-graphics/unclutter/files/cross-compile.patch b/recipes-graphics/unclutter/files/cross-compile.patch
new file mode 100644
index 0000000..574f9cc
--- /dev/null
+++ b/recipes-graphics/unclutter/files/cross-compile.patch
@@ -0,0 +1,10 @@
+--- unclutter-1.09/Makefile.orig 2007-02-05 23:52:40.000000000 +0100
++++ unclutter-1.09/Makefile 2013-05-14 19:08:13.612112758 +0200
+@@ -1,7 +1,6 @@
+ # Makefile for unclutter. Throw this away and use the Imakefile if you can.
+ TOP = .
+ CURRENT_DIR = .
+- CC = gcc
+ LKED = $(CC)
+ INSTALL = install
+ MAKE = make
diff --git a/recipes-graphics/unclutter/unclutter_1.09.bb b/recipes-graphics/unclutter/unclutter_1.09.bb
new file mode 100644
index 0000000..a7cc8ea
--- /dev/null
+++ b/recipes-graphics/unclutter/unclutter_1.09.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Hides the cursor after inactivity"
+LICENSE = "PublicDomain"
+
+DEPENDS = "virtual/xserver"
+PR = "r0"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/unclutter/${PN}-${PV}.tar.gz \
+ file://cross-compile.patch \
+"
+LIC_FILES_CHKSUM = "file://README;md5=7c9b6681ac4b35194de7d5f3585702b6"
+SRC_URI[md5sum] = "8c4464367b2db1d15fe36a8752e917c8"
+SRC_URI[sha256sum] = "3a53575fe2a75a34bc9a2b0ad92ee0f8a7dbedc05d8783f191c500060a40a9bd"
+
+do_install () {
+ install -d ${D}${bindir}/ ${D}${mandir}/man1
+ install -m 0755 ${S}/unclutter ${D}${bindir}/
+ install -m 0644 ${S}/unclutter.man ${D}${mandir}/man1/unclutter.1
+}