diff options
author | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2020-10-12 00:41:55 +0300 |
---|---|---|
committer | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2020-10-12 00:47:09 +0300 |
commit | 777fbb7bbb8252e2c63643d73414ab49f333ef0b (patch) | |
tree | 60ddd1b03a3ea92dea92ef888be7d83d8aa18042 /dev-vcs | |
parent | mail-client/heirloom-mailx: Updated description and add quotes (diff) | |
download | guru-777fbb7bbb8252e2c63643d73414ab49f333ef0b.tar.gz guru-777fbb7bbb8252e2c63643d73414ab49f333ef0b.tar.bz2 guru-777fbb7bbb8252e2c63643d73414ab49f333ef0b.zip |
dev-vcs/gitqlient: new package
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/gitqlient/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/gitqlient/gitqlient-1.2.0.ebuild | 58 | ||||
-rw-r--r-- | dev-vcs/gitqlient/gitqlient-9999.ebuild | 47 | ||||
-rw-r--r-- | dev-vcs/gitqlient/metadata.xml | 15 |
4 files changed, 122 insertions, 0 deletions
diff --git a/dev-vcs/gitqlient/Manifest b/dev-vcs/gitqlient/Manifest new file mode 100644 index 000000000..1767e9ca0 --- /dev/null +++ b/dev-vcs/gitqlient/Manifest @@ -0,0 +1,2 @@ +DIST QLogger-d33cb64.tar.gz 15378 BLAKE2B adb5bed0c9cc3692b384542306466046242ff50d0c7dd176f439172047991ce4252e315e8289524a9e346abc225aeb9ca89b958f00cd11710294b2885ca0f69d SHA512 bec4785dcdb4cf3434621f68830628c737ee0664223228ec68f09991b5a2090eac024fbce86d6d0614d8a709efd55e0f126c1bbf8451c1c100080df3b8cdd17f +DIST gitqlient-1.2.0.tar.gz 3768498 BLAKE2B 0daa49b79c6390e367b24d8843f37c6a633d1e12c8e3d2b7d3245fb06ea0f89c6fb3b360fdc3dfaae13568d36a413353c67fbb29e60f19221341dcb71469491a SHA512 4dd4a21a7b222c6d7586bcbf5eec26f321fc18dd6ef52507a4eb4004675b04f437f8801c817a12f16f5b5ea9b3c2e2930f445e8bb09e64d33b89f69dbf310c74 diff --git a/dev-vcs/gitqlient/gitqlient-1.2.0.ebuild b/dev-vcs/gitqlient/gitqlient-1.2.0.ebuild new file mode 100644 index 000000000..276fda5dd --- /dev/null +++ b/dev-vcs/gitqlient/gitqlient-1.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop qmake-utils xdg + +MY_PN="GitQlient" +QLogger_sha="d33cb645bb6ffc4dd929c348ca011c007351d605" + +DESCRIPTION="Multi-platform Git client written with Qt" +HOMEPAGE="https://github.com/francescmm/GitQlient" + +SRC_URI=" + https://github.com/francescmm/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/francescmm/QLogger/archive/d33cb645bb6ffc4dd929c348ca011c007351d605.tar.gz -> QLogger-d33cb64.tar.gz +" +KEYWORDS="~amd64 ~x86" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND=" + dev-qt/qtwidgets:5 + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtgui:5 +" + +RDEPEND=" + ${DEPEND} + dev-vcs/git +" + +src_prepare() { + default + mv -T "${WORKDIR}"/QLogger-"${QLogger_sha}" "${S}"/QLogger || die + + sed -i -e "s:target.path = /\$\$(HOME)/\$\${TARGET}/bin:target.path = /usr/bin:" \ + -i -e "s:TARGET = ${MY_PN}:TARGET = ${PN}:" "${MY_PN}".pro || die + + sed -i -e "s:Office:Development:" -i -e "s:Exec=${MY_PN}:Exec=${PN}:" \ + "${S}/AppImage/${MY_PN}/usr/share/applications/${MY_PN}.desktop" || die +} + +src_configure() { + eqmake5 "${MY_PN}".pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install + + domenu "${S}/AppImage/${MY_PN}/usr/share/applications/${MY_PN}.desktop" || die + doicon -s 48 "${S}/AppImage/${MY_PN}/usr/share/icons/hicolor/48x48/apps/${MY_PN}.png" || die +} diff --git a/dev-vcs/gitqlient/gitqlient-9999.ebuild b/dev-vcs/gitqlient/gitqlient-9999.ebuild new file mode 100644 index 000000000..5ee0e3c96 --- /dev/null +++ b/dev-vcs/gitqlient/gitqlient-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 qmake-utils xdg + +MY_PN="GitQlient" + +DESCRIPTION="Multi-platform Git client written with Qt" +HOMEPAGE="https://github.com/francescmm/GitQlient" + +EGIT_BRANCH="develop" +EGIT_SUBMODULES=( QLogger ) +EGIT_REPO_URI="https://github.com/francescmm/${MY_PN}.git" +SRC_URI="" +KEYWORDS="" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND=" + dev-qt/qtwidgets:5 + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtgui:5 +" + +RDEPEND=" + ${DEPEND} + dev-vcs/git +" + +src_prepare() { + default + sed -i -e "s:Office:Development:" "${S}/src/resources/${PN}.desktop" +} + +src_configure() { + eqmake5 PREFIX=/usr "${MY_PN}".pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} diff --git a/dev-vcs/gitqlient/metadata.xml b/dev-vcs/gitqlient/metadata.xml new file mode 100644 index 000000000..da4033e94 --- /dev/null +++ b/dev-vcs/gitqlient/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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> |