mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
app-misc/fastfetch: Add USE chafa for upcoming release
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
This commit is contained in:
@@ -16,12 +16,13 @@ fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="X gnome imagemagick pci vulkan wayland xcb xfce xrandr"
|
||||
IUSE="X chafa gnome imagemagick pci vulkan wayland xcb xfce xrandr"
|
||||
|
||||
# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
X? ( x11-libs/libX11 )
|
||||
chafa? ( media-gfx/chafa )
|
||||
gnome? (
|
||||
dev-libs/glib
|
||||
gnome-base/dconf
|
||||
@@ -42,6 +43,7 @@ REQUIRED_USE="xrandr? ( X )"
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_RPM=no
|
||||
-DENABLE_LIBPCI=$(usex pci)
|
||||
-DENABLE_VULKAN=$(usex vulkan)
|
||||
-DENABLE_WAYLAND=$(usex wayland)
|
||||
-DENABLE_XCB_RANDR=$(usex xcb)
|
||||
@@ -54,6 +56,7 @@ src_configure() {
|
||||
-DENABLE_IMAGEMAGICK7=$(use imagemagick && has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no)
|
||||
-DENABLE_IMAGEMAGICK6=$(use imagemagick && has_version '<media-gfx/imagemagick-7.0.0' && echo yes || echo no)
|
||||
-DENABLE_ZLIB=yes
|
||||
-DENABLE_CHAFA=$(usex chafa)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<remote-id type="github">LinusDierheimer/fastfetch</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="chafa">Enables text/graphics renderer with <pkg>media-gfx/chafa</pkg></flag>
|
||||
<flag name="pci">Enables reading GPU via <pkg>sys-apps/pciutils</pkg></flag>
|
||||
<flag name="vulkan">Enables reading GPU via <pkg>media-libs/vulkan-loader</pkg></flag>
|
||||
<flag name="xfce">Enables support for XFCE config</flag>
|
||||
|
||||
Reference in New Issue
Block a user