From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AEF98159C9B for ; Fri, 9 Aug 2024 07:15:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F4B12BC026; Fri, 9 Aug 2024 07:15:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A7152BC026 for ; Fri, 9 Aug 2024 07:15:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 110EE3430AB for ; Fri, 9 Aug 2024 07:15:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DD1B1B9A for ; Fri, 9 Aug 2024 07:14:59 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1723187680.486c3dca534891056d7af1a788bc28933b3d47b8.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/fastfetch/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/fastfetch/Manifest app-misc/fastfetch/fastfetch-2.21.1.ebuild app-misc/fastfetch/metadata.xml X-VCS-Directories: app-misc/fastfetch/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 486c3dca534891056d7af1a788bc28933b3d47b8 X-VCS-Branch: master Date: Fri, 9 Aug 2024 07:14:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 51ba22aa-60b8-4195-99e7-7aa24dda0c44 X-Archives-Hash: 7b9b2e6ecede9a9fcdffbf5851f6543a commit: 486c3dca534891056d7af1a788bc28933b3d47b8 Author: Viorel Munteanu gentoo org> AuthorDate: Fri Aug 9 06:21:00 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Fri Aug 9 07:14:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486c3dca app-misc/fastfetch: add 2.21.1 Signed-off-by: Viorel Munteanu gentoo.org> app-misc/fastfetch/Manifest | 1 + app-misc/fastfetch/fastfetch-2.21.1.ebuild | 110 +++++++++++++++++++++++++++++ app-misc/fastfetch/metadata.xml | 1 + 3 files changed, 112 insertions(+) diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index d5e08e8c0cbb..58589ea442e6 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -3,3 +3,4 @@ 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 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 '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 + Use libelf to extract strings from binaries Enables offscreen rendering support from media-libs/mesa Enables reading GPU via media-libs/vulkan-loader Enables support for XFCE config