summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/key-mon/Manifest1
-rw-r--r--app-misc/key-mon/key-mon-1.13.ebuild60
-rw-r--r--app-misc/key-mon/metadata.xml10
3 files changed, 71 insertions, 0 deletions
diff --git a/app-misc/key-mon/Manifest b/app-misc/key-mon/Manifest
new file mode 100644
index 0000000..97c1dab
--- /dev/null
+++ b/app-misc/key-mon/Manifest
@@ -0,0 +1 @@
+DIST key-mon-1.13.tar.gz 164914 SHA256 b2c6235bf2f9d757a87717dc94eb073b205d43a09beed098d7d873ec2da3070a SHA512 c5ce3cf961fd38c3e8545f165387c8e8cc39461850694404347d370fa12cd5285b32e891df817d11d3f2e9399ffb51530009dcbfafd71a0ed90215af42ef1de0 WHIRLPOOL 58c9286e2bc2918e7d4537916a5a0328452011e0f92aeee1506bcdbcf1226b7fd9f6c9f691178764a0e124610f19a9014291e41c16b6b339f1959e982d1f7f25
diff --git a/app-misc/key-mon/key-mon-1.13.ebuild b/app-misc/key-mon/key-mon-1.13.ebuild
new file mode 100644
index 0000000..1eb0786
--- /dev/null
+++ b/app-misc/key-mon/key-mon-1.13.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+
+inherit python eutils fdo-mime
+
+DESCRIPTION="Keyboard Status Monitor"
+HOMEPAGE="https://code.google.com/p/key-mon/"
+SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ gnome-base/librsvg
+ dev-python/pygtk:2
+ dev-python/python-xlib
+ x11-proto/recordproto
+ x11-libs/gtk+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs 2 src/${PN}
+ python_convert_shebangs 2 src/keymon/*.py
+}
+
+src_install() {
+
+ insinto /usr/share/${PN}
+ doins -r src/*
+ fperms 755 /usr/share/${PN}/${PN}
+ dosym /usr/share/${PN}/${PN} /usr/bin/${PN}
+ doman man/${PN}.1
+ newdoc README.rst README
+ domenu icons/${PN}.desktop
+
+ insinto /usr/share/mime/packages/
+ doins icons/${PN}.xpm
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}
diff --git a/app-misc/key-mon/metadata.xml b/app-misc/key-mon/metadata.xml
new file mode 100644
index 0000000..c1f6711
--- /dev/null
+++ b/app-misc/key-mon/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ThyArmageddon+Gentoo@Gmail.com</email>
+ <name>Elijah El Lazkani</name>
+ </maintainer>
+ <longdescription lang="en">A screencast utility that displays your keyboard and mouse status.</longdescription>
+ <longdescription lang="pt_BR">A scrrmento que mostra as teclas e botões pressionados.</longdescription>
+</pkgmetadata>