public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/fastfetch/
Date: Thu,  8 Sep 2022 01:46:42 +0000 (UTC)	[thread overview]
Message-ID: <1662536554.61d9aa9cd7b75359816e8b858d630387409de7d8.tastytea@gentoo> (raw)

commit:     61d9aa9cd7b75359816e8b858d630387409de7d8
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Wed Sep  7 07:42:34 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
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 <ceamac.paragon <AT> 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 '<media-gfx/imagemagick-7.0.0' && echo yes || echo no)
+	fi
+
+	local mycmakeargs=(
+		-DENABLE_RPM=no
+		-DENABLE_LIBPCI=$(usex pci)
+		-DENABLE_VULKAN=$(usex vulkan)
+		-DENABLE_WAYLAND=$(usex wayland)
+		-DENABLE_XCB_RANDR=$(usex xcb)
+		-DENABLE_XCB=$(usex xcb)
+		-DENABLE_XRANDR=$(usex xrandr)
+		-DENABLE_X11=$(usex X)
+		-DENABLE_GIO=$(usex gnome)
+		-DENABLE_DCONF=$(usex gnome)
+		-DENABLE_XFCONF=$(usex xfce)
+		-DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7}
+		-DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6}
+		-DENABLE_ZLIB=yes
+		-DENABLE_CHAFA=$(usex chafa)
+		-DENABLE_SQLITE3=$(usex sqlite)
+		-DENABLE_EGL=$(usex opengl)
+		-DENABLE_GLX=$(usex opengl)
+		-DENABLE_OSMESA=$(usex osmesa)
+		-DENABLE_OPENCL=$(usex opencl)
+		-DENABLE_DBUS=$(usex dbus)
+	)
+
+	cmake_src_configure
+}


             reply	other threads:[~2022-09-08  1:46 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08  1:46 Ronny Gutbrod [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-27 17:22 [gentoo-commits] repo/proj/guru:master commit in: app-misc/fastfetch/ Viorel Munteanu
2023-03-25  7:40 Viorel Munteanu
2023-02-27 18:04 Viorel Munteanu
2023-02-27 18:04 Viorel Munteanu
2023-02-23  9:24 Viorel Munteanu
2023-02-22  9:35 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-02-23  9:24 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-02-22  6:30 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-02-23  9:24 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-02-22  6:30 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-02-23  9:24 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-01-24  9:42 Viorel Munteanu
2023-01-24  9:42 Viorel Munteanu
2023-01-22  7:14 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-01-22  8:21 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-01-22  7:14 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-01-22  8:21 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-31 12:20 Viorel Munteanu
2022-12-31 12:20 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-31 12:20 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-30 20:42 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-30 20:42 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-30 20:36 Viorel Munteanu
2022-12-30 20:35 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-30 20:36 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-30  9:41 Viorel Munteanu
2022-12-30  9:41 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-30  9:41 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-29 15:28 Viorel Munteanu
2022-12-29 15:27 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-29 15:28 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-29 11:33 Florian Schmaus
2022-10-11 19:30 Andrew Ammerlaan
2022-10-11 19:30 Andrew Ammerlaan
2022-10-11 19:30 Andrew Ammerlaan
2022-09-17 11:49 Ronny Gutbrod
2022-09-17 11:49 Ronny Gutbrod
2022-09-06  1:06 Ronny Gutbrod
2022-08-24 15:52 Ronny Gutbrod
2022-08-24 15:52 Ronny Gutbrod
2022-08-24 15:52 Ronny Gutbrod
2022-08-24 15:52 Ronny Gutbrod
2022-08-12 22:13 Haelwenn Monnier
2022-08-12 22:13 Haelwenn Monnier
2022-08-12 22:13 Haelwenn Monnier
2022-07-05  7:14 Florian Schmaus
2022-07-05  7:14 Florian Schmaus
2022-06-28 15:38 Arthur Zamarin
2022-06-28 15:38 Arthur Zamarin
2022-06-22 17:39 Andrew Ammerlaan
2022-06-22 17:39 Andrew Ammerlaan
2022-06-09  9:23 Florian Schmaus
2022-06-09  9:23 Florian Schmaus
2022-05-28 10:10 Andrew Ammerlaan
2022-05-28 10:10 Andrew Ammerlaan
2022-04-23 17:49 Haelwenn Monnier
2022-04-23 17:49 Haelwenn Monnier
2022-04-23 17:49 Haelwenn Monnier
2022-04-23 17:49 Haelwenn Monnier
2022-04-23 17:49 Haelwenn Monnier
2022-03-25 11:24 Ronny Gutbrod
2022-03-25 11:24 Ronny Gutbrod
2022-03-18  6:35 Arthur Zamarin
2022-03-18  6:35 Arthur Zamarin
2022-03-10  9:45 Ronny Gutbrod
2022-03-10  9:45 Ronny Gutbrod
2022-02-23  0:33 Ronny Gutbrod
2022-02-23  0:33 Ronny Gutbrod
2022-02-13 20:24 Arthur Zamarin
2022-02-13 20:24 Arthur Zamarin
2022-02-01 10:38 Florian Schmaus
2022-02-01 10:38 Florian Schmaus
2022-01-23  8:17 Florian Schmaus
2022-01-21  9:14 Florian Schmaus

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=1662536554.61d9aa9cd7b75359816e8b858d630387409de7d8.tastytea@gentoo \
    --to=gentoo@tastytea.de \
    --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