dev-vcs/gitqlient: restore removed package with plugins

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov
2024-03-25 23:43:38 +03:00
parent cffb2b05a6
commit 4396db0823
10 changed files with 249 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST gitqlient-1.6.1.tar.gz 4971880 BLAKE2B b793dd406d1dff7aa193916a08dc5c10159eb54f79d2d9930b672aed5ee5d98fe3d6afb1869032bdeee1790b078a5fefa8064506353d56e870ea95bb24ebcc26 SHA512 e115c9fca6c8fe17b32d326a7f649d35ea55fd1f4c1df7c30962e9f07382d246cd23b8dbdbf6759620d1ba7ba9c48c7a391b2e0a730a58bba9f1ba6425a2da9e
DIST gitqlient-GitServerPlugin-0.2.0.tar.gz 78411 BLAKE2B 4220f0d53abccac79a21cb5cb2e1cad608fbfc62afe797ed446594a642010f6476c519c3ba807db4cbc8f51150420186933cfeb18b27b98ddfd18882213e04e2 SHA512 d01c8fd3132d03f1f819ec7c81f920f6e37146f43182c322d6048ba008ab83dac71b43510445fe9ec5612555e1b18c2afb4a0193dd1a3dabb3b80ae35e9e9381

View File

@@ -0,0 +1,55 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qmake-utils
MY_PN="GitServerPlugin"
GQ="GitQlient"
GQ_PN="gitqlient"
GQ_PV="1.6.1"
DESCRIPTION="GitQlient GitServer plugin"
HOMEPAGE="https://github.com/francescmm/GitServerPlugin"
SRC_URI="
https://github.com/francescmm/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${GQ_PN}-${MY_PN}-${PV}.tar.gz
https://github.com/francescmm/${GQ}/releases/download/v${GQ_PV}/${GQ_PN}_${GQ_PV}.tar.gz -> ${GQ_PN}-${GQ_PV}.tar.gz
"
KEYWORDS="~amd64"
LICENSE="LGPL-2.1"
SLOT="0"
S="${WORKDIR}/${MY_PN}-${PV}"
PDEPEND=">=dev-vcs/gitqlient-1.6.1"
RDEPEND="
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
dev-qt/qtwebengine:5[widgets]
"
DEPEND="${DEPEND}"
# No need SONAME for runtime plugin
QA_SONAME="usr/lib.*/lib${MY_PN}.so"
src_prepare() {
default
mv -T ../"${GQ_PN}_${GQ_PV}"/src/AuxiliarCustomWidgets src/AuxiliarCustomWidgets || die
mv -T ../"${GQ_PN}_${GQ_PV}"/src/QLogger src/QLogger || die
mv -T ../"${GQ_PN}_${GQ_PV}"/src/git src/git || die
}
src_configure() {
eqmake5 "${MY_PN}".pro
}
src_install() {
dolib.so lib/lib"${MY_PN}".so
}
pkg_postinst() {
elog "To use ${MY_PN} set PluginFolder in GitQlient settings Plugin tab to /usr/$(get_libdir)"
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>torokhov-s-a@yandex.ru</email>
<name>Sergey Torokhov</name>
</maintainer>
<upstream>
<remote-id type="github">francescmm/GitServerPlugin</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,2 @@
DIST gitqlient-1.6.1.tar.gz 4971880 BLAKE2B b793dd406d1dff7aa193916a08dc5c10159eb54f79d2d9930b672aed5ee5d98fe3d6afb1869032bdeee1790b078a5fefa8064506353d56e870ea95bb24ebcc26 SHA512 e115c9fca6c8fe17b32d326a7f649d35ea55fd1f4c1df7c30962e9f07382d246cd23b8dbdbf6759620d1ba7ba9c48c7a391b2e0a730a58bba9f1ba6425a2da9e
DIST gitqlient-JenkinsPlugin-0.2.0.tar.gz 29474 BLAKE2B f8dfb020f68ec474b0d15b62a5566316f21cd29f4878170bcf7940e3df596a970535d5db3c3f05f12d18fdff5f5b6f99db242c807e8554754f08f14ad31997a0 SHA512 0c3089b80116974a687821940d7e78c6b663acf50cb060cff824d3e1e1838773eca8ed671778d2cf016d0b3e5fff8daab958f765af4eacc04dea66864966ae8e

View File

@@ -0,0 +1,55 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qmake-utils
MY_PN="JenkinsPlugin"
GQ="GitQlient"
GQ_PN="gitqlient"
GQ_PV="1.6.1"
DESCRIPTION="GitQlient Jenkins plugin"
HOMEPAGE="https://github.com/francescmm/JenkinsPlugin"
SRC_URI="
https://github.com/francescmm/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${GQ_PN}-${MY_PN}-${PV}.tar.gz
https://github.com/francescmm/${GQ}/releases/download/v${GQ_PV}/${GQ_PN}_${GQ_PV}.tar.gz -> ${GQ_PN}-${GQ_PV}.tar.gz
"
KEYWORDS="~amd64"
LICENSE="LGPL-2.1"
SLOT="0"
S="${WORKDIR}/${MY_PN}-${PV}"
PDEPEND=">=dev-vcs/gitqlient-1.6.1"
RDEPEND="
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
dev-qt/qtwebengine:5[widgets]
"
DEPEND="${DEPEND}"
# No need SONAME for runtime plugin
QA_SONAME="usr/lib.*/lib${MY_PN}.so"
src_prepare() {
default
mv -T ../"${GQ_PN}_${GQ_PV}"/src/AuxiliarCustomWidgets src/AuxiliarCustomWidgets || die
mv -T ../"${GQ_PN}_${GQ_PV}"/src/QLogger src/QLogger || die
mv -T ../"${GQ_PN}_${GQ_PV}"/src/QPinnableTabWidget src/QPinnableTabWidget || die
}
src_configure() {
eqmake5 "${MY_PN}".pro
}
src_install() {
dolib.so lib/lib"${MY_PN}".so
}
pkg_postinst() {
elog "To use ${MY_PN} set PluginFolder in GitQlient settings Plugin tab to /usr/$(get_libdir)"
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>torokhov-s-a@yandex.ru</email>
<name>Sergey Torokhov</name>
</maintainer>
<upstream>
<remote-id type="github">francescmm/JenkinsPlugin</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST gitqlient-1.6.2.tar.gz 4975350 BLAKE2B 86edd00f8b5647d9e9f7096f5306d330c66e0eb474447df94a320734126c37e370384ddf12fdec58764d57834c1a0b9489911db1b4f590368da1de904eafb51a SHA512 ca8c6c30b7acade8120afa9df568d6b61f4f521b13f5541bc136810a014d4ace30c54ca973ddd4a4368a6f59f22ec3d91b87bac8a6c9861953ac1ee0195d717e

View File

@@ -0,0 +1,55 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature qmake-utils xdg
MY_PN="GitQlient"
DESCRIPTION="Multi-platform Git client written with Qt"
HOMEPAGE="https://github.com/francescmm/GitQlient"
SRC_URI="https://github.com/francescmm/${MY_PN}/releases/download/v${PV}/${PN}_${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}_${PV}"
LICENSE="LGPL-2.1"
SLOT="0"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
"
RDEPEND="
${DEPEND}
dev-vcs/git
"
src_prepare() {
default
# Drop 'fatal' warning on version detection via git command:
sed -i -e '/message("Submodule update:")/d' \
-e "/system(git submodule update --init --recursive)/d" \
-e "/GQ_SHA =/s| \$\$system(git rev-parse --short HEAD)||" \
-e "/VERSION =/s| \$\$system(git describe --abbrev=0)||" "${MY_PN}".pro || die
}
src_configure() {
eqmake5 PREFIX=/usr "${MY_PN}".pro
}
src_install() {
emake INSTALL_ROOT="${D}" install
}
pkg_postinst() {
optfeature "Terminal tab plugin support" x11-libs/qtermwidget
optfeature "GitServer plugin support" dev-vcs/gitqlient-gitserver-plugin
optfeature "Jenkins plugin support" dev-vcs/gitqlient-jenkins-plugin
elog "To use plugins set PluginFolder in GitQlient settings Plugin tab to /usr/$(get_libdir)"
xdg_pkg_postinst
}

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 optfeature qmake-utils xdg
MY_PN="GitQlient"
DESCRIPTION="Multi-platform Git client written with Qt"
HOMEPAGE="https://github.com/francescmm/GitQlient"
EGIT_REPO_URI="https://github.com/francescmm/${MY_PN}.git"
LICENSE="LGPL-2.1"
SLOT="0"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
"
RDEPEND="
${DEPEND}
dev-vcs/git
"
src_configure() {
eqmake5 PREFIX=/usr "${MY_PN}".pro
}
src_install() {
emake INSTALL_ROOT="${D}" install
}
pkg_postinst() {
optfeature "Terminal tab plugin support" x11-libs/qtermwidget
optfeature "GitServer plugin support" dev-vcs/gitqlient-gitserver-plugin
optfeature "Jenkins plugin support" dev-vcs/gitqlient-jenkins-plugin
elog "To use plugins set PluginFolder in GitQlient settings Plugin tab to /usr/$(get_libdir)"
xdg_pkg_postinst
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>torokhov-s-a@yandex.ru</email>
<name>Sergey Torokhov</name>
</maintainer>
<longdescription lang="en">
GitQlient, pronounced as git+client is a multi-platform Git client originally forked from QGit.
Nowadays it goes beyond of just a fork and adds a lot of new functionality.
</longdescription>
<upstream>
<remote-id type="github">francescmm/GitQlient</remote-id>
</upstream>
</pkgmetadata>