Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
6b0946bc
Commit
6b0946bc
authored
1 year ago
by
Carter Li
Browse files
Options
Downloads
Patches
Plain Diff
testing/fastfetch: new aport
parent
63d087b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!59449
testing/fastfetch: new aport
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/fastfetch/APKBUILD
+72
-0
72 additions, 0 deletions
testing/fastfetch/APKBUILD
with
72 additions
and
0 deletions
testing/fastfetch/APKBUILD
0 → 100644
+
72
−
0
View file @
6b0946bc
# Contributor: Carter Li <zhangsongcui@live.cn>
# Maintainer: Carter Li <zhangsongcui@live.cn>
pkgname
=
fastfetch
pkgver
=
2.7.0
pkgrel
=
0
pkgdesc
=
"Like neofetch, but much faster because written mostly in C."
url
=
"https://github.com/fastfetch-cli/fastfetch"
arch
=
"all"
license
=
"MIT"
makedepends
=
"
cmake samurai
yyjson-dev
yyjson-static
pciutils-dev
vulkan-loader-dev
libxcb-dev
wayland-dev
libdrm-dev
dconf-dev
imagemagick-dev
chafa-dev
zlib-dev
dbus-dev
mesa-dev
opencl-dev
xfconf-dev
sqlite-dev
networkmanager-dev
pulseaudio-dev
ddcutil-dev
"
subpackages
=
"
$pkgname
-doc
$pkgname
-bash-completion
$pkgname
-fish-completion
"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/
$pkgver
.tar.gz"
prepare
()
{
default_prepare
rm
-rf
src/3rdparty/yyjson
}
build
()
{
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
local
crossopts
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake
-B
build
-G
Ninja
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DENABLE_SYSTEM_YYJSON
=
ON
\
-DENABLE_DIRECTX_HEADERS
=
OFF
\
$crossopts
cmake
--build
build
--target
fastfetch
--target
flashfetch
}
check
()
{
build/fastfetch
--list-features
build/fastfetch
-c
presets/ci.jsonc
build/fastfetch
-c
presets/ci.jsonc
--format
json
}
package
()
{
DESTDIR
=
"
$pkgdir
"
cmake
--install
build
}
sha512sums
=
"
e20e2c6dfa6a8805460eece02afd9ced29e894b6b944537e95e3a2cbcbcfcb1ef356bfc0ccdbcb8eee1f09725a1f7eb71dcecfbbca39713880b428956f37696f fastfetch-2.7.0.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment