dev-vcs/gitqlient: 1.6.3 (qt6) version bump

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov
2024-10-31 22:36:50 +03:00
parent 7b2c9ea89e
commit 7dbef0f939
3 changed files with 51 additions and 13 deletions

View File

@@ -1 +1,2 @@
DIST gitqlient-1.6.2.tar.gz 4975350 BLAKE2B 86edd00f8b5647d9e9f7096f5306d330c66e0eb474447df94a320734126c37e370384ddf12fdec58764d57834c1a0b9489911db1b4f590368da1de904eafb51a SHA512 ca8c6c30b7acade8120afa9df568d6b61f4f521b13f5541bc136810a014d4ace30c54ca973ddd4a4368a6f59f22ec3d91b87bac8a6c9861953ac1ee0195d717e
DIST gitqlient-1.6.3.tar.gz 5033798 BLAKE2B fd3e6eac72abd99955d64e2e330d123397b9408f57bc569c28e4564349ffb7f88a82d3bdd4e07c1de623229274f1ddf181bee9a69703668cc7c544d9676b56fe SHA512 d805a2a9bd136716ccd7637dacb34087e4b74f298de0b67b9a53238eb2d5b765dcbb064d4c30e0c6c3af37668dbf75ec495f12b393d8031ff329170d3c59fda2

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit 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"
S="${WORKDIR}/${PN}_${PV}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-qt/qtbase:6[gui,network,widgets]"
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() {
eqmake6 PREFIX=/usr "${MY_PN}".pro
}
src_install() {
emake INSTALL_ROOT="${D}" install
}
pkg_postinst() {
xdg_pkg_postinst
}

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 optfeature qmake-utils xdg
inherit git-r3 qmake-utils xdg
MY_PN="GitQlient"
@@ -14,19 +14,14 @@ 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
"
DEPEND="dev-qt/qtbase:6[gui,network,widgets]"
RDEPEND="
${DEPEND}
dev-vcs/git
"
src_configure() {
eqmake5 PREFIX=/usr "${MY_PN}".pro
eqmake6 PREFIX=/usr "${MY_PN}".pro
}
src_install() {
@@ -34,9 +29,5 @@ src_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
}