summaryrefslogtreecommitdiff
path: root/kde-misc
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-06-24 10:49:54 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-06-24 10:49:54 +0300
commit66c035f64fef20199fad12fb75285aec3ffe8b33 (patch)
tree52417e0600a3c1885b2e8cd163d6d5b1368c964a /kde-misc
parent3f3eb088770626f5798e801e40404e6336f8628e (diff)
parentdc902eb88e6dfa3cc46a065a8a5fc8c708c94915 (diff)
Merge branch 'master' of github.com:Rogentos/kogaion-desktop
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch9
-rw-r--r--kde-misc/ksuperkey/ksuperkey-99999.ebuild37
2 files changed, 46 insertions, 0 deletions
diff --git a/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch b/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch
new file mode 100644
index 00000000..8237c681
--- /dev/null
+++ b/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch
@@ -0,0 +1,9 @@
+--- ksuperkey.desktop.orig 2014-09-20 02:47:18.006202520 +0300
++++ ksuperkey.desktop 2014-09-20 02:49:39.237793168 +0300
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Exec=ksuperkey
++Exec=ksuperkey -e 'Super_L=Alt_L|F2'
+ X-DBUS-StartupType=none
+ Name=ksuperkey
+ Type=Service
diff --git a/kde-misc/ksuperkey/ksuperkey-99999.ebuild b/kde-misc/ksuperkey/ksuperkey-99999.ebuild
new file mode 100644
index 00000000..f7e7ad42
--- /dev/null
+++ b/kde-misc/ksuperkey/ksuperkey-99999.ebuild
@@ -0,0 +1,37 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils git-2
+
+DESCRIPTION="Open the KDE Plasma application launcher using the Super key (patched to bind Krunner to Super key)"
+HOMEPAGE="https://github.com/hanschen/ksuperkey"
+
+EGIT_BRANCH=master
+EGIT_REPO_URI="https://github.com/hanschen/ksuperkey.git"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+DEPEND="x11-libs/libXtst
+ x11-libs/libX11"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+
+src_prepare() {
+ epatch -p0 ${FILESDIR}/bind_krunner_to_super_key.patch
+}
+
+src_compile() {
+ cd "${S}"
+ make || die "Make failed"
+}
+
+src_install() {
+ default
+}