pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/fastfetch



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Jan  6 19:34:59 UTC 2025

Added Files:
        pkgsrc/sysutils/fastfetch: DESCR Makefile PLIST distinfo options.mk

Log Message:
sysutils/fastfetch: initial import of package

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/fastfetch/DESCR \
    pkgsrc/sysutils/fastfetch/Makefile pkgsrc/sysutils/fastfetch/PLIST \
    pkgsrc/sysutils/fastfetch/distinfo pkgsrc/sysutils/fastfetch/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/fastfetch/DESCR
diff -u /dev/null pkgsrc/sysutils/fastfetch/DESCR:1.1
--- /dev/null   Mon Jan  6 19:34:59 2025
+++ pkgsrc/sysutils/fastfetch/DESCR     Mon Jan  6 19:34:59 2025
@@ -0,0 +1,3 @@
+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.
Index: pkgsrc/sysutils/fastfetch/Makefile
diff -u /dev/null pkgsrc/sysutils/fastfetch/Makefile:1.1
--- /dev/null   Mon Jan  6 19:34:59 2025
+++ pkgsrc/sysutils/fastfetch/Makefile  Mon Jan  6 19:34:59 2025
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2025/01/06 19:34:59 vins Exp $
+
+DISTNAME=      fastfetch-2.33.0
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=fastfetch-cli/}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    vins%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/fastfetch-cli/fastfetch/
+COMMENT=       Fast and feature-rich tool displaying system information
+LICENSE=       mit
+
+USE_TOOLS+=    pkg-config
+
+USE_LANGUAGES= c c++
+
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Release \
+                       -DTARGET_DIR_ETC='${PKG_SYSCONFDIR}' \
+                       -DCMAKE_INSTALL_PREFIX='${PREFIX}' \
+                       -DBUILD_FLASHFETCH=OFF \
+                       -DBUILD_TESTS=ON
+
+.include "options.mk"
+
+.include "../../sysutils/libpciaccess/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/fastfetch/PLIST
diff -u /dev/null pkgsrc/sysutils/fastfetch/PLIST:1.1
--- /dev/null   Mon Jan  6 19:34:59 2025
+++ pkgsrc/sysutils/fastfetch/PLIST     Mon Jan  6 19:34:59 2025
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1 2025/01/06 19:34:59 vins Exp $
+bin/fastfetch
+man/man1/fastfetch.1
+share/bash-completion/completions/fastfetch
+share/fastfetch/presets/all.jsonc
+share/fastfetch/presets/archey.jsonc
+share/fastfetch/presets/ci.jsonc
+share/fastfetch/presets/examples/10.jsonc
+share/fastfetch/presets/examples/11.jsonc
+share/fastfetch/presets/examples/12.jsonc
+share/fastfetch/presets/examples/13.jsonc
+share/fastfetch/presets/examples/14.jsonc
+share/fastfetch/presets/examples/15.jsonc
+share/fastfetch/presets/examples/16.jsonc
+share/fastfetch/presets/examples/17.jsonc
+share/fastfetch/presets/examples/18.jsonc
+share/fastfetch/presets/examples/19.jsonc
+share/fastfetch/presets/examples/2.jsonc
+share/fastfetch/presets/examples/20.jsonc
+share/fastfetch/presets/examples/21.jsonc
+share/fastfetch/presets/examples/22.jsonc
+share/fastfetch/presets/examples/23.jsonc
+share/fastfetch/presets/examples/24.jsonc
+share/fastfetch/presets/examples/3.jsonc
+share/fastfetch/presets/examples/4.jsonc
+share/fastfetch/presets/examples/5.jsonc
+share/fastfetch/presets/examples/6.jsonc
+share/fastfetch/presets/examples/7.jsonc
+share/fastfetch/presets/examples/8.jsonc
+share/fastfetch/presets/examples/9.jsonc
+share/fastfetch/presets/neofetch.jsonc
+share/fastfetch/presets/paleofetch.jsonc
+share/fastfetch/presets/screenfetch.jsonc
+share/fish/vendor_completions.d/fastfetch.fish
+share/licenses/fastfetch/LICENSE
+share/zsh/site-functions/_fastfetch
Index: pkgsrc/sysutils/fastfetch/distinfo
diff -u /dev/null pkgsrc/sysutils/fastfetch/distinfo:1.1
--- /dev/null   Mon Jan  6 19:34:59 2025
+++ pkgsrc/sysutils/fastfetch/distinfo  Mon Jan  6 19:34:59 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/01/06 19:34:59 vins Exp $
+
+BLAKE2s (fastfetch-2.33.0.tar.gz) = 82e265189b919cd41b15c689b2d2a1243bfaab9962abbe71fc65c278e6c57799
+SHA512 (fastfetch-2.33.0.tar.gz) = f9d824f908e36e3dc1b7784f2da818d764be6bbc6baa77d6b26ea6776acb5f101c4c39267fa42d1c9ae735c9889badc7b3a65170d81308de852a178e50140154
+Size (fastfetch-2.33.0.tar.gz) = 1161845 bytes
Index: pkgsrc/sysutils/fastfetch/options.mk
diff -u /dev/null pkgsrc/sysutils/fastfetch/options.mk:1.1
--- /dev/null   Mon Jan  6 19:34:59 2025
+++ pkgsrc/sysutils/fastfetch/options.mk        Mon Jan  6 19:34:59 2025
@@ -0,0 +1,141 @@
+# $NetBSD: options.mk,v 1.1 2025/01/06 19:34:59 vins Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.fastfetch
+PKG_OPTIONS_OPTIONAL_GROUPS=   server
+PKG_OPTIONS_GROUP.server=      wayland x11
+
+PKG_SUPPORTED_OPTIONS= chafa dconf dbus glib2 imagemagick libdrm libelf opencl \
+                       osmesa pulseaudio python sqlite3 wayland x11 xfce4-wm
+PKG_SUGGESTED_OPTIONS= glib2 libdrm opencl osmesa x11
+
+.include "../../mk/bsd.options.mk"
+
+##
+## D-Bus
+## Supports NetworkManager (Linux), Player & Media detection.
+##
+.if !empty(PKG_OPTIONS:Mdbus)
+.include "../../sysutils/dbus/buildlink3.mk"
+.endif
+
+##
+## DConf
+## Needed for values that are only stored in DConf;
+## (+ Fallback for GSettings)
+##
+.if !empty(PKG_OPTIONS:Mdconf)
+.include "../../devel/dconf/buildlink3.mk"
+.endif
+
+##
+## libchafa
+## Supports image output as ascii art
+##
+.if !empty(PKG_OPTIONS:Mchafa)
+.include "../../graphics/chafa/buildlink3.mk"
+.endif
+
+##
+## libdrm
+## Fallback if both wayland and x11 are not available
+## AMD GPU properties detection
+##
+.if !empty(PKG_OPTIONS:Mlibdrm)
+.include "../../x11/libdrm/buildlink3.mk"
+.endif
+
+##
+## libGIO
+## Provides output for values that are only stored in GSettings.
+##
+.if !empty(PKG_OPTIONS:Mglib2)
+.include "../../devel/glib2/buildlink3.mk"
+.endif
+
+##
+## libelf
+## Needed for st terminal font detection.
+##
+.if !empty(PKG_OPTIONS:Mlibelf)
+.include "../../devel/libelf/buildlink3.mk"
+.endif
+
+##
+## ImageMagick
+## Supports image output using sixel or kitty graphics protocol.
+##
+.if !empty(PKG_OPTIONS:Mimagemagick)
+.include "../../graphics/ImageMagick/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.endif
+
+##
+## MesaLib
+## Needed by the OpenGL module for gl context creation.
+##
+.if !empty(PKG_OPTIONS:Mosmesa)
+.include "../../graphics/MesaLib/buildlink3.mk"
+.endif
+
+##
+## OpenCL
+## Build OpenCL module.
+##
+.if !empty(PKG_OPTIONS:Mopencl)
+.include "../../parallel/ocl-icd/buildlink3.mk"
+.else
+CMAKE_CONFIGURE_ARGS+=  -DENABLE_OPENCL=OFF
+.endif
+
+##
+## Pulseaudio
+## Provides sound device detection.
+##
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+.include "../../audio/pulseaudio/buildlink3.mk"
+.endif
+
+##
+## Python
+## Needed for zsh and fish completions.
+##
+.if !empty(PKG_OPTIONS:Mpython)
+.include "../../lang/python/application.mk"
+.endif
+
+##
+## SQLite
+## Needed for pkg (FreeBSD) & rpm package count.
+##
+.if !empty(PKG_OPTIONS:Msqlite3)
+.include "../../databases/sqlite3/buildlink3.mk"
+.else
+CMAKE_CONFIGURE_ARGS+=  -DENABLE_SQLITE3=OFF
+CMAKE_CONFIGURE_ARGS+=  -DENABLE_RPM='OFF'
+.endif
+
+##
+## Wayland
+## Better display performance and output in wayland sessions.
+##
+.if !empty(PKG_OPTIONS:Mwayland)
+.include "../../devel/wayland/buildlink3.mk"
+.endif
+
+##
+## XFConf
+## Needed for XFWM theme and XFCE Terminal font detection.
+##
+.if !empty(PKG_OPTIONS:Mxfce4-wm)
+.include "../../devel/xfce4-conf/buildlink3.mk"
+.endif
+
+##
+## X11
+## Required for display detection and faster WM detection.
+##
+.if !empty(PKG_OPTIONS:Mx11)
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../x11/libdrm/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index