diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-11 12:25:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-11 12:25:19 +0100 |
commit | 496ef6155c315ac3628b472dc9b4146fa2684286 (patch) | |
tree | a0201d7a6c3a6e30410307544281465381970f4b /app-misc/fastfetch | |
parent | e810ac4a0e6af9f763f4433863042b34609075a7 (diff) |
gentoo auto-resync : 11:07:2024 - 12:25:19
Diffstat (limited to 'app-misc/fastfetch')
-rw-r--r-- | app-misc/fastfetch/Manifest | 6 | ||||
-rw-r--r-- | app-misc/fastfetch/fastfetch-0.1.9999.ebuild | 2 | ||||
-rw-r--r-- | app-misc/fastfetch/fastfetch-0.2.9999.ebuild | 2 | ||||
-rw-r--r-- | app-misc/fastfetch/fastfetch-2.18.1.ebuild | 110 |
4 files changed, 116 insertions, 4 deletions
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 5759b00a2f05..8011bfd13f8d 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -2,10 +2,12 @@ DIST fastfetch-2.14.0.tar.gz 1083381 BLAKE2B bce9e8633d43ca50f1b35fa96a11c8d2cbd DIST fastfetch-2.15.0.tar.gz 1031800 BLAKE2B df41750c2281fb46c594004156b886d05863da7d7310ce21764fa3beb742f8c40bbec59464b947622682288ea16ca67626403ce42e792b6b1e6227d547deac98 SHA512 c2934432d23610e34d10cb66b13b0652619bdcb203dbc439fcd5e59a6a7814045ea90bf4d5dae12247f19e222a350cafee1184300845817d03ce6b0bcd947d2d DIST fastfetch-2.16.0.tar.gz 1044675 BLAKE2B 2c22fedef43155c71b3b0d4f590128699dc4d3f44211187f079e62baad338322bea60796bce8f6f23c1221174e1312d67c113b0ae3557a856b550756baebc077 SHA512 3a09e48775946876c69dfa8a739a090a18aa4598f455f6860d41962efeac2064127bf2a31d3a62ccc285682d12548402cf812eae01d56bc068b7855b0f00d4a7 DIST fastfetch-2.17.2.tar.gz 1051381 BLAKE2B a7bc9e8d945690f10a22b7d1f4539dcc6b3c98549130cee2fe41406470a43d70e72564eeeb5bfb8fafd879c1da852f85b4d6f0b61190d93a1709eff8fcc805c5 SHA512 0f1075fa9b6e89668ef9ac05e5947332f925e49ce7b16e39fc04c510c8f152df12f0c18453724773a980aae65c3c085267beaeb4dcd15d45f560b6b7f6121e67 -EBUILD fastfetch-0.1.9999.ebuild 3170 BLAKE2B 35a4eb1ca7f497b9301e334efd61243ff802816b58a137dd926240fa66ecccc939074ee0468657d92b94700a3c286a424d9b5aa58c61c30e92e0b8abd68f0593 SHA512 c6ff29a4b0a1f6ef2a1fdca86b177140c720f30f87ce1833387ea9162d8b0fb588b3360ba02aa1656e14208fdd2ce7e4c7378c28a147c7883688782d2fb7484e -EBUILD fastfetch-0.2.9999.ebuild 3170 BLAKE2B 35a4eb1ca7f497b9301e334efd61243ff802816b58a137dd926240fa66ecccc939074ee0468657d92b94700a3c286a424d9b5aa58c61c30e92e0b8abd68f0593 SHA512 c6ff29a4b0a1f6ef2a1fdca86b177140c720f30f87ce1833387ea9162d8b0fb588b3360ba02aa1656e14208fdd2ce7e4c7378c28a147c7883688782d2fb7484e +DIST fastfetch-2.18.1.tar.gz 1067696 BLAKE2B 96d4ab7d1ee455029c846690eed65a2ae31f6e4f659c9e609c4c0f3cdd3703af0d8b45e1ce12d7399305f9c3a186958037adfbd9c52b399d15bc3bbb074a2cd5 SHA512 f30e2123cc1f98453bb01ae8291d57f8678a1cfd7348f3046de3735d214a7f965240d6e3cf4983c1933531e6bab1e35632af5399fcb6ca0ebf0592b7a929efba +EBUILD fastfetch-0.1.9999.ebuild 3171 BLAKE2B 5031d992b8479b0f0c63eb04ead13a539cd8742b871e5ed3c5715655a875be907b4ad918ca668e655e84ab74b61865cdff2bec645d85d5f5e6cc81db2d913827 SHA512 09b9f5e5e3fdd58030cb6e15d4b2a671988655a6962e7568af146001d3c0a80250d6d498fcf4b4f8bcfa72946d94b4d212c7f5afb65f6b72def174bba1cf7d73 +EBUILD fastfetch-0.2.9999.ebuild 3171 BLAKE2B 5031d992b8479b0f0c63eb04ead13a539cd8742b871e5ed3c5715655a875be907b4ad918ca668e655e84ab74b61865cdff2bec645d85d5f5e6cc81db2d913827 SHA512 09b9f5e5e3fdd58030cb6e15d4b2a671988655a6962e7568af146001d3c0a80250d6d498fcf4b4f8bcfa72946d94b4d212c7f5afb65f6b72def174bba1cf7d73 EBUILD fastfetch-2.14.0.ebuild 3320 BLAKE2B 56416b9305271b366ec73a260626e0c83274562118f72aa2cacaa33855f845bea433eec0be8a89efaf00e3377890b9975b04e4815bb0584dbdb0d5e942b82cf5 SHA512 e07bde1a4f659fb6a966c7642a22fa241f4286e4e86ebe386278abc735bf62dd499d8fbe3e75e93a339b13bce8ca124f8a2b3e62c83a5753ec63b8ca2c7f34d9 EBUILD fastfetch-2.15.0.ebuild 3263 BLAKE2B 77adf9db7a470e3986c14e4ecbdb9a29b608ab7d917569da7f13feec5051500a343201c1c6327f59f48d7db8746de0624505be8ca88fba90038603745e9853a1 SHA512 cf4f4b7a77244b70c82af620e8d92b366db66217cb4a69efa9e15cea48eca291c96e8d02f4947adc1d64eef00795bd94642ddf4e7fac859b3277c7070395154a EBUILD fastfetch-2.16.0.ebuild 3266 BLAKE2B 78976693ab58b0b95eefbae1e95ea1b8b0a063f0e833ee63747d385bff2129d2a06baba7b33c7107e0b2b8c63075b1e9d637ed1ea8a3c731a808901b6aef2978 SHA512 93f6cf40fd5d1a87c4c1f0b43bc341cc14f03fba5c9358e0ce3b41d0f52ccd1e88faec21569e7f6f441feaa23fa00c22322658049cf857542e5fc471ca8e7aff EBUILD fastfetch-2.17.2.ebuild 3170 BLAKE2B 35a4eb1ca7f497b9301e334efd61243ff802816b58a137dd926240fa66ecccc939074ee0468657d92b94700a3c286a424d9b5aa58c61c30e92e0b8abd68f0593 SHA512 c6ff29a4b0a1f6ef2a1fdca86b177140c720f30f87ce1833387ea9162d8b0fb588b3360ba02aa1656e14208fdd2ce7e4c7378c28a147c7883688782d2fb7484e +EBUILD fastfetch-2.18.1.ebuild 3171 BLAKE2B 5031d992b8479b0f0c63eb04ead13a539cd8742b871e5ed3c5715655a875be907b4ad918ca668e655e84ab74b61865cdff2bec645d85d5f5e6cc81db2d913827 SHA512 09b9f5e5e3fdd58030cb6e15d4b2a671988655a6962e7568af146001d3c0a80250d6d498fcf4b4f8bcfa72946d94b4d212c7f5afb65f6b72def174bba1cf7d73 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 816bf1cfb879..ffccfb73cae0 100644 --- a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild +++ b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild @@ -26,7 +26,7 @@ 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 + >=dev-libs/yyjson-0.10.0 sys-libs/zlib X? ( x11-libs/libX11 ) chafa? ( media-gfx/chafa ) diff --git a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild index 816bf1cfb879..ffccfb73cae0 100644 --- a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild +++ b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild @@ -26,7 +26,7 @@ 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 + >=dev-libs/yyjson-0.10.0 sys-libs/zlib X? ( x11-libs/libX11 ) chafa? ( media-gfx/chafa ) diff --git a/app-misc/fastfetch/fastfetch-2.18.1.ebuild b/app-misc/fastfetch/fastfetch-2.18.1.ebuild new file mode 100644 index 000000000000..ffccfb73cae0 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-2.18.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 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.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 ) + 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 +} |