Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-vcs/gitahead/
Date: Mon, 28 Dec 2020 23:22:48
Message-Id: 1609180635.227894b974cad3f109b7bb8b1ac5d51602545746.andrewammerlaan@gentoo
1 commit: 227894b974cad3f109b7bb8b1ac5d51602545746
2 Author: Maciej Barć <xgqt <AT> protonmail <DOT> com>
3 AuthorDate: Mon Dec 28 18:37:15 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Mon Dec 28 18:37:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=227894b9
7
8 dev-vcs/gitahead: sed for gnome-keyring removal
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
12
13 dev-vcs/gitahead/gitahead-2.6.3.ebuild | 8 ++++++++
14 1 file changed, 8 insertions(+)
15
16 diff --git a/dev-vcs/gitahead/gitahead-2.6.3.ebuild b/dev-vcs/gitahead/gitahead-2.6.3.ebuild
17 index 8effd92c..6b150378 100644
18 --- a/dev-vcs/gitahead/gitahead-2.6.3.ebuild
19 +++ b/dev-vcs/gitahead/gitahead-2.6.3.ebuild
20 @@ -53,6 +53,14 @@ src_unpack() {
21 done
22 }
23
24 +src_prepare() {
25 + if ! use gnome-keyring; then
26 + sed -i 's/add_subdirectory(git)//' ./dep/CMakeLists.txt || die
27 + fi
28 + default
29 + cmake_src_prepare
30 +}
31 +
32 src_install() {
33 cd "${BUILD_DIR}" || die