commit: 25e631488a35fc772829ae606f93808cf4fbfda5
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 28 14:36:42 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 14:39:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25e63148
app-misc/fastfetch: add live ebuild for dev branch
Call it -9999d. Also sync the others
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
app-misc/fastfetch/fastfetch-1.7.5.ebuild | 7 +++++--
app-misc/fastfetch/fastfetch-9999.ebuild | 6 +++++-
.../fastfetch/{fastfetch-1.7.5.ebuild => fastfetch-9999d.ebuild} | 7 +++++--
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/app-misc/fastfetch/fastfetch-1.7.5.ebuild
b/app-misc/fastfetch/fastfetch-1.7.5.ebuild
index 8fa754c75..c9038f015 100644
--- a/app-misc/fastfetch/fastfetch-1.7.5.ebuild
+++ b/app-misc/fastfetch/fastfetch-1.7.5.ebuild
@@ -7,16 +7,19 @@ inherit cmake
DESCRIPTION="Fast system information tool"
HOMEPAGE="https://github.com/LinusDierheimer/fastfetch"
-if [[ ${PV} == *9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git"
+ [[ ${PV} == *9999 ]] && EGIT_BRANCH=master
+ [[ ${PV} == *d ]] && EGIT_BRANCH=dev
+ [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
else
SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz"
+ KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="X chafa dbus gnome imagemagick opencl opengl osmesa pci sqlite vulkan
wayland xcb xfce xrandr"
# note - qa-vdb will always report errors because fastfetch loads the libs
dynamically
diff --git a/app-misc/fastfetch/fastfetch-9999.ebuild
b/app-misc/fastfetch/fastfetch-9999.ebuild
index b2b17703e..c9038f015 100644
--- a/app-misc/fastfetch/fastfetch-9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-9999.ebuild
@@ -7,11 +7,15 @@ inherit cmake
DESCRIPTION="Fast system information tool"
HOMEPAGE="https://github.com/LinusDierheimer/fastfetch"
-if [[ ${PV} == *9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git"
+ [[ ${PV} == *9999 ]] && EGIT_BRANCH=master
+ [[ ${PV} == *d ]] && EGIT_BRANCH=dev
+ [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
else
SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz"
+ KEYWORDS="~amd64"
fi
LICENSE="MIT"
diff --git a/app-misc/fastfetch/fastfetch-1.7.5.ebuild
b/app-misc/fastfetch/fastfetch-9999d.ebuild
similarity index 92%
copy from app-misc/fastfetch/fastfetch-1.7.5.ebuild
copy to app-misc/fastfetch/fastfetch-9999d.ebuild
index 8fa754c75..c9038f015 100644
--- a/app-misc/fastfetch/fastfetch-1.7.5.ebuild
+++ b/app-misc/fastfetch/fastfetch-9999d.ebuild
@@ -7,16 +7,19 @@ inherit cmake
DESCRIPTION="Fast system information tool"
HOMEPAGE="https://github.com/LinusDierheimer/fastfetch"
-if [[ ${PV} == *9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git"
+ [[ ${PV} == *9999 ]] && EGIT_BRANCH=master
+ [[ ${PV} == *d ]] && EGIT_BRANCH=dev
+ [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
else
SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz"
+ KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="X chafa dbus gnome imagemagick opencl opengl osmesa pci sqlite vulkan
wayland xcb xfce xrandr"
# note - qa-vdb will always report errors because fastfetch loads the libs
dynamically