public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/fastfetch/
Date: Mon, 21 Aug 2023 05:34:13 +0000 (UTC)	[thread overview]
Message-ID: <1692595989.3c1913e2a2da08cec51b804f0d5b6256d6aa180b.ceamac@gentoo> (raw)

commit:     3c1913e2a2da08cec51b804f0d5b6256d6aa180b
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 05:33:09 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 05:33:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1913e2

app-misc/fastfetch: add 2.0.1

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 app-misc/fastfetch/Manifest               |   1 +
 app-misc/fastfetch/fastfetch-2.0.1.ebuild | 105 ++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index 2734a521d15c..d7e8ecf0aded 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.0.tar.gz 663049 BLAKE2B 5836a04bd0cec14321810e5512d136b02b1aea68eb5a481a79426b9eef75dcf2c93008a6ac9b7877ce1a3b2758b4d53ddc52bd7b2fca0faad26834281f5da954 SHA512 bdd440130314b7865391b74105871842fb5241d858b5808a5e2e9091f1a2f7cdad4ff485d92bb6108dd4b3d09a847adbf4c90493623c974902d8d9bcf2abbc81
+DIST fastfetch-2.0.1.tar.gz 770261 BLAKE2B e3998bf4ad38d67d3831481d14378eea3097aaddf3956b1e962f91c573db30faca17ac1621b9a7b662bcca23fab654656336c9ec0c179f4f587e70986de5bc47 SHA512 c65bf027b58ddf6cde961a1cef0d147e3cdba3a4fd844de6b88639d556b84811ccfeb7e4601094e60309779232553b1387f255a612971bf0f05ed7cc0381f4a6

diff --git a/app-misc/fastfetch/fastfetch-2.0.1.ebuild b/app-misc/fastfetch/fastfetch-2.0.1.ebuild
new file mode 100644
index 000000000000..1123fe0aba3a
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-2.0.1.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"
+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 '<media-gfx/imagemagick-7.0.0' && echo yes || echo no)
+	fi
+
+	local mycmakeargs=(
+		-DENABLE_RPM=no
+		-DENABLE_ZLIB=yes
+		-DENABLE_SYSTEM_YYJSON=yes
+
+		-DENABLE_CHAFA=$(usex chafa)
+		-DENABLE_DBUS=$(usex dbus)
+		-DENABLE_DDCUTIL=$(usex ddcutil)
+		-DENABLE_DCONF=$(usex gnome)
+		-DENABLE_EGL=$(usex opengl)
+		-DENABLE_GIO=$(usex gnome)
+		-DENABLE_GLX=$(usex opengl)
+		-DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6}
+		-DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7}
+		-DENABLE_LIBNM=$(usex networkmanager)
+		-DENABLE_LIBPCI=$(usex pci)
+		-DENABLE_OPENCL=$(usex opencl)
+		-DENABLE_OSMESA=$(usex osmesa)
+		-DENABLE_PULSE=$(usex pulseaudio)
+		-DENABLE_SQLITE3=$(usex sqlite)
+		-DENABLE_VULKAN=$(usex vulkan)
+		-DENABLE_WAYLAND=$(usex wayland)
+		-DENABLE_X11=$(usex X)
+		-DENABLE_XCB=$(usex xcb)
+		-DENABLE_XCB_RANDR=$(usex xcb)
+		-DENABLE_XFCONF=$(usex xfce)
+		-DENABLE_XRANDR=$(usex xrandr)
+	)
+
+	append-cppflags -DNDEBUG
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	rm -r "${ED}"/usr/share/licenses || die
+}


             reply	other threads:[~2023-08-21  5:34 UTC|newest]

