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 4D346158094 for ; Tue, 5 Jul 2022 07:14:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 868ACE0D19; Tue, 5 Jul 2022 07:14:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55480E0D19 for ; Tue, 5 Jul 2022 07:14:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 99F18341FF8 for ; Tue, 5 Jul 2022 07:14:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80B00326 for ; Tue, 5 Jul 2022 07:14:32 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1656994935.e153d6c4277b5e801d48e28515d21f96a96b0a6b.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/fastfetch/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/fastfetch/Manifest app-misc/fastfetch/fastfetch-1.5.6.ebuild X-VCS-Directories: app-misc/fastfetch/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: e153d6c4277b5e801d48e28515d21f96a96b0a6b X-VCS-Branch: master Date: Tue, 5 Jul 2022 07:14:32 +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: 7b778dd0-a25a-4019-bf22-d5c937542f1b X-Archives-Hash: 947f8229f1e87fdc43497f0fd9c24162 commit: e153d6c4277b5e801d48e28515d21f96a96b0a6b Author: Viorel Munteanu gmail com> AuthorDate: Tue Jul 5 04:22:15 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Jul 5 04:22:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e153d6c4 app-misc/fastfetch: add 1.5.6 Signed-off-by: Viorel Munteanu gmail.com> app-misc/fastfetch/Manifest | 1 + app-misc/fastfetch/fastfetch-1.5.6.ebuild | 96 +++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 5b2a0c5f0..c9c7f9eaf 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1 +1,2 @@ DIST fastfetch-1.5.5.tar.gz 346289 BLAKE2B db6e321150429343a1660ea384b43a8a35a2bbf11cd6acdf9089f0d020059afa28cd4f42ac8d956974f8bb0cd6c3fe9750393ecb154f5449ab5d14a27057daaa SHA512 3c51ff0e82982bf1974b113709eacf323c5a4080a8292d4ffd4575b10cf8ddbd0a55bda57dcaec5bd61bebe4b4f16e6634fa067d01d8df5be0120b2b5f5f886c +DIST fastfetch-1.5.6.tar.gz 346273 BLAKE2B 4fa12c32905e1c3ed2ab1ba91e52da95a87b8c2ac8ce96076dd81e43ac491b100c44260d83833f1da18bd4fcb6646d71ee0b81bd0841e57ad174d2b2344be594 SHA512 fcc9e7c7c0742167253dcf01a0cc2ff906fe24769e2e87f9110d2c18ea8657eb1d7477aeb87ea2c805acaebb703542d3c36546ae90a7da3d40a96815aabb32c7 diff --git a/app-misc/fastfetch/fastfetch-1.5.6.ebuild b/app-misc/fastfetch/fastfetch-1.5.6.ebuild new file mode 100644 index 000000000..31e8aeeb4 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-1.5.6.ebuild @@ -0,0 +1,96 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Like neofetch but faster" +HOMEPAGE="https://github.com/LinusDierheimer/fastfetch" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git" +else + SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X chafa dbus gnome imagemagick opencl opengl osmesa pci sqlite vulkan wayland xcb xfce xrandr" + +# note - qa-vdb will always report errors because fastfetch loads the libs dynamically +RDEPEND=" + sys-libs/zlib + X? ( x11-libs/libX11 ) + chafa? ( + media-gfx/chafa + media-gfx/imagemagick:= + ) + dbus? ( sys-apps/dbus ) + gnome? ( + dev-libs/glib + gnome-base/dconf + ) + imagemagick? ( media-gfx/imagemagick:= ) + opencl? ( virtual/opencl ) + opengl? ( media-libs/libglvnd[X] ) + osmesa? ( media-libs/mesa[osmesa] ) + pci? ( sys-apps/pciutils ) + 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 )" + +pkg_setup() { + if use chafa && ! use imagemagick; then + elog "USE chafa depends on imagemagick, but that is currently disabled. Enabling imagemagick" + fi + + if use imagemagick || use chafa; then + export fastfetch_enable_imagemagick7=$(has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no) + else + export fastfetch_enable_imagemagick7=no + fi + + if use imagemagick || use chafa; then + export fastfetch_enable_imagemagick6=$(has_version '