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/proj/guru:dev commit in: app-misc/fastfetch/
Date: Sat, 25 Mar 2023 07:36:40 +0000 (UTC)	[thread overview]
Message-ID: <1679729792.1e81dfa9eee9abd4db46aac42e2d881a0c227c32.ceamac@gentoo> (raw)
Message-ID: <20230325073640.rIpROQljJpLJXs3exDUvVpG35K5mVHmZlryj5og_7qo@z> (raw)

commit:     1e81dfa9eee9abd4db46aac42e2d881a0c227c32
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 07:35:52 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 07:36:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e81dfa9

app-misc/fastfetch: add 1.11.0

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

 app-misc/fastfetch/Manifest                |   1 +
 app-misc/fastfetch/fastfetch-1.11.0.ebuild | 102 +++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index 2e27cdaaa..8c7022ab9 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1 +1,2 @@
 DIST fastfetch-1.10.3.tar.gz 528112 BLAKE2B b270354b8f0772fb70ea7aa224f4d1d5e46386f419f32460b93a589f1af59ab6e1e6b48cfaa148bb2774e7a51503cf42506f57acbbe1eb9a64452d33cc01c7d5 SHA512 4ce2c1ef9c5481ef1548d741c902125125a428a1b577762e1f47ad7c5bbbda14dd080dbad114151e9a5d03c1695761e91d3a3bb70924da79a2d888b5160e8e3d
+DIST fastfetch-1.11.0.tar.gz 531745 BLAKE2B f3d41f55998941f54776c10dabcdae7876f84b6372e28eed5957b0bf7d9e38c750ab0e13a0ef059160a7696805cbee27ae2eaf31e030224ac1fc45c9fcc0e453 SHA512 94954cbd1ffe2cd10a7e8435f3f229cf5c61166c43365fc14562d68fc96e5eae6884d534d4d1b49c447d6e971e134bf2ff39b6e250432969906793d5db84faaf

diff --git a/app-misc/fastfetch/fastfetch-1.11.0.ebuild b/app-misc/fastfetch/fastfetch-1.11.0.ebuild
new file mode 100644
index 000000000..c60289caf
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-1.11.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 2022 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/LinusDierheimer/fastfetch"
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/LinusDierheimer/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/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="X chafa dbus 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="
+	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:= )
+	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_LIBCJSON=no
+		-DENABLE_RPM=no
+		-DENABLE_ZLIB=yes
+
+		-DENABLE_CHAFA=$(usex chafa)
+		-DENABLE_DBUS=$(usex dbus)
+		-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-03-25  7:36 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-25  7:40 Viorel Munteanu [this message]
2023-03-25  7:36 ` [gentoo-commits] repo/proj/guru:dev commit in: app-misc/fastfetch/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2023-05-27 17:22 [gentoo-commits] repo/proj/guru:master " 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-08  1:46 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=1679729792.1e81dfa9eee9abd4db46aac42e2d881a0c227c32.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