From: | "Jakov Smolić" <jsmolic@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: sys-fs/genimage/ |
Date: | Wed, 24 Aug 2022 10:43:41 |
Message-Id: | 1661337832.2ba6809cc12db0ea2a17f8508b66cb6a3bd8f555.jsmolic@gentoo |
1 | commit: 2ba6809cc12db0ea2a17f8508b66cb6a3bd8f555 |
2 | Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 | AuthorDate: Wed Aug 24 10:43:38 2022 +0000 |
4 | Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 | CommitDate: Wed Aug 24 10:43:52 2022 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba6809c |
7 | |
8 | sys-fs/genimage: Add live ebuild |
9 | |
10 | Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 | |
12 | sys-fs/genimage/genimage-15.ebuild | 10 ++++++++-- |
13 | sys-fs/genimage/{genimage-15.ebuild => genimage-9999.ebuild} | 10 ++++++++-- |
14 | 2 files changed, 16 insertions(+), 4 deletions(-) |
15 | |
16 | diff --git a/sys-fs/genimage/genimage-15.ebuild b/sys-fs/genimage/genimage-15.ebuild |
17 | index 20da57056618..4a0e18372d87 100644 |
18 | --- a/sys-fs/genimage/genimage-15.ebuild |
19 | +++ b/sys-fs/genimage/genimage-15.ebuild |
20 | @@ -5,13 +5,19 @@ EAPI=8 |
21 | |
22 | inherit autotools optfeature |
23 | |
24 | +if [[ ${PV} == *9999 ]]; then |
25 | + inherit git-r3 |
26 | + EGIT_REPO_URI="https://github.com/pengutronix/genimage.git" |
27 | +else |
28 | + SRC_URI="https://github.com/pengutronix/genimage/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
29 | + KEYWORDS="~amd64" |
30 | +fi |
31 | + |
32 | DESCRIPTION="Tool to generate multiple filesystem and flash images from a tree" |
33 | HOMEPAGE="https://github.com/pengutronix/genimage" |
34 | -SRC_URI="https://github.com/pengutronix/genimage/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
35 | |
36 | LICENSE="GPL-2" |
37 | SLOT="0" |
38 | -KEYWORDS="~amd64" |
39 | IUSE="test" |
40 | RESTRICT="!test? ( test )" |
41 | |
42 | |
43 | diff --git a/sys-fs/genimage/genimage-15.ebuild b/sys-fs/genimage/genimage-9999.ebuild |
44 | similarity index 78% |
45 | copy from sys-fs/genimage/genimage-15.ebuild |
46 | copy to sys-fs/genimage/genimage-9999.ebuild |
47 | index 20da57056618..4a0e18372d87 100644 |
48 | --- a/sys-fs/genimage/genimage-15.ebuild |
49 | +++ b/sys-fs/genimage/genimage-9999.ebuild |
50 | @@ -5,13 +5,19 @@ EAPI=8 |
51 | |
52 | inherit autotools optfeature |
53 | |
54 | +if [[ ${PV} == *9999 ]]; then |
55 | + inherit git-r3 |
56 | + EGIT_REPO_URI="https://github.com/pengutronix/genimage.git" |
57 | +else |
58 | + SRC_URI="https://github.com/pengutronix/genimage/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
59 | + KEYWORDS="~amd64" |
60 | +fi |
61 | + |
62 | DESCRIPTION="Tool to generate multiple filesystem and flash images from a tree" |
63 | HOMEPAGE="https://github.com/pengutronix/genimage" |
64 | -SRC_URI="https://github.com/pengutronix/genimage/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
65 | |
66 | LICENSE="GPL-2" |
67 | SLOT="0" |
68 | -KEYWORDS="~amd64" |
69 | IUSE="test" |
70 | RESTRICT="!test? ( test )" |