public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-vcs/gitahead/
Date: Sun, 29 Nov 2020 10:34:07 +0000 (UTC)	[thread overview]
Message-ID: <1606584923.8bcb90c2a8aa2a31b16b22cad370fb31dd7e404d.andrewammerlaan@gentoo> (raw)

commit:     8bcb90c2a8aa2a31b16b22cad370fb31dd7e404d
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sat Nov 28 17:35:23 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Nov 28 17:35:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8bcb90c2

dev-vcs/gitahead: new pkg; add version 2.6.3

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 dev-vcs/gitahead/Manifest              |  6 +++
 dev-vcs/gitahead/gitahead-2.6.3.ebuild | 90 ++++++++++++++++++++++++++++++++++
 dev-vcs/gitahead/metadata.xml          | 14 ++++++
 3 files changed, 110 insertions(+)

diff --git a/dev-vcs/gitahead/Manifest b/dev-vcs/gitahead/Manifest
new file mode 100644
index 00000000..f5431ce0
--- /dev/null
+++ b/dev-vcs/gitahead/Manifest
@@ -0,0 +1,6 @@
+DIST gitahead-2.6.3-dep_cmark_cmark.tar.gz 231023 BLAKE2B b3e5768c04d33a6273befa8f1aa121b1f4df7ab1c4791c093681186b74b9a819824ff7d6369b456fe94e121344eecd704e71657d8004b1ef66b54ec4cb2a6abd SHA512 65fe291cfc9d163dff8ae69f98cb3449434405a50835056d2bf4aff43131f23d7d837c4ec7aa9bec93df184ff5d1210bff522d702fbddc96844dcf98f515d0b7
+DIST gitahead-2.6.3-dep_git_git.tar.gz 7968616 BLAKE2B 7d2ea9e1ca1faa1a8b66a9db6b213c02be966cec74abe085139e3e966adcff9efbd74fb942ad145ddea64bab94a6006b91b512c96aa645cb124bcaf6e5a488eb SHA512 37a77870e0df748b023f5381aa969f1126b142a3470c9df4e01d86cf3418a0b0e4cb16a37ef7b162f285bdd540559a3511488ec8591b2f88e495626df019c03f
+DIST gitahead-2.6.3-dep_libgit2_libgit2.tar.gz 5322459 BLAKE2B 2a5a4e98e3d6f2883f60604ea5721a56fbc9f3c2403686cda5b65e3fe859bbbe773d30d7fbf8a9d1549aeeda3367526d8604047a27cde490edc8f3fb982fa0c6 SHA512 068be7000e8c9f01073ffa315e398b687e937fbd63fb77021a307cfefc8382ddb085a36f6a2b40bade355d6ffcb1772de8551b9eb6f9eb56877805883804114d
+DIST gitahead-2.6.3-dep_libssh2_libssh2.tar.gz 464738 BLAKE2B 6520c4df6584798505da8e14bfb4fe43389d0b3702d7eee6ce6b604d3260df7fda5c79cef8f69614035efeb31e516da63464313e11f64b6e8995a39c814683e8 SHA512 e86c0787e2aa7be5e9f19356e543493e53c7d1b51b585c46facfb05f769e6491209f820b207bf594348f4760c492c32dda3fcc94fc0af93cb09c736492a8e231
+DIST gitahead-2.6.3-dep_openssl_openssl.tar.gz 11271304 BLAKE2B 35ed131c683d4bb343ca5891553eef3c6079a90b475d54e1d68917b7fb3d88e34880c8f222d2f2633e2ed4eb52c3b2ca57def4d48e16693e2e766666915dd0f4 SHA512 98c0491ea2051120cbb369ac1e069028d21746d70a3a9cb5553ea27d52ab2e68353390c89e9c0202cea2fcd0b1a39cc070e29119b322aedd3d58e014626f6f05
+DIST gitahead-2.6.3.tar.gz 34528473 BLAKE2B e35a055e62dab67d7a6efd0e9783ff485d3208b85e8e799f722d1346f55b1cdd1c7983631aab1766d2d64577e3ba37350fa89713f25562273c52ecfca43029d8 SHA512 8d64efc156343a9c04d12c8a41742e36aed39260d0040ec1a52ce567a73e156f1ce77c61672cb93ef30c0b6c7ee48d9a6e94381ce7034142cdcf2f60a839c712

