From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 713D21581EE for ; Sat, 05 Apr 2025 06:19:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4D4C634325B for ; Sat, 05 Apr 2025 06:19:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4928D1102CE; Sat, 05 Apr 2025 06:19:37 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 3C2371102CE for ; Sat, 05 Apr 2025 06:19:37 +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 DC5CF34325B for ; Sat, 05 Apr 2025 06:19:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36B2B1AB2 for ; Sat, 05 Apr 2025 06:19:35 +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: <1743833828.556f49f0043afd1a3bf9f228612a92415e08117e.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.40.3.ebuild X-VCS-Directories: app-misc/fastfetch/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 556f49f0043afd1a3bf9f228612a92415e08117e X-VCS-Branch: master Date: Sat, 05 Apr 2025 06:19:35 +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: ee70acf7-6be3-4e5b-9904-a1be2dac0ef3 X-Archives-Hash: 89b70350579c6dce467acc47758bbd0e commit: 556f49f0043afd1a3bf9f228612a92415e08117e Author: Viorel Munteanu gentoo org> AuthorDate: Sat Apr 5 06:16:48 2025 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sat Apr 5 06:17:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=556f49f0 app-misc/fastfetch: add 2.40.3 Signed-off-by: Viorel Munteanu gentoo.org> app-misc/fastfetch/Manifest | 1 + app-misc/fastfetch/fastfetch-2.40.3.ebuild | 124 +++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index b30e14860dc1..6345c8d1c339 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,2 +1,3 @@ DIST fastfetch-2.38.0.tar.gz 1207024 BLAKE2B 7d3d34416899c19741667d0f1fdc2f5cf8596bd555a3e06910292a51b7d0cdbbe98e4203245d497c350195505fd01cc194cceba395f06edc6fa69761f621452a SHA512 6c4ffebd2999c3882cd31a6e393f78d693c688b67ab62972b70833e24c0fee2f9d79f3b1ea82c6262e71e0b45fcc40f296194ae54beca65a817ccd25cde771d0 DIST fastfetch-2.40.2.tar.gz 1274654 BLAKE2B 25530cfa41e53436beb7301fd7019040da566c9cec084843964dd85915dcbffb200b3bbcc400c0492af8928dde4a2e7cc6460883752b0531f895253916639ea8 SHA512 69707cb7778f911515c1fff7073bae502c8bdade0ea47ba306e584be7ed43f9c140cccf24d043ed3fcf2c6c904bdc0f80a3067ddfb5f5c19f70b5e37020913cd +DIST fastfetch-2.40.3.tar.gz 1274656 BLAKE2B bec5e198d418c01b91d55c00667d9c52101e42af2634acc168784cb0cecee9b342de1cf3f6cb668fe3d7d462c36facf97d1b7e9107aa544dd09a84a20602bb6b SHA512 57198084d3652aa904b0d5070235afe539a88ddcf383ac14a432c1069a4ed42e9196c5e2d3e9c7fc62322e3f18bc4fb30409878a8eb8f0950bbc321fd009b096 diff --git a/app-misc/fastfetch/fastfetch-2.40.3.ebuild b/app-misc/fastfetch/fastfetch-2.40.3.ebuild new file mode 100644 index 000000000000..641a422f3188 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-2.40.3.ebuild @@ -0,0 +1,124 @@ +# Copyright 2022-2025 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 ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="X chafa dbus ddcutil drm elf gnome imagemagick opencl opengl 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-apps/hwdata + sys-libs/zlib + 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?] + X? ( x11-libs/libX11 ) + ) + 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} + opengl? ( X? ( x11-base/xorg-proto ) ) + xcb? ( x11-base/xorg-proto ) + xrandr? ( x11-base/xorg-proto ) + vulkan? ( dev-util/vulkan-headers ) +" +BDEPEND="virtual/pkgconfig" + +REQUIRED_USE=" + chafa? ( imagemagick ) +" + +pkg_pretend() { + if use X && ! use opengl; then + einfo 'USE="X" adds GLX support for USE="opengl"' + einfo 'This build with USE="X -opengl" will not include any extra X support.' + fi +} + +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 '