commit:     1092d460e710305277a7a62a8a9f78ad9b97039a
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sat Jun  6 19:59:51 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jun  6 19:59:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1092d460

x11-misc/gromit-mpx: New package.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>

 x11-misc/gromit-mpx/Manifest               |  1 +
 x11-misc/gromit-mpx/gromit-mpx-1.3.ebuild  | 37 ++++++++++++++++++++++++++++++
 x11-misc/gromit-mpx/gromit-mpx-9999.ebuild | 37 ++++++++++++++++++++++++++++++
 x11-misc/gromit-mpx/metadata.xml           | 12 ++++++++++
 4 files changed, 87 insertions(+)

diff --git a/x11-misc/gromit-mpx/Manifest b/x11-misc/gromit-mpx/Manifest
new file mode 100644
index 0000000..f5ab9d4
--- /dev/null
+++ b/x11-misc/gromit-mpx/Manifest
@@ -0,0 +1 @@
+DIST gromit-mpx-1.3.tar.gz 56835 BLAKE2B 
900df398b22f0c818045b905eff3e2c63ad8fea3a3a03fab3cefea0f4a956a5633a5653cbe56a1f9a7f1fd2b5f9eebecfe8ce4a801c565d958cc372cfae22708
 SHA512 
7819c0d7684b05c812a476504df221edf005cc854c9184218cffda5c3692d865d358610d8541eb8ebd257e3d471e41d959afbca2aa118329826cfce99a13384f

diff --git a/x11-misc/gromit-mpx/gromit-mpx-1.3.ebuild 
b/x11-misc/gromit-mpx/gromit-mpx-1.3.ebuild
new file mode 100644
index 0000000..8f419cb
--- /dev/null
+++ b/x11-misc/gromit-mpx/gromit-mpx-1.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Gromit-MPX is a multi-pointer GTK3 port of the Gromit desktop 
annotation tool."
+HOMEPAGE="https://github.com/bk138/${PN}";
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/bk138/${PN}.git";
+       KEYWORDS=""
+else
+       SRC_URI="https://github.com/bk138/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+SLOT="0"
+LICENSE="GPL-2"
+
+RDEPEND="
+       x11-libs/gtk+:3
+       dev-libs/libappindicator:3
+       x11-libs/libX11
+       >=x11-apps/xinput-1.3
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc
+       )
+
+       cmake-utils_src_configure
+}

diff --git a/x11-misc/gromit-mpx/gromit-mpx-9999.ebuild 
b/x11-misc/gromit-mpx/gromit-mpx-9999.ebuild
new file mode 100644
index 0000000..8f419cb
--- /dev/null
+++ b/x11-misc/gromit-mpx/gromit-mpx-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="Gromit-MPX is a multi-pointer GTK3 port of the Gromit desktop 
annotation tool."
+HOMEPAGE="https://github.com/bk138/${PN}";
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/bk138/${PN}.git";
+       KEYWORDS=""
+else
+       SRC_URI="https://github.com/bk138/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+SLOT="0"
+LICENSE="GPL-2"
+
+RDEPEND="
+       x11-libs/gtk+:3
+       dev-libs/libappindicator:3
+       x11-libs/libX11
+       >=x11-apps/xinput-1.3
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc
+       )
+
+       cmake-utils_src_configure
+}

diff --git a/x11-misc/gromit-mpx/metadata.xml b/x11-misc/gromit-mpx/metadata.xml
new file mode 100644
index 0000000..95c9cae
--- /dev/null
+++ b/x11-misc/gromit-mpx/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>o.freyerm...@googlemail.com</email>
+    <name>Oliver Freyermuth</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/bk138/gromit-mpx/issues</bugs-to>
+    <remote-id type="github">bk138/gromit-mpx</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to