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 28CCD158094 for ; Wed, 27 Jul 2022 17:54:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B6DAE1155; Wed, 27 Jul 2022 17:54:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 33CE5E1155 for ; Wed, 27 Jul 2022 17:54:03 +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 EE50A340E27 for ; Wed, 27 Jul 2022 17:54:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FAFA4FB for ; Wed, 27 Jul 2022 17:54:00 +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: <1658944428.80e92c476484f9ed094a3abe891594dee091df0e.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.6.1.ebuild X-VCS-Directories: app-misc/fastfetch/ X-VCS-Committer: viorel_munteanu X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 80e92c476484f9ed094a3abe891594dee091df0e X-VCS-Branch: dev Date: Wed, 27 Jul 2022 17:54:00 +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: 679574ef-8546-444a-8559-ba6fc5b2a93a X-Archives-Hash: 75e5974f1bf2ef79a49bbbf48fc83b92 commit: 80e92c476484f9ed094a3abe891594dee091df0e Author: Viorel Munteanu gmail com> AuthorDate: Wed Jul 27 17:52:47 2022 +0000 Commit: Viorel Munteanu gmail com> CommitDate: Wed Jul 27 17:53:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80e92c47 app-misc/fastfetch: add 1.6.1 Signed-off-by: Viorel Munteanu gmail.com> app-misc/fastfetch/Manifest | 1 + app-misc/fastfetch/fastfetch-1.6.1.ebuild | 96 +++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index e72692d0f..b8f5d2d9a 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1 +1,2 @@ DIST fastfetch-1.6.0.tar.gz 349123 BLAKE2B 9d41c640134d6277a4f844e60654f55870f59b7117f7d3fa4424da777f4e139570e12d97e5781806fdc6d9860b134d7740441983461c205b3b5bd1e07d62079a SHA512 38d027923b5dabea3f85077307767e0ddab6a2685a3ad055fb58abe736d9edc580a4a75811f03ee7904223c67bc31dc84f3da9f4a1aa43a0ccd775c33b3ad941 +DIST fastfetch-1.6.1.tar.gz 349168 BLAKE2B 21076a879e921898766d70566f21cbf9d3f05a6dfc8b2b32be8908f32e0b130c01aca43b1c61ea5fb909757eca116e8bdb604f65d695a7b40b40f18607452597 SHA512 f0a5609cf8d3b57331617396f1c9656ac41dbcb58f485cc6a035dcc02813d7888d7ba42ee953d7f6bc1dd5c3a1ca702f6d1a8582ad5c6b8a4d085f1d40ac3c85 diff --git a/app-misc/fastfetch/fastfetch-1.6.1.ebuild b/app-misc/fastfetch/fastfetch-1.6.1.ebuild new file mode 100644 index 000000000..31e8aeeb4 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-1.6.1.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 '