summaryrefslogtreecommitdiff
path: root/app-misc/fastfetch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-28 07:59:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-28 07:59:59 +0100
commitb8325835c82367d22428eb41afa0f2d375338d3c (patch)
treec416b8853bd14fc346da5d0129843cc4a68a30a0 /app-misc/fastfetch
parentd2ed973482fdd800013658e83a61709b29e0a80f (diff)
gentoo auto-resync : 28:06:2024 - 07:59:59
Diffstat (limited to 'app-misc/fastfetch')
-rw-r--r--app-misc/fastfetch/Manifest6
-rw-r--r--app-misc/fastfetch/fastfetch-0.1.9999.ebuild5
-rw-r--r--app-misc/fastfetch/fastfetch-0.2.9999.ebuild5
-rw-r--r--app-misc/fastfetch/fastfetch-2.17.0.ebuild110
4 files changed, 118 insertions, 8 deletions
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index b85798d096e7..4e2f3f0fc7bf 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -2,10 +2,12 @@ DIST fastfetch-2.13.2.tar.gz 1254865 BLAKE2B 87d9c286f578d4929c0d50ce075d9ee04e5
DIST fastfetch-2.14.0.tar.gz 1083381 BLAKE2B bce9e8633d43ca50f1b35fa96a11c8d2cbdf68ebace97cae37b4285f05ae0325d394682ac32bb8b5eb7141c82b865f25188def48685601da7385e83676cafc97 SHA512 0d7fb6003d6e3178725a05f6efebc32218d07d7b8c79b0d981b3317d57464202e7d1f379684dc78ae0fc6b003cfd95c4fee3efa5d8b89ec6ef2e6236a3e9f7b5
DIST fastfetch-2.15.0.tar.gz 1031800 BLAKE2B df41750c2281fb46c594004156b886d05863da7d7310ce21764fa3beb742f8c40bbec59464b947622682288ea16ca67626403ce42e792b6b1e6227d547deac98 SHA512 c2934432d23610e34d10cb66b13b0652619bdcb203dbc439fcd5e59a6a7814045ea90bf4d5dae12247f19e222a350cafee1184300845817d03ce6b0bcd947d2d
DIST fastfetch-2.16.0.tar.gz 1044675 BLAKE2B 2c22fedef43155c71b3b0d4f590128699dc4d3f44211187f079e62baad338322bea60796bce8f6f23c1221174e1312d67c113b0ae3557a856b550756baebc077 SHA512 3a09e48775946876c69dfa8a739a090a18aa4598f455f6860d41962efeac2064127bf2a31d3a62ccc285682d12548402cf812eae01d56bc068b7855b0f00d4a7
-EBUILD fastfetch-0.1.9999.ebuild 3266 BLAKE2B 78976693ab58b0b95eefbae1e95ea1b8b0a063f0e833ee63747d385bff2129d2a06baba7b33c7107e0b2b8c63075b1e9d637ed1ea8a3c731a808901b6aef2978 SHA512 93f6cf40fd5d1a87c4c1f0b43bc341cc14f03fba5c9358e0ce3b41d0f52ccd1e88faec21569e7f6f441feaa23fa00c22322658049cf857542e5fc471ca8e7aff
-EBUILD fastfetch-0.2.9999.ebuild 3266 BLAKE2B 78976693ab58b0b95eefbae1e95ea1b8b0a063f0e833ee63747d385bff2129d2a06baba7b33c7107e0b2b8c63075b1e9d637ed1ea8a3c731a808901b6aef2978 SHA512 93f6cf40fd5d1a87c4c1f0b43bc341cc14f03fba5c9358e0ce3b41d0f52ccd1e88faec21569e7f6f441feaa23fa00c22322658049cf857542e5fc471ca8e7aff
+DIST fastfetch-2.17.0.tar.gz 1050406 BLAKE2B 603ae631450ad252aedf85f35b2e3c7254b4afd6852e486bb5b3223df710a15b9c9912c9933d5f56bf5b7b83cb6d939dc5df555ac1b9c24c59b60dcc1a8299fc SHA512 d4bd481e2909c4d2d1230834611d227bec9a57472b72aabc8dbd6de345ced24f2416a089e5711eb7bc358b08bd62b8ad46914ef6b85c6a10a87f85b9f118c57b
+EBUILD fastfetch-0.1.9999.ebuild 3170 BLAKE2B 35a4eb1ca7f497b9301e334efd61243ff802816b58a137dd926240fa66ecccc939074ee0468657d92b94700a3c286a424d9b5aa58c61c30e92e0b8abd68f0593 SHA512 c6ff29a4b0a1f6ef2a1fdca86b177140c720f30f87ce1833387ea9162d8b0fb588b3360ba02aa1656e14208fdd2ce7e4c7378c28a147c7883688782d2fb7484e
+EBUILD fastfetch-0.2.9999.ebuild 3170 BLAKE2B 35a4eb1ca7f497b9301e334efd61243ff802816b58a137dd926240fa66ecccc939074ee0468657d92b94700a3c286a424d9b5aa58c61c30e92e0b8abd68f0593 SHA512 c6ff29a4b0a1f6ef2a1fdca86b177140c720f30f87ce1833387ea9162d8b0fb588b3360ba02aa1656e14208fdd2ce7e4c7378c28a147c7883688782d2fb7484e
EBUILD fastfetch-2.13.2.ebuild 3320 BLAKE2B 56416b9305271b366ec73a260626e0c83274562118f72aa2cacaa33855f845bea433eec0be8a89efaf00e3377890b9975b04e4815bb0584dbdb0d5e942b82cf5 SHA512 e07bde1a4f659fb6a966c7642a22fa241f4286e4e86ebe386278abc735bf62dd499d8fbe3e75e93a339b13bce8ca124f8a2b3e62c83a5753ec63b8ca2c7f34d9
EBUILD fastfetch-2.14.0.ebuild 3323 BLAKE2B a85119efe9d7d85931e4813f62226ecbc99cd80703b3fd985ffb28857d11dd1449c20044875e4836e295d1fcf477b33755aaeb105e463e3c5caaf3df41a474bc SHA512 144e8ba447ac685250a6827631238d3da2f29b142f9bf96f875a81085ec0a50c4401d03cb07f7f844541c34c6ac5f5aef0bc722432ab689cc5bd2b865adbabb9
EBUILD fastfetch-2.15.0.ebuild 3266 BLAKE2B 78976693ab58b0b95eefbae1e95ea1b8b0a063f0e833ee63747d385bff2129d2a06baba7b33c7107e0b2b8c63075b1e9d637ed1ea8a3c731a808901b6aef2978 SHA512 93f6cf40fd5d1a87c4c1f0b43bc341cc14f03fba5c9358e0ce3b41d0f52ccd1e88faec21569e7f6f441feaa23fa00c22322658049cf857542e5fc471ca8e7aff
EBUILD fastfetch-2.16.0.ebuild 3266 BLAKE2B 78976693ab58b0b95eefbae1e95ea1b8b0a063f0e833ee63747d385bff2129d2a06baba7b33c7107e0b2b8c63075b1e9d637ed1ea8a3c731a808901b6aef2978 SHA512 93f6cf40fd5d1a87c4c1f0b43bc341cc14f03fba5c9358e0ce3b41d0f52ccd1e88faec21569e7f6f441feaa23fa00c22322658049cf857542e5fc471ca8e7aff
+EBUILD fastfetch-2.17.0.ebuild 3170 BLAKE2B 35a4eb1ca7f497b9301e334efd61243ff802816b58a137dd926240fa66ecccc939074ee0468657d92b94700a3c286a424d9b5aa58c61c30e92e0b8abd68f0593 SHA512 c6ff29a4b0a1f6ef2a1fdca86b177140c720f30f87ce1833387ea9162d8b0fb588b3360ba02aa1656e14208fdd2ce7e4c7378c28a147c7883688782d2fb7484e
MISC metadata.xml 1179 BLAKE2B e64c84978c55cf17c996642166612d19d66400d66444ac21610c68e29b51222f72bfe7c4ae0d22da6e138ff366ea414ce780f04b1a61104aee45dc7e6d78b3a9 SHA512 830785a272ba47bfd7ade003cbb36fd1ef8fb84b452b7fdd81eb9e65ca67c2f297e8e07ff9e2c86a688f42167be206c92a45f76d2408bfa68494258120fcb9c1
diff --git a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
index b7b4acebe69c..816bf1cfb879 100644
--- a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
@@ -18,9 +18,9 @@ else
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
-LICENSE="MIT nvidia-gpu? ( NVIDIA-NVLM )"
+LICENSE="MIT"
SLOT="0"
-IUSE="X chafa dbus ddcutil drm gnome imagemagick networkmanager nvidia-gpu opencl opengl osmesa pulseaudio sqlite test vulkan wayland xcb xfce xrandr"
+IUSE="X chafa dbus ddcutil drm gnome imagemagick networkmanager 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
@@ -90,7 +90,6 @@ src_configure() {
-DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6}
-DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7}
-DENABLE_LIBNM=$(usex networkmanager)
- -DENABLE_PROPRIETARY_GPU_DRIVER_API=$(usex nvidia-gpu)
-DENABLE_OPENCL=$(usex opencl)
-DENABLE_OSMESA=$(usex osmesa)
-DENABLE_PULSE=$(usex pulseaudio)
diff --git a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
index b7b4acebe69c..816bf1cfb879 100644
--- a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
@@ -18,9 +18,9 @@ else
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
-LICENSE="MIT nvidia-gpu? ( NVIDIA-NVLM )"
+LICENSE="MIT"
SLOT="0"
-IUSE="X chafa dbus ddcutil drm gnome imagemagick networkmanager nvidia-gpu opencl opengl osmesa pulseaudio sqlite test vulkan wayland xcb xfce xrandr"
+IUSE="X chafa dbus ddcutil drm gnome imagemagick networkmanager 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
@@ -90,7 +90,6 @@ src_configure() {
-DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6}
-DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7}
-DENABLE_LIBNM=$(usex networkmanager)
- -DENABLE_PROPRIETARY_GPU_DRIVER_API=$(usex nvidia-gpu)
-DENABLE_OPENCL=$(usex opencl)
-DENABLE_OSMESA=$(usex osmesa)
-DENABLE_PULSE=$(usex pulseaudio)
diff --git a/app-misc/fastfetch/fastfetch-2.17.0.ebuild b/app-misc/fastfetch/fastfetch-2.17.0.ebuild
new file mode 100644
index 000000000000..816bf1cfb879
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-2.17.0.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 gnome imagemagick networkmanager 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.9.0
+ sys-libs/zlib
+ X? ( x11-libs/libX11 )
+ chafa? ( media-gfx/chafa )
+ dbus? ( sys-apps/dbus )
+ ddcutil? ( app-misc/ddcutil:= )
+ drm? ( x11-libs/libdrm )
+ gnome? (
+ dev-libs/glib
+ gnome-base/dconf
+ )
+ imagemagick? ( media-gfx/imagemagick:= )
+ networkmanager? ( net-misc/networkmanager )
+ 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_EGL=$(usex opengl)
+ -DENABLE_GIO=$(usex gnome)
+ -DENABLE_GLX=$(usex opengl)
+ -DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6}
+ -DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7}
+ -DENABLE_LIBNM=$(usex networkmanager)
+ -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
+}