summaryrefslogtreecommitdiff
path: root/x11-libs/gtkhotkey
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/gtkhotkey
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/gtkhotkey')
-rw-r--r--x11-libs/gtkhotkey/Manifest6
-rw-r--r--x11-libs/gtkhotkey/files/gtkhotkey-0.2.1-glibheaders.patch22
-rw-r--r--x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild44
-rw-r--r--x11-libs/gtkhotkey/metadata.xml8
4 files changed, 80 insertions, 0 deletions
diff --git a/x11-libs/gtkhotkey/Manifest b/x11-libs/gtkhotkey/Manifest
new file mode 100644
index 000000000000..8fe1c262bc23
--- /dev/null
+++ b/x11-libs/gtkhotkey/Manifest
@@ -0,0 +1,6 @@
+AUX gtkhotkey-0.2.1-glibheaders.patch 726 SHA256 7be97ac1c768278facab2b316ecf92cde8e1e3d9a81187dc64c9270a24ebb8ef SHA512 32ed2b19a0f61edb877c70353abfd3817c3ca59010efbce6ea7d4332455e0468d527fdb5c8e749d8e6240723063dcff27b5c2589290e40fa08b0f00e0db189d5 WHIRLPOOL 2b34dd0a9541ae5675dde92956ed538c33a30eb7cc33c3a4ef1560a79307994b77e3198345ad7fa6a41469ac8b103ef5d0e6332ab21cd7f47c9e339860722bbe
+DIST gtkhotkey-0.2.1.tar.gz 382043 SHA256 fe1cf0d93026d791e856170356f56fbdff9095fe637c4a74104144c1e5111d67 SHA512 7f7e1b9bd94ff806d98277f2dafbf5b6569efdc6f0367a83e885d38584a8f6e098f31d0f03b080f2ca76394eb73e43f9da07e0d944a2e6443a55d9f2e8fee324 WHIRLPOOL 4fb7e1a131ae64c4fa0901c6444fdeb9af97cd0b85f48e282e5cc08877222f32eca9b1f279b072c2d49a8414839384560abed1d8bbc5cad94e64c09d875cb8bc
+EBUILD gtkhotkey-0.2.1-r1.ebuild 991 SHA256 f93dd4248d86414de8d7b1980c72ea45e780ef197f2919024aee928c3f1fdbc2 SHA512 ebd0360dc36b47b9079fffb9404dc0114c0e1eb0521aebddb049eea1a573f84b0be843eb63d39208674e0fd6cc985314ffe25f22fde1136c3dc11262abff96fc WHIRLPOOL 3bf28b9bfe3a9cd00d68e4d0fd81dbcc8de43d5cb4ccdc3cf739b77fcbbe2a924dbced4f54fbae88318bac6d672ea69aa3f9674931850bd9a9434dcf94b12286
+MISC ChangeLog 2979 SHA256 353dbeb6eb1e1a7024115b32016fe1364b118e9cb31572aa5d7ebde4ecf845be SHA512 b76e9b2326f625aeb8e498dfd39b49dfe3e770db66cfee2b23ef3b5b31921da175c949fd60b0e48951faa1837a1653980ef3413fa024a381681167b33a234263 WHIRLPOOL c16ea57d61f72cefe4e022e77b039efe03803a2cbc8b480647658aff0f53e8c495fd012d8896cce12dfe1dfbef7f16b87a9340d2750e02b48b3c5db04eec9832
+MISC ChangeLog-2015 2798 SHA256 6b55114a9e310cf30a44d672d719394be5670749e0d7a79e686c27211ecadbec SHA512 2208e2ad179ef2372e60deaee13f716a7cd91d697c51a8e666e0812cf720bfcdc4911e84318eaa0153cc53b94ba6aa2f093b7bb5f080a07c70f6c33c1cafe947 WHIRLPOOL cd807270da092ec41c2c4013b8e27182537c3fbaa8ceb39c7e7caf305c29f2c8ca00a9a93d2ff1ea9a8745d2365d2d5d2e0cbe0e4b10c4674c1aab598c081ac4
+MISC metadata.xml 244 SHA256 27d3cf765275db4362085480caa8b7e197e9a26194ed1d966b970c25456c1299 SHA512 6fe538123e95fd8536bc8965f2f8316828a399536618130db5b27f08add330a0bdef412e1f5ac8360df5c7bd8df56789e716d6d1d8cfd7b31f8c5e126f64f391 WHIRLPOOL c323167249a8d0d4029abe684a1fe1789590c35547e65a0c9d05bde956b70dcca104b19789e6b2a7991e969bc4f8f83b1075128c0a523b90095ac2cb68cc0915
diff --git a/x11-libs/gtkhotkey/files/gtkhotkey-0.2.1-glibheaders.patch b/x11-libs/gtkhotkey/files/gtkhotkey-0.2.1-glibheaders.patch
new file mode 100644
index 000000000000..389db601c43f
--- /dev/null
+++ b/x11-libs/gtkhotkey/files/gtkhotkey-0.2.1-glibheaders.patch
@@ -0,0 +1,22 @@
+diff -Nurp gtkhotkey-0.2.1/src/gtk-hotkey-error.h gtkhotkey-0.2.1_patched//src/gtk-hotkey-error.h
+--- gtkhotkey-0.2.1/src/gtk-hotkey-error.h 2009-09-03 22:52:49.000000000 +0200
++++ gtkhotkey-0.2.1_patched//src/gtk-hotkey-error.h 2012-02-19 12:04:19.483701649 +0100
+@@ -23,7 +23,7 @@
+ #ifndef __GTK_HOTKEY_ERROR_H__
+ #define __GTK_HOTKEY_ERROR_H__
+
+-#include <glib/gquark.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
+--- gtkhotkey-0.2.1/src/x11/tomboykeybinder.h 2009-09-03 22:52:49.000000000 +0200
++++ gtkhotkey-0.2.1-r1/src/x11/tomboykeybinder.h 2012-02-19 21:40:09.004325272 +0100
+@@ -2,7 +2,7 @@
+ #ifndef __TOMBOY_KEY_BINDER_H__
+ #define __TOMBOY_KEY_BINDER_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
diff --git a/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild b/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..c4e3b9053cff
--- /dev/null
+++ b/x11-libs/gtkhotkey/gtkhotkey-0.2.1-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+MY_CRV=$(get_version_component_range 1-2)
+
+RESTRICT="test"
+# Tests try to access live filesystem
+# See https://bugs.gentoo.org/show_bug.cgi?id=259052#c3
+
+DESCRIPTION="Cross platform library for using desktop wide hotkeys"
+HOMEPAGE="https://launchpad.net/gtkhotkey"
+SRC_URI="https://launchpad.net/${PN}/${MY_CRV}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+COMMON_DEPEND=">=dev-libs/glib-2.16
+ >=x11-libs/gtk+-2.12:2"
+
+RDEPEND="${COMMON_DEPEND}
+ virtual/libintl"
+
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ >=dev-util/intltool-0.35.0
+ sys-devel/gettext"
+
+PATCHES=( "${FILESDIR}/${P}-glibheaders.patch" )
+
+src_prepare() {
+ sed -i -e "s: install-gtkhotkeydocDATA ::" Makefile.in || die "Patching Makefile.in failed"
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/x11-libs/gtkhotkey/metadata.xml b/x11-libs/gtkhotkey/metadata.xml
new file mode 100644
index 000000000000..67a70ede9b49
--- /dev/null
+++ b/x11-libs/gtkhotkey/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="launchpad">gtkhotkey</remote-id>
+ </upstream>
+</pkgmetadata>