diff options
-rw-r--r-- | kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch | 9 | ||||
-rw-r--r-- | kde-misc/ksuperkey/ksuperkey-99999.ebuild | 37 |
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 +} |