summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-08-14 13:10:30 +0300
committerViorel Munteanu <ceamac@gentoo.org>2023-08-14 13:16:20 +0300
commit34c256948e982ab73f9fdf0f6d5aaa0a70cd0445 (patch)
treee70719b9c287d42bab84338644c79d5a57a84a2e /app-misc/fastfetch
parentapp-misc/fastfetch: add 2.0.0 (diff)
downloadgentoo-34c256948e982ab73f9fdf0f6d5aaa0a70cd0445.tar.gz
gentoo-34c256948e982ab73f9fdf0f6d5aaa0a70cd0445.tar.bz2
gentoo-34c256948e982ab73f9fdf0f6d5aaa0a70cd0445.zip
app-misc/fastfetch: sync live
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'app-misc/fastfetch')
-rw-r--r--app-misc/fastfetch/fastfetch-0.1.9999.ebuild8
-rw-r--r--app-misc/fastfetch/fastfetch-0.2.9999.ebuild8
2 files changed, 12 insertions, 4 deletions
diff --git a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
index 7a1c4c649c9a..950efaa60c13 100644
--- a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
@@ -20,14 +20,16 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="X chafa dbus gnome imagemagick networkmanager opencl opengl osmesa pci pulseaudio sqlite vulkan wayland xcb xfce xrandr"
+IUSE="X chafa dbus ddcutil gnome imagemagick networkmanager opencl opengl osmesa pci pulseaudio sqlite vulkan wayland xcb xfce xrandr"
# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
RDEPEND="
+ dev-libs/yyjson
sys-libs/zlib
X? ( x11-libs/libX11 )
chafa? ( media-gfx/chafa )
dbus? ( sys-apps/dbus )
+ ddcutil? ( app-misc/ddcutil:= )
gnome? (
dev-libs/glib
gnome-base/dconf
@@ -54,6 +56,8 @@ REQUIRED_USE="
chafa? ( imagemagick )
"
+PATCHES=( "${FILESDIR}"/${PN}-2.0.0-dont-fetch-yyjson.patch )
+
src_configure() {
local fastfetch_enable_imagemagick7=no
local fastfetch_enable_imagemagick6=no
@@ -63,12 +67,12 @@ src_configure() {
fi
local mycmakeargs=(
- -DENABLE_LIBCJSON=no
-DENABLE_RPM=no
-DENABLE_ZLIB=yes
-DENABLE_CHAFA=$(usex chafa)
-DENABLE_DBUS=$(usex dbus)
+ -DENABLE_DDCUTIL=$(usex ddcutil)
-DENABLE_DCONF=$(usex gnome)
-DENABLE_EGL=$(usex opengl)
-DENABLE_GIO=$(usex gnome)
diff --git a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
index 7a1c4c649c9a..950efaa60c13 100644
--- a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
@@ -20,14 +20,16 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="X chafa dbus gnome imagemagick networkmanager opencl opengl osmesa pci pulseaudio sqlite vulkan wayland xcb xfce xrandr"
+IUSE="X chafa dbus ddcutil gnome imagemagick networkmanager opencl opengl osmesa pci pulseaudio sqlite vulkan wayland xcb xfce xrandr"
# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
RDEPEND="
+ dev-libs/yyjson
sys-libs/zlib
X? ( x11-libs/libX11 )
chafa? ( media-gfx/chafa )
dbus? ( sys-apps/dbus )
+ ddcutil? ( app-misc/ddcutil:= )
gnome? (
dev-libs/glib
gnome-base/dconf
@@ -54,6 +56,8 @@ REQUIRED_USE="
chafa? ( imagemagick )
"
+PATCHES=( "${FILESDIR}"/${PN}-2.0.0-dont-fetch-yyjson.patch )
+
src_configure() {
local fastfetch_enable_imagemagick7=no
local fastfetch_enable_imagemagick6=no
@@ -63,12 +67,12 @@ src_configure() {
fi
local mycmakeargs=(
- -DENABLE_LIBCJSON=no
-DENABLE_RPM=no
-DENABLE_ZLIB=yes
-DENABLE_CHAFA=$(usex chafa)
-DENABLE_DBUS=$(usex dbus)
+ -DENABLE_DDCUTIL=$(usex ddcutil)
-DENABLE_DCONF=$(usex gnome)
-DENABLE_EGL=$(usex opengl)
-DENABLE_GIO=$(usex gnome)