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 026BD158095 for ; Wed, 7 Sep 2022 07:42:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F0FBE0AAD; Wed, 7 Sep 2022 07:42:42 +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 366C1E0AAD for ; Wed, 7 Sep 2022 07:42:42 +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 42CDD335C0E for ; Wed, 7 Sep 2022 07:42:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF1C356D for ; Wed, 7 Sep 2022 07:42:39 +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: <1662536554.61d9aa9cd7b75359816e8b858d630387409de7d8.viorel_munteanu@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/fastfetch/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/fastfetch/Manifest app-misc/fastfetch/fastfetch-1.7.0.ebuild X-VCS-Directories: app-misc/fastfetch/ X-VCS-Committer: viorel_munteanu X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 61d9aa9cd7b75359816e8b858d630387409de7d8 X-VCS-Branch: dev Date: Wed, 7 Sep 2022 07:42:39 +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: dfac47b2-ebe0-42d0-bc8f-e75c32afaf2c X-Archives-Hash: 3fa6238136c50cfc18854bfa242b5872 commit: 61d9aa9cd7b75359816e8b858d630387409de7d8 Author: Viorel Munteanu gmail com> AuthorDate: Wed Sep 7 07:42:34 2022 +0000 Commit: Viorel Munteanu gmail com> CommitDate: Wed Sep 7 07:42:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61d9aa9c app-misc/fastfetch: add 1.7.0 Signed-off-by: Viorel Munteanu gmail.com> app-misc/fastfetch/Manifest | 1 + app-misc/fastfetch/fastfetch-1.7.0.ebuild | 85 +++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index cf1572ed2..572de412c 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1 +1,2 @@ DIST fastfetch-1.6.5.tar.gz 350944 BLAKE2B 51ef09e23656af1368be49b88f83a80d7028184f2dedeec7a392dfd4c578cf9d50ca29d40bae7b6856e733dad4da30525c33aae5ec5e6ab9d7eaeb9d43f72697 SHA512 795d0a23ebe09162f22db985c67e9ffbc6772765ee8b052a6fa78fd61ec12651e45932ab17247876545065c40f57040d90f7117cb991c78f84271141c7bff3e5 +DIST fastfetch-1.7.0.tar.gz 423699 BLAKE2B cc48b6b0cc1b04049d864d5d2a15cff8cca2e8e7cec9929d919e5fc5149fed55edaba520227c53ae3b0ab4633a65ce5cd590f75948256c228dd69fd9dae3c57b SHA512 ac5fde8a7920e6381c3636b1e39a4cf3abe665eb2a3a895d4ee72d269defc49c61ef796708fe8f60a6e48e02265bd4ab79eea9bcf0528f8cba46ec7a8bd3947e diff --git a/app-misc/fastfetch/fastfetch-1.7.0.ebuild b/app-misc/fastfetch/fastfetch-1.7.0.ebuild new file mode 100644 index 000000000..0160c0a49 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-1.7.0.ebuild @@ -0,0 +1,85 @@ +# 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 ) + 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 ) + 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 '