summaryrefslogtreecommitdiff
path: root/packages/keylaunch/keylaunch_2.0.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/keylaunch/keylaunch_2.0.10.bb')
-rw-r--r--packages/keylaunch/keylaunch_2.0.10.bb34
1 files changed, 7 insertions, 27 deletions
diff --git a/packages/keylaunch/keylaunch_2.0.10.bb b/packages/keylaunch/keylaunch_2.0.10.bb
index f7d63968ac..d267dbac30 100644
--- a/packages/keylaunch/keylaunch_2.0.10.bb
+++ b/packages/keylaunch/keylaunch_2.0.10.bb
@@ -1,10 +1,7 @@
inherit gpe
-DEPENDS = "virtual/xserver libxtst libxau libxpm libgpelaunch display-brightness"
-
-RDEPENDS_append_spitz = " display-brightness"
-RDEPENDS_append_akita = " display-brightness"
-RDEPENDS_append_c7x0 = " display-brightness"
+DEPENDS = "virtual/xserver libxtst libxau libxpm libgpelaunch keylaunch-conf"
+RDEPENDS = "keylaunch-conf"
SECTION = "gpe"
LICENSE = "GPL"
@@ -14,31 +11,14 @@ DESCRIPTION = "A small utility for binding commands to a hot key.\
computers. You can connect each key to a program of your choice; if the\
program is already running, keylaunch can bring its window to the front\
rather than just running another copy."
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-PR = "r12"
+PR = "r13.5"
-SRC_URI += " file://keylaunchrc"
SRC_URI += " file://makefile-fix.patch;patch=1"
-SRC_URI += " file://80chvt-SUID"
-
-do_install_prepend () {
- install ${WORKDIR}/keylaunchrc ${S}/keylaunchrc
-
- install -d ${D}/etc/X11/Xinit.d
- install ${WORKDIR}/80chvt-SUID ${D}/etc/X11/Xinit.d
-}
-
-do_install_append() {
- # yeah I know...this is less than ideal
- mv ${D}/etc/keylaunchrc ${D}/etc/keylaunchrc.matchbox
-}
export CVSBUILD="no"
-pkg_postinst_${PN}() {
- update-alternatives --install /etc/keylaunchrc keylaunchrc /etc/keylaunchrc.matchbox 10
-}
-
-pkg_postrm_${PN}() {
- update-alternatives --remove keylaunchrc /etc/keylaunchrc.matchbox
+do_install_append() {
+ # Remove random crap
+ rm ${D}/etc/keylaunchrc
+ rm -rf ${D}/etc/X11/Xinit.d/
}