Thread overview: 214+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21  5:34 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  0:36 [gentoo-commits] repo/gentoo:master commit in: app-misc/fastfetch/ Sam James
2024-11-24 15:47 Jakov Smolić
2024-11-23 19:49 Sam James
2024-11-18 17:23 Viorel Munteanu
2024-11-09 19:55 Viorel Munteanu
2024-11-09  9:57 Arthur Zamarin
2024-11-09  9:02 Arthur Zamarin
2024-11-07  9:16 Sam James
2024-11-04 12:49 Viorel Munteanu
2024-10-23 19:27 Viorel Munteanu
2024-10-18 17:28 Viorel Munteanu
2024-10-08 19:09 Arthur Zamarin
2024-10-06  5:42 Viorel Munteanu
2024-10-06  5:42 Viorel Munteanu
2024-10-04  9:05 Sam James
2024-10-04  8:03 Sam James
2024-09-29  8:20 Viorel Munteanu
2024-09-29  7:55 Viorel Munteanu
2024-09-29  7:55 Viorel Munteanu
2024-09-29  7:55 Viorel Munteanu
2024-09-26 17:08 Viorel Munteanu
2024-09-19  5:58 Viorel Munteanu
2024-09-16  6:58 Viorel Munteanu
2024-09-13 16:35 Viorel Munteanu
2024-09-03 13:48 Viorel Munteanu
2024-09-01 10:56 Viorel Munteanu
2024-08-27 10:29 Jakov Smolić
2024-08-27 10:29 Jakov Smolić
2024-08-27 10:29 Jakov Smolić
2024-08-26  4:40 Viorel Munteanu
2024-08-25 12:04 Andreas K. Hüttel
2024-08-22  7:37 Viorel Munteanu
2024-08-17  8:55 Viorel Munteanu
2024-08-16 16:41 Arthur Zamarin
2024-08-15 10:27 Viorel Munteanu
2024-08-15 10:27 Viorel Munteanu
2024-08-14  4:47 Viorel Munteanu
2024-08-14  4:47 Viorel Munteanu
2024-08-14  4:47 Viorel Munteanu
2024-08-10 15:41 Michał Górny
2024-08-10  9:03 Michał Górny
2024-08-09  7:14 Viorel Munteanu
2024-08-06  5:01 Viorel Munteanu
2024-08-06  5:01 Viorel Munteanu
2024-08-06  5:01 Viorel Munteanu
2024-08-04  3:16 Sam James
2024-08-03 16:48 Jakov Smolić
2024-08-03  8:45 Michał Górny
2024-07-26 15:02 Viorel Munteanu
2024-07-23  4:52 Viorel Munteanu
2024-07-23  4:52 Viorel Munteanu
2024-07-22 10:55 Viorel Munteanu
2024-07-22 10:55 Viorel Munteanu
2024-07-21 12:55 Jakov Smolić
2024-07-21 12:42 Sam James
2024-07-21 12:42 Sam James
2024-07-21  7:54 Viorel Munteanu
2024-07-11  5:42 Viorel Munteanu
2024-07-11  5:42 Viorel Munteanu
2024-07-10 11:29 Viorel Munteanu
2024-07-10 11:29 Viorel Munteanu
2024-07-07 11:07 Sam James
2024-07-07 11:02 Sam James
2024-07-07 11:02 Sam James
2024-07-04  7:31 Viorel Munteanu
2024-07-04  7:31 Viorel Munteanu
2024-07-02  4:47 Viorel Munteanu
2024-06-29  8:53 Sam James
2024-06-29  8:53 Sam James
2024-06-29  8:25 Sam James
2024-06-29  6:19 Viorel Munteanu
2024-06-29  6:19 Viorel Munteanu
2024-06-28  4:38 Viorel Munteanu
2024-06-28  4:38 Viorel Munteanu
2024-06-24  6:31 Viorel Munteanu
2024-06-22 17:18 Sam James
2024-06-22 13:49 Arthur Zamarin
2024-06-20 16:44 Viorel Munteanu
2024-06-10 10:32 Viorel Munteanu
2024-06-10 10:32 Viorel Munteanu
2024-06-10 10:29 Jakov Smolić
2024-06-10  8:54 Sam James
2024-06-10  8:51 Sam James
2024-06-07  4:36 Viorel Munteanu
2024-05-30  7:13 Viorel Munteanu
2024-05-23  7:45 Viorel Munteanu
2024-05-23  7:45 Viorel Munteanu
2024-05-21  4:40 Viorel Munteanu
2024-05-21  4:40 Viorel Munteanu
2024-05-20 14:40 Viorel Munteanu
2024-05-20 14:40 Viorel Munteanu
2024-05-20 14:40 Viorel Munteanu
2024-05-17  3:54 Sam James
2024-05-17  3:54 Sam James
2024-05-17  2:58 Sam James
2024-05-14 16:23 Viorel Munteanu
2024-05-09  6:46 Viorel Munteanu
2024-05-09  6:46 Viorel Munteanu
2024-05-06 14:46 Viorel Munteanu
2024-05-06 14:46 Viorel Munteanu
2024-05-04 18:52 Viorel Munteanu
2024-05-04 18:52 Viorel Munteanu
2024-05-03  7:05 Viorel Munteanu
2024-05-03  7:05 Viorel Munteanu
2024-04-30 14:19 Viorel Munteanu
2024-04-30 14:19 Viorel Munteanu
2024-04-25 10:45 Viorel Munteanu
2024-04-25  9:17 Viorel Munteanu
2024-04-24  9:54 Sam James
2024-04-24  9:54 Sam James
2024-04-24  9:52 Sam James
2024-04-23  6:27 Viorel Munteanu
2024-04-23  6:27 Viorel Munteanu
2024-04-22 16:52 Viorel Munteanu
2024-04-22 16:52 Viorel Munteanu
2024-04-16  4:40 Viorel Munteanu
2024-04-16  4:40 Viorel Munteanu
2024-04-07 14:43 Viorel Munteanu
2024-04-07 14:43 Viorel Munteanu
2024-04-04  6:16 Viorel Munteanu
2024-04-04  6:16 Viorel Munteanu
2024-03-25  7:24 Viorel Munteanu
2024-03-25  7:24 Viorel Munteanu
2024-03-16  8:25 Arthur Zamarin
2024-03-15  6:25 Viorel Munteanu
2024-03-15  6:25 Viorel Munteanu
2024-03-14  5:49 Sam James
2024-03-08  6:02 Viorel Munteanu
2024-03-02 11:39 Viorel Munteanu
2024-03-02 11:39 Viorel Munteanu
2024-03-01 13:58 Viorel Munteanu
2024-03-01 13:56 Arthur Zamarin
2024-02-29 22:17 Sam James
2024-02-28  5:50 Viorel Munteanu
2024-02-28  5:50 Viorel Munteanu
2024-02-23 13:02 Viorel Munteanu
2024-02-23 13:02 Viorel Munteanu
2024-02-23  8:40 Viorel Munteanu
2024-02-23  8:40 Viorel Munteanu
2024-02-12 16:51 Viorel Munteanu
2024-02-12 16:51 Viorel Munteanu
2024-02-10  8:02 Viorel Munteanu
2024-02-10  7:29 Viorel Munteanu
2024-02-10  7:29 Viorel Munteanu
2024-01-30 13:31 Viorel Munteanu
2024-01-30 13:31 Viorel Munteanu
2024-01-27 20:06 Ionen Wolkens
2024-01-27 20:06 Ionen Wolkens
2024-01-26  6:17 Viorel Munteanu
2024-01-21 19:01 Viorel Munteanu
2024-01-21 19:01 Viorel Munteanu
2024-01-20 16:55 Viorel Munteanu
2024-01-20 16:55 Viorel Munteanu
2024-01-17 17:27 Viorel Munteanu
2024-01-17 17:25 Viorel Munteanu
2024-01-12 18:59 Viorel Munteanu
2024-01-02  8:49 Viorel Munteanu
2024-01-01 17:54 Viorel Munteanu
2023-12-19  6:35 Viorel Munteanu
2023-12-19  6:35 Viorel Munteanu
2023-12-10  8:04 Viorel Munteanu
2023-12-08 18:21 Viorel Munteanu
2023-12-08 18:21 Viorel Munteanu
2023-12-07  6:11 Viorel Munteanu
2023-12-07  6:11 Viorel Munteanu
2023-12-06  6:58 Viorel Munteanu
2023-12-06  6:58 Viorel Munteanu
2023-12-05 13:51 Viorel Munteanu
2023-12-01 18:58 Arthur Zamarin
2023-11-08  6:18 Viorel Munteanu
2023-11-08  6:18 Viorel Munteanu
2023-11-07  5:16 Viorel Munteanu
2023-11-07  5:16 Viorel Munteanu
2023-11-02 10:00 Viorel Munteanu
2023-11-02 10:00 Viorel Munteanu
2023-11-01  9:50 Sam James
2023-10-20 20:35 Mart Raudsepp
2023-10-20 20:18 Arthur Zamarin
2023-10-15  9:52 Viorel Munteanu
2023-10-15  9:52 Viorel Munteanu
2023-10-14 14:40 Viorel Munteanu
2023-10-14 14:40 Viorel Munteanu
2023-10-05 19:17 Sam James
2023-10-02 12:49 Viorel Munteanu
2023-10-02 12:45 Viorel Munteanu
2023-09-24 17:09 WANG Xuerui
2023-09-24 14:09 Jakov Smolić
2023-09-14 16:43 Viorel Munteanu
2023-08-27  6:00 Viorel Munteanu
2023-08-26 13:00 Viorel Munteanu
2023-08-26 13:00 Viorel Munteanu
2023-08-25  8:07 Viorel Munteanu
2023-08-25  8:07 Viorel Munteanu
2023-08-24 11:38 Viorel Munteanu
2023-08-24 11:38 Viorel Munteanu
2023-08-22 11:40 Viorel Munteanu
2023-08-22 11:40 Viorel Munteanu
2023-08-14 14:54 Viorel Munteanu
2023-08-14 10:16 Viorel Munteanu
2023-07-17  6:12 Sam James
2023-07-05  6:08 Viorel Munteanu
2023-07-05  6:08 Viorel Munteanu
2023-07-03 12:11 Viorel Munteanu
2023-07-03 12:11 Viorel Munteanu
2023-07-02 14:48 Viorel Munteanu
2023-07-02 14:48 Viorel Munteanu
2023-07-02 14:48 Viorel Munteanu
2023-06-10  5:20 Viorel Munteanu
2023-06-10  5:20 Viorel Munteanu
2023-06-09  9:50 Viorel Munteanu
2023-06-09  9:50 Viorel Munteanu
2023-05-27 17:17 Viorel Munteanu
2023-05-27 17:17 Viorel Munteanu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1692595989.3c1913e2a2da08cec51b804f0d5b6256d6aa180b.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox