From 6bf575618cf9022e99cbfcc64036fd9db79a749c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 5 Dec 2023 17:02:59 +0000 Subject: gentoo auto-resync : 05:12:2023 - 17:02:58 --- app-misc/fastfetch/Manifest | 4 +- app-misc/fastfetch/fastfetch-2.3.1.ebuild | 111 ++++++++++++++++++++++++++++++ app-misc/fastfetch/metadata.xml | 1 + 3 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 app-misc/fastfetch/fastfetch-2.3.1.ebuild (limited to 'app-misc/fastfetch') diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 280920f73d96..8e55916f7248 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,8 +1,10 @@ AUX fastfetch-2.0.0-dont-fetch-yyjson.patch 843 BLAKE2B dc37cb21096ea415fa806265081f33fc48e735fe29b7ff5b742368aac6218bc9345145a81394d2936ca23c0e7fee05dd50a32ca3feb7182c3e11b8a833a6017d SHA512 c3a41cd0ed3b33b9ebc3bc9876c7db6ae9c71b8dfac7e92259a09372d059fcb032c6a34c10791758583b810de0f6db21c1ba8426e3611ae67ee97836329109cf DIST fastfetch-1.12.2.tar.gz 538194 BLAKE2B bc6badbc7f690dacbe1408479286a0d42ec687526f776ff4d2ec7b0eb767032e5781cbbe37778f4dc03a5d386979a9ae2aab84c466be997b82d9a9a6c81ea78f SHA512 a82a7c7ae365335c20d659a82215cf320c4c6b07ff127c4dad322a0a01f7ec57e34d229f4953108daadcd0d243c84f8504a3b4367df5e255e5a06e685fd6739a DIST fastfetch-2.2.3.tar.gz 901203 BLAKE2B d6d097b72ce2f252e42b3e59cbd26b43a4f17ae974382f986270fbf91b457cf3c49e78a3c775e713d9302d536fb5a363e809005b9174d1a27622e6b6ed666709 SHA512 81e051b7555d56415c723606c0b6dfc3ad7ed91fb2c7b36c07465f4dfbdb91da5c8d216e46df36863888448de0a7bd63e28c6aa701995bf1165e0d7c33c4f724 +DIST fastfetch-2.3.1.tar.gz 909003 BLAKE2B ed0b68d81af09ece476f032eceeaa993e3138e9e9093ed8864b22ff172a13e0a4d9729f61a6225742d6c69df31e4f6e139fa6a51a9153fad4fb1b7cee912b697 SHA512 a97ea08ec2253eb912ca3071449f5af981aa7453b39c43982c83f901775a1c3a8876b6625a0982bd62abf8d38c6a313020b25498bb2bbe3d647765804cecd3c6 EBUILD fastfetch-0.1.9999.ebuild 2964 BLAKE2B 273947170f50ecb9629efdf10027a7b6af5c98329470f97f7078e0082f8b128e9bf428c4d82b8df52a09d3b96fdc88d8c1bff79719838effaac43aacb32f7b00 SHA512 ead9d649523d9ec049bea90516a04f1fb2fc43618e4592f8faa8e0b309ac783e798baf0ccafc89ddd4a3cb23338f2544df65be4ca41f590048f53fc2d78d1028 EBUILD fastfetch-0.2.9999.ebuild 2884 BLAKE2B cb3aba85dbd4ea7a8086d6bfd35ac053a6893f17cbbc8b916fa514f575c7407a0e68359b09d66243d52b4276d1d67f584eb41c46066542d5548610f4bc27b285 SHA512 40707f326072cff867587a0ba82f26ebd203920a3d2b4d9668f26ca9c0d4152a05555c2e6975fd1ecffa8ab8fea8a8cc4f975bf02a9113de781fd51969e3e5d8 EBUILD fastfetch-1.12.2.ebuild 2838 BLAKE2B 1185a5c20a06bf6e6112f4cc8942eb10ff403f7db2a4edabc1264db19448cfd992da044619b767751bd3d25d1759a6e6a8440aa529e058226adfec8cbfc400b8 SHA512 47b8b945db6391ba18a7fd93c0a9c6d53ccf1d0ede37538dbcb5ed95975f3691bd3f87492860e5e61727aa020ba42acd18ef4e27ffa9b21dfaae10fea9e94752 EBUILD fastfetch-2.2.3.ebuild 3127 BLAKE2B 52d5325669ac4adcf806c2830e3dd1241cbe37f77b21ff38c0423dbbfbfa22f69c0a03ac3fb43ebc0bc05db6a182662dcf932718f7afba3241c7658d5abe1076 SHA512 913e9790e9666e40cf6bd1dfbb92d7c244cc76201b94ed2c2e11648c0c8ff7effec6a060d0a376855e5578b9d15893c9e04f6839bcbbd8c7970b33986f9a11b4 -MISC metadata.xml 1159 BLAKE2B 967449a1aa6e5baae193e105181c750b35eba83ab0a9586e6ce461e158e59a1184f67d765e19ea3a4f0602b7be17f777fb2d30d11d123dae26163f7fc9440d57 SHA512 595cf9a0b99e97fcb4396807473545c4f59cb129013dfe0adc6885c60d7ea47e72cf4aef1df01f7bd8328ec6e89918980a2ecc69700923f099b1a7e573a83731 +EBUILD fastfetch-2.3.1.ebuild 3241 BLAKE2B ab3b244e79117b51e318235bac79ac93b6e34ab40ea8f57f5fe2e075cc3fe9bd531c6c84fe7a565e9209711f33ace01924988a007b9ccf8540dcb3bb730b437a SHA512 95d1759b0ef5ef89d4bd9b7f14dd30f84449284822f82f265e659e34f14189c2d1354d73037f676cbae275059c07bcb4033eff870458b88550c13276429415e4 +MISC metadata.xml 1239 BLAKE2B 17a8422491fced016bdd68a38cf888797de3511179253757989866d49624e49c49bfeb11b192ff5561014d5c8ee55bd88df5995196d1efad8c81a3e4c8ff2952 SHA512 e26e103eb3f96bf33bb351edb20be4022002ce597babcabd36712473d002e7fe53603a89b56979a395276baac314fbd33d4e06ed206fd2b1b978abe2bb9e4b12 diff --git a/app-misc/fastfetch/fastfetch-2.3.1.ebuild b/app-misc/fastfetch/fastfetch-2.3.1.ebuild new file mode 100644 index 000000000000..dda90690cb6d --- /dev/null +++ b/app-misc/fastfetch/fastfetch-2.3.1.ebuild @@ -0,0 +1,111 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic shell-completion + +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 ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="X chafa dbus ddcutil drm gnome imagemagick networkmanager opencl opengl osmesa pci 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.8.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] ) + pci? ( sys-apps/pciutils ) + pulseaudio? ( media-libs/libpulse ) + sqlite? ( dev-db/sqlite:3 ) + vulkan? ( media-libs/vulkan-loader ) + wayland? ( dev-libs/wayland ) + xcb? ( x11-libs/libxcb ) + xfce? ( xfce-base/xfconf ) + xrandr? ( x11-libs/libXrandr ) +" +DEPEND="${RDEPEND}" +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 ' Enables text/graphics renderer with media-gfx/chafa Use app-misc/ddcutil to query monitor settings + Enables support for X.org's x11-libs/libdrm Enables OpenCL support Enables offscreen rendering support from media-libs/mesa Enables reading GPU via sys-apps/pciutils -- cgit v1.2.3