Initial build of fastfetch

This commit is contained in:
Bahar KURT
2025-08-31 22:16:23 +03:00
parent c3baf7fbb6
commit ad7ed06e35
2 changed files with 115 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
shelltools.system("cmake -B build -S . \
-DCMAKE_BUILD_TYPE='RelWithDebInfo' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DBUILD_FLASHFETCH='OFF' \
-DBUILD_TESTS='ON' \
-DENABLE_SQLITE3='ON' \
-DENABLE_RPM='OFF' \
-DENABLE_IMAGEMAGICK6='OFF' \
-DENABLE_SYSTEM_YYJSON='OFF' \
-DPACKAGES_DISABLE_APK='ON' \
-DPACKAGES_DISABLE_DPKG='ON' \
-DPACKAGES_DISABLE_EMERGE='ON' \
-DPACKAGES_DISABLE_EOPKG='ON' \
-DPACKAGES_DISABLE_GUIX='ON' \
-DPACKAGES_DISABLE_LINGLONG='ON' \
-DPACKAGES_DISABLE_LPKG='ON' \
-DPACKAGES_DISABLE_LPKGBUILD='ON' \
-DPACKAGES_DISABLE_OPKG='ON' \
-DPACKAGES_DISABLE_PACSTALL='ON' \
-DPACKAGES_DISABLE_PALUDIS='ON' \
-DPACKAGES_DISABLE_PKG='ON' \
-DPACKAGES_DISABLE_PKGTOOL='ON' \
-DPACKAGES_DISABLE_RPM='ON' \
-DPACKAGES_DISABLE_SORCERY='ON' \
-DPACKAGES_DISABLE_XBPS='ON' \
-Wno-dev")
shelltools.system("cmake --build build")
def install():
shelltools.system("DESTDIR=%s cmake --install build" % get.installDIR())
+75
View File
@@ -0,0 +1,75 @@
<PISI>
<Source>
<Name>fastfetch</Name>
<Homepage>https://github.com/fastfetch-cli/fastfetch</Homepage>
<Packager>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Packager>
<License>MIT</License>
<PartOf>util.misc</PartOf>
<Summary>A feature-rich and performance oriented neofetch like system information tool</Summary>
<Description>Fastfetch is a neofetch-like tool for fetching system information and displaying it in a visually appealing way</Description>
<Summary xml:lang="tr">Özelliklerle dolu ve performans odaklı neofetch tarzı sistem bilgi aracı</Summary>
<Description xml:lang="tr">Fastfetch sistem bilgisini çekerek görsel olarak çekici bir şekilde göstermeyi amaçlayan bir neofetch tarzı araçtır</Description>
<BuildDependencies>
<Dependency>chafa</Dependency>
<Dependency>cmake</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>dconf-devel</Dependency>
<!--Dependency>ddcutil</Dependency--> <!-- ddcutil depends on systemd to build according to Arch Linux's PKGBUILD. If someone is willing to port it, they're welcome. -->
<Dependency>imagemagick-devel</Dependency>
<Dependency>libxcb-devel</Dependency>
<Dependency>libXrandr-devel</Dependency>
<Dependency>opencl-icd-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>vulkan-headers</Dependency>
<Dependency>wayland-devel</Dependency>
<Dependency>xfconf-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="689e3059cd6fb20bfd9fab1970eaf56fb5f2546a" type="targz">https://github.com/fastfetch-cli/fastfetch/archive/2.51.1.tar.gz</Archive>
</Source>
<Package>
<Name>fastfetch</Name>
<Summary>A feature-rich and performance oriented neofetch like system information tool</Summary>
<Description>Fastfetch is a neofetch-like tool for fetching system information and displaying it in a visually appealing way</Description>
<Summary xml:lang="tr">Özelliklerle dolu ve performans odaklı neofetch tarzı sistem bilgi aracı</Summary>
<Description xml:lang="tr">Fastfetch sistem bilgisini çekerek görsel olarak çekici bir şekilde göstermeyi amaçlayan bir neofetch tarzı araçtır</Description>
<RuntimeDependencies>
<Dependency>chafa</Dependency>
<Dependency>dbus</Dependency>
<Dependency>dconf</Dependency>
<!--Dependency>ddcutil</Dependency--> <!-- ddcutil depends on systemd to build according to Arch Linux's PKGBUILD. If someone is willing to port it, they're welcome. -->
<Dependency>glib2</Dependency>
<Dependency>hwdata</Dependency>
<Dependency>imagemagick</Dependency>
<Dependency>libdrm</Dependency>
<Dependency>elfutils</Dependency>
<Dependency>libXrandr</Dependency>
<Dependency>opencl-icd</Dependency>
<Dependency>python3</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>xfconf</Dependency>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/bash-completion</Path>
<Path fileType="doc">/usr/share/fastfetch/presets</Path>
<Path fileType="data">/usr/share/fish/vendor_completions.d</Path>
<Path fileType="doc">/usr/share/licenses/fastfetch</Path>
<Path fileType="man">/usr/share/man/man1</Path>
<Path fileType="data">/usr/share/zsh/site-functions</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-08-31</Date>
<Version>2.51.1</Version>
<Comment>Initial release.</Comment>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Update>
</History>
</PISI>