summaryrefslogtreecommitdiff
path: root/packages/detect-stylus
diff options
context:
space:
mode:
Diffstat (limited to 'packages/detect-stylus')
-rw-r--r--packages/detect-stylus/detect-stylus_svn.bb10
-rw-r--r--packages/detect-stylus/files/install-detect-tsdevice.patch11
2 files changed, 19 insertions, 2 deletions
diff --git a/packages/detect-stylus/detect-stylus_svn.bb b/packages/detect-stylus/detect-stylus_svn.bb
index 7f4385473c..fa315bea07 100644
--- a/packages/detect-stylus/detect-stylus_svn.bb
+++ b/packages/detect-stylus/detect-stylus_svn.bb
@@ -3,16 +3,22 @@ SECTION = "gpe"
LICENSE = "GPL"
DEPENDS = "virtual/libx11 xcursor-transparent-theme xrdb"
RDEPENDS = "xrdb"
-PV = "0.13+svn${SRCDATE}"
+PV = "0.13+svnr${SRCREV}"
PR = "r0"
inherit gpe pkgconfig
SRC_URI = "${GPE_SVN} \
- file://detect-stylus-svn-build.patch;patch=1"
+ file://detect-stylus-svn-build.patch;patch=1 \
+ file://install-detect-tsdevice.patch;patch=1"
S = "${WORKDIR}/${PN}"
export CVSBUILD="no"
DEFAULT_PREFERENCE = "-1"
+
+PACKAGES =+ "detect-tsdevice"
+
+FILES_detect-tsdevice = "${bindir}/detect-tsdevice"
+
diff --git a/packages/detect-stylus/files/install-detect-tsdevice.patch b/packages/detect-stylus/files/install-detect-tsdevice.patch
new file mode 100644
index 0000000000..5d3afaa49e
--- /dev/null
+++ b/packages/detect-stylus/files/install-detect-tsdevice.patch
@@ -0,0 +1,11 @@
+Index: detect-stylus/Makefile
+===================================================================
+--- detect-stylus.orig/Makefile 2008-07-28 16:30:40.000000000 +0100
++++ detect-stylus/Makefile 2008-07-28 16:31:08.000000000 +0100
+@@ -39,5 +39,6 @@
+ mkdir -p $(DESTDIR)$(PREFIX)/bin/
+ $(STRIP) $(PACKAGE)
+ install $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
++ install detect-tsdevice $(DESTDIR)$(PREFIX)/bin/detect-tsdevice
+ mkdir -p $(DESTDIR)/etc/X11/Xinit.d
+ install 70detect-stylus $(DESTDIR)/etc/X11/Xinit.d