commit:     7dbef0f9396cf9731b63a7c0d83e2c792b146031
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Thu Oct 31 19:36:50 2024 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Thu Oct 31 19:36:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7dbef0f9

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

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-vcs/gitqlient/Manifest               |  1 +
 dev-vcs/gitqlient/gitqlient-1.6.3.ebuild | 46 ++++++++++++++++++++++++++++++++
 dev-vcs/gitqlient/gitqlient-9999.ebuild  | 17 +++---------
 3 files changed, 51 insertions(+), 13 deletions(-)

diff --git a/dev-vcs/gitqlient/Manifest b/dev-vcs/gitqlient/Manifest
index 82a174555..43d078cf3 100644
--- a/dev-vcs/gitqlient/Manifest
+++ b/dev-vcs/gitqlient/Manifest
@@ -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

diff --git a/dev-vcs/gitqlient/gitqlient-1.6.3.ebuild 
b/dev-vcs/gitqlient/gitqlient-1.6.3.ebuild
new file mode 100644
index 000000000..a1047e8fd
--- /dev/null
+++ b/dev-vcs/gitqlient/gitqlient-1.6.3.ebuild
@@ -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
+}

diff --git a/dev-vcs/gitqlient/gitqlient-9999.ebuild 
b/dev-vcs/gitqlient/gitqlient-9999.ebuild
index 7e5ab5757..cefb7fe95 100644
--- a/dev-vcs/gitqlient/gitqlient-9999.ebuild
+++ b/dev-vcs/gitqlient/gitqlient-9999.ebuild
@@ -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
 }

Reply via email to