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 01801158089 for ; Mon, 2 Oct 2023 12:45:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4039D2BC022; Mon, 2 Oct 2023 12:45:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 25D2B2BC022 for ; Mon, 2 Oct 2023 12:45:41 +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 62CCD335C0F for ; Mon, 2 Oct 2023 12:45:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B52FF92C for ; Mon, 2 Oct 2023 12:45:38 +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: <1696250720.121689093bcf65df73cae263b754fa70654acca6.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.1.0.ebuild X-VCS-Directories: app-misc/fastfetch/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 121689093bcf65df73cae263b754fa70654acca6 X-VCS-Branch: master Date: Mon, 2 Oct 2023 12:45:38 +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: 22f65b98-5c7a-40db-8152-074a0dd428ea X-Archives-Hash: 6e9d5a2dc2b72cadb3ea5f3d85e0bab6 commit: 121689093bcf65df73cae263b754fa70654acca6 Author: Viorel Munteanu gentoo org> AuthorDate: Mon Oct 2 12:45:20 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Mon Oct 2 12:45:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12168909 app-misc/fastfetch: add 2.1.0 Signed-off-by: Viorel Munteanu gentoo.org> app-misc/fastfetch/Manifest | 1 + app-misc/fastfetch/fastfetch-2.1.0.ebuild | 105 ++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index f0e97c8be656..6b797b743b7a 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,2 +1,3 @@ DIST fastfetch-1.12.2.tar.gz 538194 BLAKE2B bc6badbc7f690dacbe1408479286a0d42ec687526f776ff4d2ec7b0eb767032e5781cbbe37778f4dc03a5d386979a9ae2aab84c466be997b82d9a9a6c81ea78f SHA512 a82a7c7ae365335c20d659a82215cf320c4c6b07ff127c4dad322a0a01f7ec57e34d229f4953108daadcd0d243c84f8504a3b4367df5e255e5a06e685fd6739a DIST fastfetch-2.0.5.tar.gz 772840 BLAKE2B f8eb5a662455ac1599eea5b6486ea2208487b363464c23a94ca9f1c19e275ab81f3b033789527bb7137b8379f74b52a313e593c9a4dd590acafb5a2af77e383b SHA512 91c506407538f1e59c38ade63d7112be9d1040e5b322d578698e3e35e857d7f473a13805760548a49b0e0757a93c54339b6a9b09a3675e0d7e86f1527b9b2cde +DIST fastfetch-2.1.0.tar.gz 793673 BLAKE2B 3d974f80ff014b951388124e1c6e61f10cca75ba7480341c1d7341a31710c71883b043bd423457f3908cabffaef2b28daadba6d8c6489141fe394bcd059ad8b3 SHA512 6163f31e5424e2750a6e5cd0f8573ceb88bc31426e81ca02c19f5ed6348f2572626e33b68709c6947067c7611dbbb73024d5087e1408c2343609b5716c47fb88 diff --git a/app-misc/fastfetch/fastfetch-2.1.0.ebuild b/app-misc/fastfetch/fastfetch-2.1.0.ebuild new file mode 100644 index 000000000000..1afa07a819a5 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-2.1.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="Fast 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 ~loong ~riscv" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="X chafa dbus ddcutil gnome imagemagick networkmanager opencl opengl osmesa pci pulseaudio sqlite vulkan wayland xcb xfce xrandr" + +# note - qa-vdb will always report errors because fastfetch loads the libs dynamically +RDEPEND=" + dev-libs/yyjson:= + sys-libs/zlib + X? ( x11-libs/libX11 ) + chafa? ( media-gfx/chafa ) + dbus? ( sys-apps/dbus ) + ddcutil? ( app-misc/ddcutil:= ) + 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 '