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

Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć
2021-03-23 08:08:33 +01:00
parent a53c05a1fe
commit 2d9f1d7765
4 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST corepins-4.1.0.tar.gz 53284 BLAKE2B 3aa3a9db716dedfa77b102fc0d20bde5c308d5ea921a322f812f41e65e6a5da4247069343e65283a35e1ccc5783d36623250f59017736db67c23d68cee186ead SHA512 6c2898d0a7475c92157213c5285cc8b711c472bb33e852a6b6f4f39f694a980858f1807d3d0eb21de050e0f008266be7dd0e544efe83a5212198946d28293c73

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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>xgqt@riseup.net</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="gitlab">cubocore/coreapps/corepins</remote-id>
</upstream>
</pkgmetadata>