diff --git a/dev-vcs/gitahead/gitahead-2.6.3.ebuild b/dev-vcs/gitahead/gitahead-2.6.3.ebuild
new file mode 100644
index 00000000..76c021d0
--- /dev/null
+++ b/dev-vcs/gitahead/gitahead-2.6.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake desktop xdg wrapper
+
+DESCRIPTION="Graphical Git client to help understand and manage source code history"
+HOMEPAGE="https://github.com/gitahead/gitahead"
+SRC_URI="
+	https://github.com/gitahead/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/openssl/openssl/archive/d1c28d791a7391a8dc101713cd8646df96491d03.tar.gz -> ${P}-dep_openssl_openssl.tar.gz
+	https://github.com/stinb/libgit2/archive/90af68bbe2690998f015f18b7c890f5868bcd3ee.tar.gz -> ${P}-dep_libgit2_libgit2.tar.gz
+	https://github.com/libssh2/libssh2/archive/42d37aa63129a1b2644bf6495198923534322d64.tar.gz -> ${P}-dep_libssh2_libssh2.tar.gz
+	https://github.com/git/git/archive/0d0ac3826a3bbb9247e39e12623bbcfdd722f24c.tar.gz -> ${P}-dep_git_git.tar.gz
+	https://github.com/commonmark/cmark/archive/f0793895eefc8ca14499831a24abee549a5af53e.tar.gz -> ${P}-dep_cmark_cmark.tar.gz
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	dev-qt/qtconcurrent:5
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qttest:5
+	dev-qt/qtwidgets:5
+"
+DEPEND="
+	${RDEPEND}
+"
+
+src_unpack() {
+	unpack "${P}.tar.gz"
+
+	cd "${S}" || die
+	local i list=(
+		dep_openssl_openssl
+		dep_libgit2_libgit2
+		dep_libssh2_libssh2
+		dep_git_git
+		dep_cmark_cmark
+	)
+	for i in "${list[@]}"; do
+		[ ! -f "${DISTDIR}/${P}-${i}.tar.gz" ] && die "The file ${DISTDIR}/${P}-${i}.tar.gz doesn't exist"
+		tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
+	done
+}
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	cmake_src_configure
+}
+
+src_install() {
+	cd "${BUILD_DIR}" || die
+
+	eninja package
+	cd ./_CPack_Packages/Linux/STGZ || die
+	mkdir -p "${D}"/usr/share || die
+	bash ./GitAhead-2.6.3.sh --prefix="${D}"/usr/share --include-subdir || die
+	rm -fr "${D}"/usr/share/GitAhead/*.so.* || die
+
+	cd "${D}"/usr/share/GitAhead/Resources/GitAhead.iconset || die
+	local res
+	for res in 16 32 64 128 256 512; do
+		newicon -s "${res}" "icon_${res}x${res}.png" "${PN}.png"
+	done
+
+	make_wrapper "${PN}" "${EPREFIX}/usr/share/GitAhead/GitAhead"
+	make_desktop_entry "/usr/share/GitAhead/GitAhead" "GitAhead" "${PN}" "Development"
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	ewarn "${P} collects some statistical usage data."
+	ewarn "To permanently opt-out of reporting:"
+	ewarn "toggle a button in Help -> About GitAhead -> Privacy"
+	ewarn "or write to ~/.config/gitahead.com/GitAhead.conf those lines:"
+	ewarn "[tracking]"
+	ewarn "enabled=false"
+}

diff --git a/dev-vcs/gitahead/metadata.xml b/dev-vcs/gitahead/metadata.xml
new file mode 100644
index 00000000..dbd1b3d4
--- /dev/null
+++ b/dev-vcs/gitahead/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>xgqt@protonmail.com</email>
+        <name>Maciej Barć</name>
+    </maintainer>
+    <upstream>
+        <remote-id type="github">gitahead/gitahead</remote-id>
+    </upstream>
+    <longdescription>
+        GitAhead is a graphical Git client designed to help you understand and manage your source code history.
+    </longdescription>
+</pkgmetadata>


             reply	other threads:[~2020-11-29 10:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-29 10:34 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-07 19:11 [gentoo-commits] repo/proj/guru:master commit in: dev-vcs/gitahead/ Arthur Zamarin
2024-01-09 15:13 David Roman
2023-12-31 15:28 David Roman
2021-04-16  7:36 Andrew Ammerlaan
2021-04-08 17:52 Andrew Ammerlaan
2021-04-08 17:21 Andrew Ammerlaan
2020-12-29 18:41 Andrew Ammerlaan
2020-12-28 23:22 Andrew Ammerlaan
2020-12-28 23:22 Andrew Ammerlaan
2020-12-28 23:22 Andrew Ammerlaan
2020-12-28 23:22 Andrew Ammerlaan
2020-12-28 23:22 Andrew Ammerlaan
2020-11-29 10:34 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1606584923.8bcb90c2a8aa2a31b16b22cad370fb31dd7e404d.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox