Add (disabled) recipe for FastFetch

Pending upstream Pull-request
This commit is contained in:
François Revol
2025-02-04 12:37:30 +01:00
parent a8d9dd5e5c
commit 489a03418a

View File

@@ -0,0 +1,56 @@
SUMMARY="A maintained, feature-rich and performance oriented, neofetch like system information tool."
DESCRIPTION="Fastfetch is a neofetch-like tool for fetching system information \
and displaying it prettily. \
It is written mainly in C, with performance and customizability in mind. \
Currently, Linux, Android, FreeBSD, macOS, SunOS and Windows 7+ are supported."
HOMEPAGE="https://github.com/fastfetch-cli/fastfetch"
COPYRIGHT="2021-2023 Linus Dierheimer
2022-2024 Carter Li"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="58a95e6b714e41efc804eca389a223309169b2def35e57fa934482a6b47c27e7"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
#USER_SETTINGS_FILES="$relativeSettingsDir/neofetch/config.conf"
PROVIDES="
fastfetch = $portVersion
cmd:fastfetch$commandSuffix = $portVersion
"
REQUIRES="
haiku${secondaryArchSuffix}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++${secondaryArchSuffix}
cmd:make
"
BUILD()
{
mkdir build
cd build
cmake ..
make $jobArgs
# TODO
}
INSTALL()
{
#TODO
#make install PREFIX="$prefix" MANDIR="$manDir"
}