From 055b6764385ce1209e641f5b6d4521e5779138a1 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Sun, 12 Feb 2023 18:32:33 +0300 Subject: [PATCH] dev-vcs/gitqlient-jenkins-plugin: new package v0.2.0 Signed-off-by: Sergey Torokhov --- dev-vcs/gitqlient-jenkins-plugin/Manifest | 2 + .../gitqlient-jenkins-plugin-0.2.0.ebuild | 55 +++++++++++++++++++ dev-vcs/gitqlient-jenkins-plugin/metadata.xml | 11 ++++ 3 files changed, 68 insertions(+) create mode 100644 dev-vcs/gitqlient-jenkins-plugin/Manifest create mode 100644 dev-vcs/gitqlient-jenkins-plugin/gitqlient-jenkins-plugin-0.2.0.ebuild create mode 100644 dev-vcs/gitqlient-jenkins-plugin/metadata.xml diff --git a/dev-vcs/gitqlient-jenkins-plugin/Manifest b/dev-vcs/gitqlient-jenkins-plugin/Manifest new file mode 100644 index 0000000000..ff31e25c39 --- /dev/null +++ b/dev-vcs/gitqlient-jenkins-plugin/Manifest @@ -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 diff --git a/dev-vcs/gitqlient-jenkins-plugin/gitqlient-jenkins-plugin-0.2.0.ebuild b/dev-vcs/gitqlient-jenkins-plugin/gitqlient-jenkins-plugin-0.2.0.ebuild new file mode 100644 index 0000000000..8ffd752420 --- /dev/null +++ b/dev-vcs/gitqlient-jenkins-plugin/gitqlient-jenkins-plugin-0.2.0.ebuild @@ -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 ~x86" +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)" +} diff --git a/dev-vcs/gitqlient-jenkins-plugin/metadata.xml b/dev-vcs/gitqlient-jenkins-plugin/metadata.xml new file mode 100644 index 0000000000..6df263613a --- /dev/null +++ b/dev-vcs/gitqlient-jenkins-plugin/metadata.xml @@ -0,0 +1,11 @@ + + + + + torokhov-s-a@yandex.ru + Sergey Torokhov + + + francescmm/JenkinsPlugin + +