commit:     2d9f1d77657db1dfd7260de738434e3ad688839c
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Tue Mar 23 07:08:33 2021 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Tue Mar 23 07:33:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d9f1d77

gui-apps/corepins: new pkg; add 4.1.0 and live

Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 gui-apps/corepins/Manifest              |  1 +
 gui-apps/corepins/corepins-4.1.0.ebuild | 53 +++++++++++++++++++++++++++++++++
 gui-apps/corepins/corepins-9999.ebuild  | 53 +++++++++++++++++++++++++++++++++
 gui-apps/corepins/metadata.xml          | 11 +++++++
 4 files changed, 118 insertions(+)

diff --git a/gui-apps/corepins/Manifest b/gui-apps/corepins/Manifest
new file mode 100644
index 00000000..6b1d122b
--- /dev/null
+++ b/gui-apps/corepins/Manifest
@@ -0,0 +1 @@
+DIST corepins-4.1.0.tar.gz 53284 BLAKE2B 
3aa3a9db716dedfa77b102fc0d20bde5c308d5ea921a322f812f41e65e6a5da4247069343e65283a35e1ccc5783d36623250f59017736db67c23d68cee186ead
 SHA512 
6c2898d0a7475c92157213c5285cc8b711c472bb33e852a6b6f4f39f694a980858f1807d3d0eb21de050e0f008266be7dd0e544efe83a5212198946d28293c73

diff --git a/gui-apps/corepins/corepins-4.1.0.ebuild 
b/gui-apps/corepins/corepins-4.1.0.ebuild
new file mode 100644
index 00000000..94fbe2e9
--- /dev/null
+++ b/gui-apps/corepins/corepins-4.1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils xdg
+
+DESCRIPTION="A bookmarking app for C Suite"
+HOMEPAGE="https://gitlab.com/cubocore/coreapps/corepins";
+
+if [[ "${PV}" == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://gitlab.com/cubocore/coreapps/${PN}.git";
+else
+       
SRC_URI="https://gitlab.com/cubocore/coreapps/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz
 -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+       S="${WORKDIR}/${PN}-v${PV}"
+fi
+
+RESTRICT="test"
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+       gui-libs/libcprime
+"
+RDEPEND="
+       ${DEPEND}
+"
+
+src_prepare() {
+       default
+
+       sed -i 's/C Suite/X-CSuite/' *.desktop || die
+       sed -i 's/CSuite/X-CSuite/' *.desktop || die
+}
+
+src_configure() {
+       eqmake5
+}
+
+src_compile() {
+       emake
+}
+
+src_install() {
+       einstalldocs
+
+       emake INSTALL_ROOT="${D}" install
+}

diff --git a/gui-apps/corepins/corepins-9999.ebuild 
b/gui-apps/corepins/corepins-9999.ebuild
new file mode 100644
index 00000000..94fbe2e9
--- /dev/null
+++ b/gui-apps/corepins/corepins-9999.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils xdg
+
+DESCRIPTION="A bookmarking app for C Suite"
+HOMEPAGE="https://gitlab.com/cubocore/coreapps/corepins";
+
+if [[ "${PV}" == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://gitlab.com/cubocore/coreapps/${PN}.git";
+else
+       
SRC_URI="https://gitlab.com/cubocore/coreapps/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz
 -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+       S="${WORKDIR}/${PN}-v${PV}"
+fi
+
+RESTRICT="test"
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+       gui-libs/libcprime
+"
+RDEPEND="
+       ${DEPEND}
+"
+
+src_prepare() {
+       default
+
+       sed -i 's/C Suite/X-CSuite/' *.desktop || die
+       sed -i 's/CSuite/X-CSuite/' *.desktop || die
+}
+
+src_configure() {
+       eqmake5
+}
+
+src_compile() {
+       emake
+}
+
+src_install() {
+       einstalldocs
+
+       emake INSTALL_ROOT="${D}" install
+}

diff --git a/gui-apps/corepins/metadata.xml b/gui-apps/corepins/metadata.xml
new file mode 100644
index 00000000..02f0f414
--- /dev/null
+++ b/gui-apps/corepins/metadata.xml
@@ -0,0 +1,11 @@
+<?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>Maciej Barć</name>
+    </maintainer>
+    <upstream>
+        <remote-id type="gitlab">cubocore/coreapps/corepins</remote-id>
+    </upstream>
+</pkgmetadata>

Reply via email to