commit:     ad76d4caa79d2b23bd258ea18f065e2631c73cf1
Author:     Robin Hallabro-Kokko <robin <AT> hallabro <DOT> nu>
AuthorDate: Mon Jan  6 13:04:41 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 03:55:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad76d4ca

x11-misc/rofi-calc: new ebuild

rofi-calc is a rofi (x11-misc/rofi) plugin that uses libqalculate's
qalc to parse natural language input and provide results.

Closes: https://bugs.gentoo.org/704864
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Robin Hallabro-Kokko <robin <AT> hallabro.nu>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-misc/rofi-calc/Manifest              |  1 +
 x11-misc/rofi-calc/metadata.xml          | 12 ++++++++++++
 x11-misc/rofi-calc/rofi-calc-1.5.ebuild  | 26 ++++++++++++++++++++++++++
 x11-misc/rofi-calc/rofi-calc-9999.ebuild | 27 +++++++++++++++++++++++++++
 4 files changed, 66 insertions(+)

diff --git a/x11-misc/rofi-calc/Manifest b/x11-misc/rofi-calc/Manifest
new file mode 100644
index 00000000000..10d3a9cc37b
--- /dev/null
+++ b/x11-misc/rofi-calc/Manifest
@@ -0,0 +1 @@
+DIST rofi-calc-1.5.tar.gz 1693385 BLAKE2B 
7ff21873ee298c4295f2766917318796d6327959e63d99adc86857d2e05534e77062c9546ba8c6cf645a12ae46147e4583a61fc95dbc6953ee642449ff108d40
 SHA512 
04213b6489cd9e3c5085a88cee07ee9413819c19d4ee08f6e2eef3ad418d21b5acaf1d4ef21f1495d81694e5706f93598c91ada65f1bcc83ce94a6cf5d50ea0c

diff --git a/x11-misc/rofi-calc/metadata.xml b/x11-misc/rofi-calc/metadata.xml
new file mode 100644
index 00000000000..08400951b2b
--- /dev/null
+++ b/x11-misc/rofi-calc/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>[email protected]</email>
+               <name>Robin Hallabro-Kokko</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/x11-misc/rofi-calc/rofi-calc-1.5.ebuild 
b/x11-misc/rofi-calc/rofi-calc-1.5.ebuild
new file mode 100644
index 00000000000..a267871cd50
--- /dev/null
+++ b/x11-misc/rofi-calc/rofi-calc-1.5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Do live calculations in rofi!"
+HOMEPAGE="https://github.com/svenstaro/rofi-calc";
+SRC_URI="https://github.com/svenstaro/rofi-calc/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       x11-misc/rofi
+       >=sci-libs/libqalculate-2.0
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       eautoreconf -i
+}

diff --git a/x11-misc/rofi-calc/rofi-calc-9999.ebuild 
b/x11-misc/rofi-calc/rofi-calc-9999.ebuild
new file mode 100644
index 00000000000..c70193f7e11
--- /dev/null
+++ b/x11-misc/rofi-calc/rofi-calc-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3 autotools
+
+DESCRIPTION="Do live calculations in rofi!"
+HOMEPAGE="https://github.com/svenstaro/rofi-calc";
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/svenstaro/rofi-calc.git";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="
+       x11-misc/rofi
+       >=sci-libs/libqalculate-2.0
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       eautoreconf -i
+}

Reply via email to