Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/tuigreet/
Date: Mon, 29 Nov 2021 14:15:57
Message-Id: 1638195347.7fbed0b1004d6bfdcf55502dcd19ff716e5d6c92.juippis@gentoo
1 commit: 7fbed0b1004d6bfdcf55502dcd19ff716e5d6c92
2 Author: Dee-Jay Logozzo <git <AT> djl <DOT> id <DOT> au>
3 AuthorDate: Sun Nov 21 00:19:35 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 14:15:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fbed0b1
7
8 gui-apps/tuigreet: added git-live 9999 version
9
10 Changes:
11 * Added git-live tuigreet-9999.ebuild
12
13 Package-Manager: Portage-3.0.28, Repoman-3.0.3
14 Closes: https://github.com/gentoo/gentoo/pull/23015
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 gui-apps/tuigreet/tuigreet-9999.ebuild | 37 ++++++++++++++++++++++++++++++++++
18 1 file changed, 37 insertions(+)
19
20 diff --git a/gui-apps/tuigreet/tuigreet-9999.ebuild b/gui-apps/tuigreet/tuigreet-9999.ebuild
21 new file mode 100644
22 index 000000000000..36a65ecbb6b1
23 --- /dev/null
24 +++ b/gui-apps/tuigreet/tuigreet-9999.ebuild
25 @@ -0,0 +1,37 @@
26 +# Copyright 2017-2021 Gentoo Authors
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=7
30 +
31 +CRATES="
32 +"
33 +
34 +inherit cargo
35 +
36 +DESCRIPTION="TUI greeter for greetd login manager"
37 +HOMEPAGE="https://github.com/apognu/tuigreet"
38 +
39 +if [ ${PV} == "9999" ] ; then
40 + inherit git-r3
41 + EGIT_REPO_URI="https://github.com/apognu/${PN}"
42 +else
43 + SRC_URI="https://github.com/apognu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
44 + $(cargo_crate_uris ${CRATES})"
45 + KEYWORDS="~amd64 ~ppc64 ~riscv"
46 +fi
47 +
48 +src_unpack() {
49 + if [[ "${PV}" == *9999* ]]; then
50 + git-r3_src_unpack
51 + cargo_live_src_unpack
52 + else
53 + cargo_src_unpack
54 + fi
55 +}
56 +
57 +QA_FLAGS_IGNORED="usr/bin/tuigreet"
58 +
59 +LICENSE="Apache-2.0 Boost-1.0 GPL-3 MIT"
60 +SLOT="0"
61 +
62 +RDEPEND="gui-libs/greetd"