1 |
commit: 25e631488a35fc772829ae606f93808cf4fbfda5 |
2 |
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 28 14:36:42 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 28 14:39:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25e63148 |
7 |
|
8 |
app-misc/fastfetch: add live ebuild for dev branch |
9 |
|
10 |
Call it -9999d. Also sync the others |
11 |
|
12 |
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> |
13 |
|
14 |
app-misc/fastfetch/fastfetch-1.7.5.ebuild | 7 +++++-- |
15 |
app-misc/fastfetch/fastfetch-9999.ebuild | 6 +++++- |
16 |
.../fastfetch/{fastfetch-1.7.5.ebuild => fastfetch-9999d.ebuild} | 7 +++++-- |
17 |
3 files changed, 15 insertions(+), 5 deletions(-) |
18 |
|
19 |
diff --git a/app-misc/fastfetch/fastfetch-1.7.5.ebuild b/app-misc/fastfetch/fastfetch-1.7.5.ebuild |
20 |
index 8fa754c75..c9038f015 100644 |
21 |
--- a/app-misc/fastfetch/fastfetch-1.7.5.ebuild |
22 |
+++ b/app-misc/fastfetch/fastfetch-1.7.5.ebuild |
23 |
@@ -7,16 +7,19 @@ inherit cmake |
24 |
|
25 |
DESCRIPTION="Fast system information tool" |
26 |
HOMEPAGE="https://github.com/LinusDierheimer/fastfetch" |
27 |
-if [[ ${PV} == *9999 ]]; then |
28 |
+if [[ ${PV} == *9999* ]]; then |
29 |
inherit git-r3 |
30 |
EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git" |
31 |
+ [[ ${PV} == *9999 ]] && EGIT_BRANCH=master |
32 |
+ [[ ${PV} == *d ]] && EGIT_BRANCH=dev |
33 |
+ [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch" |
34 |
else |
35 |
SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ KEYWORDS="~amd64" |
37 |
fi |
38 |
|
39 |
LICENSE="MIT" |
40 |
SLOT="0" |
41 |
-KEYWORDS="~amd64" |
42 |
IUSE="X chafa dbus gnome imagemagick opencl opengl osmesa pci sqlite vulkan wayland xcb xfce xrandr" |
43 |
|
44 |
# note - qa-vdb will always report errors because fastfetch loads the libs dynamically |
45 |
|
46 |
diff --git a/app-misc/fastfetch/fastfetch-9999.ebuild b/app-misc/fastfetch/fastfetch-9999.ebuild |
47 |
index b2b17703e..c9038f015 100644 |
48 |
--- a/app-misc/fastfetch/fastfetch-9999.ebuild |
49 |
+++ b/app-misc/fastfetch/fastfetch-9999.ebuild |
50 |
@@ -7,11 +7,15 @@ inherit cmake |
51 |
|
52 |
DESCRIPTION="Fast system information tool" |
53 |
HOMEPAGE="https://github.com/LinusDierheimer/fastfetch" |
54 |
-if [[ ${PV} == *9999 ]]; then |
55 |
+if [[ ${PV} == *9999* ]]; then |
56 |
inherit git-r3 |
57 |
EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git" |
58 |
+ [[ ${PV} == *9999 ]] && EGIT_BRANCH=master |
59 |
+ [[ ${PV} == *d ]] && EGIT_BRANCH=dev |
60 |
+ [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch" |
61 |
else |
62 |
SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
63 |
+ KEYWORDS="~amd64" |
64 |
fi |
65 |
|
66 |
LICENSE="MIT" |
67 |
|
68 |
diff --git a/app-misc/fastfetch/fastfetch-1.7.5.ebuild b/app-misc/fastfetch/fastfetch-9999d.ebuild |
69 |
similarity index 92% |
70 |
copy from app-misc/fastfetch/fastfetch-1.7.5.ebuild |
71 |
copy to app-misc/fastfetch/fastfetch-9999d.ebuild |
72 |
index 8fa754c75..c9038f015 100644 |
73 |
--- a/app-misc/fastfetch/fastfetch-1.7.5.ebuild |
74 |
+++ b/app-misc/fastfetch/fastfetch-9999d.ebuild |
75 |
@@ -7,16 +7,19 @@ inherit cmake |
76 |
|
77 |
DESCRIPTION="Fast system information tool" |
78 |
HOMEPAGE="https://github.com/LinusDierheimer/fastfetch" |
79 |
-if [[ ${PV} == *9999 ]]; then |
80 |
+if [[ ${PV} == *9999* ]]; then |
81 |
inherit git-r3 |
82 |
EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git" |
83 |
+ [[ ${PV} == *9999 ]] && EGIT_BRANCH=master |
84 |
+ [[ ${PV} == *d ]] && EGIT_BRANCH=dev |
85 |
+ [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch" |
86 |
else |
87 |
SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
88 |
+ KEYWORDS="~amd64" |
89 |
fi |
90 |
|
91 |
LICENSE="MIT" |
92 |
SLOT="0" |
93 |
-KEYWORDS="~amd64" |
94 |
IUSE="X chafa dbus gnome imagemagick opencl opengl osmesa pci sqlite vulkan wayland xcb xfce xrandr" |
95 |
|
96 |
# note - qa-vdb will always report errors because fastfetch loads the libs dynamically |