summaryrefslogtreecommitdiff
path: root/app-misc/fastfetch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-09 11:04:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-09 11:04:53 +0100
commit43297a4ed0a3760bbdd0b8c286b779f174ca5368 (patch)
tree15b92efd455b5d5eb0ef8a4af4f5f24572c4b46b /app-misc/fastfetch
parent14866757225815b9374acfc8453518951e0f910d (diff)
gentoo auto-resync : 09:08:2024 - 11:04:52
Diffstat (limited to 'app-misc/fastfetch')
-rw-r--r--app-misc/fastfetch/Manifest4
-rw-r--r--app-misc/fastfetch/fastfetch-2.21.1.ebuild110
-rw-r--r--app-misc/fastfetch/metadata.xml1
3 files changed, 114 insertions, 1 deletions
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index f90e28105189..b11182e8a6af 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -3,6 +3,7 @@ DIST fastfetch-2.18.1.tar.gz 1067696 BLAKE2B 96d4ab7d1ee455029c846690eed65a2ae31
DIST fastfetch-2.19.1.tar.gz 1075300 BLAKE2B 66cc78bdda56c59abf5adf626159493c0e36d9519b59ad5fc4aeba6af24a5d82a14ad234820a4b548511e935191cbaeb64a3e7c77d29fe2c2d9fe39601229dc1 SHA512 ea45f42c016a5a32f2fc6255eac1076adb3a5f223a27cae3304d76f9df10a5043ccfbbc63ae7f7da2188462ceacb5fc65e9884749de7c4f75afdbcb8a102fca0
DIST fastfetch-2.20.0.tar.gz 1076860 BLAKE2B 61c50a4c96962063f18ae895d2f7cbe505c9276fcba8fb5a3d7e9cc6b6854709cdb955681a868b23421f172f5cecfa51fb526f17d6800e072d96698efe7758bb SHA512 96b02688d8817ef84bb926ffa3c77ee95c8d402a6f1e5daeb8170484e6092f953f05a5ab463cdce544adb052a1e89b4ee530cc9f09e54223d5f666099e0ad6dc
DIST fastfetch-2.21.0.tar.gz 1086262 BLAKE2B 16412d690ea8843d58135674f3c1f0a6d7db95d400e3552769fc976a94c774a98765b0a0e36c4fb8c61083d779de6f56d09c423d35b8c00ac6287ab50aaa64c7 SHA512 e1c3cb7ddd879a577ce41adf43631f339fae65d313f1eb558972011006b639045d957cf700fcf07566743943c1374b8efb90f740ec578e47baee2cd44afab121
+DIST fastfetch-2.21.1.tar.gz 1089392 BLAKE2B 26dd4a7d97c47af7ba13c1cd2b9a9a97df7132d0da19986005e598b782d52fe19759f3af533b4ed7778bb655013fb02a6409f100980311d6decb2a6cb7311e84 SHA512 645830b3834c6308caf4b37b9b801a9b5ff963c14c5ca73decd4f8d1a3e1e3a678e86f81fe93f7f61b107e516a71c792a580f243b20763db1269769b89080b93
EBUILD fastfetch-0.1.9999.ebuild 3071 BLAKE2B 51b348d9d27d50695ccafb160664ce89b0d35a78f0bd07033e834292fe7208c3af4ca444eecf32943b9f326eab42a6b1fdc063429b982c29afa68c19056ac986 SHA512 ad27632d45a755b34f920171f2a51b120eabc733a60842ed778ebc3c7808013baddd3bf64ac0bdb44940c66bb2c9b955b6f662678a7d8e6a2625fa9739bf1b77
EBUILD fastfetch-0.2.9999.ebuild 3071 BLAKE2B 51b348d9d27d50695ccafb160664ce89b0d35a78f0bd07033e834292fe7208c3af4ca444eecf32943b9f326eab42a6b1fdc063429b982c29afa68c19056ac986 SHA512 ad27632d45a755b34f920171f2a51b120eabc733a60842ed778ebc3c7808013baddd3bf64ac0bdb44940c66bb2c9b955b6f662678a7d8e6a2625fa9739bf1b77
EBUILD fastfetch-2.17.2.ebuild 3167 BLAKE2B 2db6cea108a0385dc9a5785985e19cbb0832c552560884684d15a0f571307c84c759ab96bb0c9e2553a0b59ae1b5368d7caec455cd940a7a511e2347abcbda5f SHA512 acca4efdf69705226b917d71fb15583f56daee41b893ad2c24b717118f3f217d3e72fb1056993a0cc6c7bd9c60ccc5d37c4d430500debbf672869205431c8403
@@ -10,4 +11,5 @@ EBUILD fastfetch-2.18.1.ebuild 3171 BLAKE2B 5031d992b8479b0f0c63eb04ead13a539cd8
EBUILD fastfetch-2.19.1.ebuild 3171 BLAKE2B 5031d992b8479b0f0c63eb04ead13a539cd8742b871e5ed3c5715655a875be907b4ad918ca668e655e84ab74b61865cdff2bec645d85d5f5e6cc81db2d913827 SHA512 09b9f5e5e3fdd58030cb6e15d4b2a671988655a6962e7568af146001d3c0a80250d6d498fcf4b4f8bcfa72946d94b4d212c7f5afb65f6b72def174bba1cf7d73
EBUILD fastfetch-2.20.0.ebuild 3171 BLAKE2B 5031d992b8479b0f0c63eb04ead13a539cd8742b871e5ed3c5715655a875be907b4ad918ca668e655e84ab74b61865cdff2bec645d85d5f5e6cc81db2d913827 SHA512 09b9f5e5e3fdd58030cb6e15d4b2a671988655a6962e7568af146001d3c0a80250d6d498fcf4b4f8bcfa72946d94b4d212c7f5afb65f6b72def174bba1cf7d73
EBUILD fastfetch-2.21.0.ebuild 3071 BLAKE2B 51b348d9d27d50695ccafb160664ce89b0d35a78f0bd07033e834292fe7208c3af4ca444eecf32943b9f326eab42a6b1fdc063429b982c29afa68c19056ac986 SHA512 ad27632d45a755b34f920171f2a51b120eabc733a60842ed778ebc3c7808013baddd3bf64ac0bdb44940c66bb2c9b955b6f662678a7d8e6a2625fa9739bf1b77
-MISC metadata.xml 1110 BLAKE2B e447afe567f7c4a6d6545e2fbb2eff2ca710f36726c503225e099578ab975cae37097cba9a7fade14a893098495f8d0fd0621958ca330894b668789e48ee76c3 SHA512 2078ca3b56bc80f3234fffb6763c8ebcb849ad07e008254345940d8168e2c3f915cb9f3008203e5ac1fc6348b449683294ba3ec906a097426b0e1d1152ccafe5
+EBUILD fastfetch-2.21.1.ebuild 3129 BLAKE2B 26aeadd80187f54529aa4e622340e0e1fbe0e14a0f6cfaa2a880f6d8e8498619e8c259f0d78ce105501545bc8d3526be5b7f2e3888bc1da55c59d3eb8d82f2f7 SHA512 24218099828cda2889310d74ff9e0b32dfa9dfd3e3d1f231ef0e17fb16439d9a0256a675a9d2713487c177465ec0e8684664b954f88255716320e7fd59ae956f
+MISC metadata.xml 1179 BLAKE2B 8d17b388fd4cec14661b39e56997c818a1aaff73b52de225f5697d85e1042a50a0cef77d7b1636dd3caa852ae459d5bb00b0d0e3072769b4aa2db3d58366edf1 SHA512 bb2c646dcd7196406c2c16ea12c51f029c3f31b6a50e9c5cd7c2877650d50f5e03802d67006422b7e8fb2fafa241db5fd01d29321cdd1726bd5210f532b3b77d
diff --git a/app-misc/fastfetch/fastfetch-2.21.1.ebuild b/app-misc/fastfetch/fastfetch-2.21.1.ebuild
new file mode 100644
index 000000000000..1172d42eb56e
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-2.21.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="Fast neofetch-like system information tool"
+HOMEPAGE="https://github.com/fastfetch-cli/fastfetch"
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/fastfetch-cli/fastfetch.git"
+ [[ ${PV} == *0.1.9999 ]] && EGIT_BRANCH=master
+ [[ ${PV} == *0.2.9999 ]] && EGIT_BRANCH=dev
+ [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
+else
+ SRC_URI="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="X chafa dbus ddcutil drm elf gnome imagemagick opencl opengl osmesa pulseaudio sqlite test vulkan wayland xcb xfce xrandr"
+RESTRICT="!test? ( test )"
+
+# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
+# make sure to crank yyjson minimum version to match bundled version
+RDEPEND="
+ >=dev-libs/yyjson-0.10.0
+ sys-libs/zlib
+ X? ( x11-libs/libX11 )
+ chafa? ( media-gfx/chafa )
+ dbus? ( sys-apps/dbus )
+ ddcutil? ( app-misc/ddcutil:= )
+ drm? ( x11-libs/libdrm )
+ elf? ( virtual/libelf:= )
+ gnome? (
+ dev-libs/glib
+ gnome-base/dconf
+ )
+ imagemagick? ( media-gfx/imagemagick:= )
+ opencl? ( virtual/opencl )
+ opengl? ( media-libs/libglvnd[X] )
+ osmesa? ( media-libs/mesa[osmesa] )
+ pulseaudio? ( media-libs/libpulse )
+ sqlite? ( dev-db/sqlite:3 )
+ vulkan? (
+ media-libs/vulkan-loader
+ sys-apps/pciutils
+ )
+ wayland? ( dev-libs/wayland )
+ xcb? ( x11-libs/libxcb )
+ xfce? ( xfce-base/xfconf )
+ xrandr? ( x11-libs/libXrandr )
+"
+DEPEND="
+ ${RDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="
+ xrandr? ( X )
+ chafa? ( imagemagick )
+"
+
+src_configure() {
+ local fastfetch_enable_imagemagick7=no
+ local fastfetch_enable_imagemagick6=no
+ if use imagemagick; then
+ fastfetch_enable_imagemagick7=$(has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no)
+ fastfetch_enable_imagemagick6=$(has_version '<media-gfx/imagemagick-7.0.0' && echo yes || echo no)
+ fi
+
+ local mycmakeargs=(
+ -DENABLE_RPM=no
+ -DENABLE_ZLIB=yes
+ -DENABLE_SYSTEM_YYJSON=yes
+ -DIS_MUSL=$(usex elibc_musl)
+ -DINSTALL_LICENSE=no
+
+ -DENABLE_CHAFA=$(usex chafa)
+ -DENABLE_DBUS=$(usex dbus)
+ -DENABLE_DCONF=$(usex gnome)
+ -DENABLE_DDCUTIL=$(usex ddcutil)
+ -DENABLE_DRM=$(usex drm)
+ -DENABLE_ELF=$(usex elf)
+ -DENABLE_EGL=$(usex opengl)
+ -DENABLE_GIO=$(usex gnome)
+ -DENABLE_GLX=$(usex opengl)
+ -DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6}
+ -DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7}
+ -DENABLE_OPENCL=$(usex opencl)
+ -DENABLE_OSMESA=$(usex osmesa)
+ -DENABLE_PULSE=$(usex pulseaudio)
+ -DENABLE_SQLITE3=$(usex sqlite)
+ -DENABLE_VULKAN=$(usex vulkan)
+ -DENABLE_WAYLAND=$(usex wayland)
+ -DENABLE_X11=$(usex X)
+ -DENABLE_XCB=$(usex xcb)
+ -DENABLE_XCB_RANDR=$(usex xcb)
+ -DENABLE_XFCONF=$(usex xfce)
+ -DENABLE_XRANDR=$(usex xrandr)
+ -DBUILD_TESTS=$(usex test)
+ )
+
+ append-cppflags -DNDEBUG
+
+ cmake_src_configure
+}
diff --git a/app-misc/fastfetch/metadata.xml b/app-misc/fastfetch/metadata.xml
index 8478c055df84..b04cc81e9579 100644
--- a/app-misc/fastfetch/metadata.xml
+++ b/app-misc/fastfetch/metadata.xml
@@ -12,6 +12,7 @@
<flag name="chafa">Enables text/graphics renderer with <pkg>media-gfx/chafa</pkg></flag>
<flag name="ddcutil">Use <pkg>app-misc/ddcutil</pkg> to query monitor settings</flag>
<flag name="drm">Enables support for X.org's <pkg>x11-libs/libdrm</pkg></flag>
+ <flag name="elf">Use libelf to extract strings from binaries</flag>
<flag name="osmesa">Enables offscreen rendering support from <pkg>media-libs/mesa</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>