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: Sun, 22 Jan 2023 07:14:44 +0000 (UTC)	[thread overview]
Message-ID: <1674371615.76f9d2b6a2a3bbc81c1541cf8bc90f45a1da5c24.ceamac@gentoo> (raw)

commit:     76f9d2b6a2a3bbc81c1541cf8bc90f45a1da5c24
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 07:13:35 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 07:13:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76f9d2b6

app-misc/fastfetch: add 1.9.0

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

 app-misc/fastfetch/Manifest               |  1 +
 app-misc/fastfetch/fastfetch-1.9.0.ebuild | 99 +++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index c1578f29c..43a0afe3d 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1 +1,2 @@
 DIST fastfetch-1.8.2.tar.gz 495971 BLAKE2B e490323b2a18c2cc6a17569955fde820584a4b1e547ad18162b1cbb6f72c61cf8e891c4d1ed56c89f78ac0bc3d5769603e1dfc61c32bad07985c0df27cdf5e10 SHA512 cad6e1f69fd9192e63a55478ee6abe1f0a72c1d4af645d2b8fc1e56fc90eda80f62b5da7a87744ba1a668e5f0b785aac0e49be90867d3b61c674cf455cf984c0
+DIST fastfetch-1.9.0.tar.gz 510212 BLAKE2B 1a716e3bdba946503b9fef810026965b02c2af2803bfb2b8bd6bbf826fdfcd566e11ab15b654e570d5a9526fa4a26be7127902a1204c0ee52c452c7310d1bc36 SHA512 6a8aa8260e3d32d1ac4e7788b89492d8377b1dd5e15a5e08d002d3945bc7360d47a4fe5805117d8386de487ac17020eca0b7fcd8333c194453874bd3517e73e4

diff --git a/app-misc/fastfetch/fastfetch-1.9.0.ebuild b/app-misc/fastfetch/fastfetch-1.9.0.ebuild
new file mode 100644
index 000000000..fa45a9f5f
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-1.9.0.ebuild
@@ -0,0 +1,99 @@
+# 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 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 )
+	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)
+		-DENABLE_LIBCJSON=no
+		-DENABLE_LIBNM=$(usex networkmanager)
+	)
+
+	append-cppflags -DNDEBUG
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	rm -r "${ED}"/usr/share/licenses || die
+}


WARNING: multiple messages have this Message-ID (diff)
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/fastfetch/
Date: Sun, 22 Jan 2023 08:21:38 +0000 (UTC)	[thread overview]
Message-ID: <1674371615.76f9d2b6a2a3bbc81c1541cf8bc90f45a1da5c24.ceamac@gentoo> (raw)
Message-ID: <20230122082138.cOqi3QcyPVX9Fq_8POPlxGsl5mSO989jVVPJuy7XJPw@z> (raw)

commit:     76f9d2b6a2a3bbc81c1541cf8bc90f45a1da5c24
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 07:13:35 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 07:13:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76f9d2b6

app-misc/fastfetch: add 1.9.0

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

 app-misc/fastfetch/Manifest               |  1 +
 app-misc/fastfetch/fastfetch-1.9.0.ebuild | 99 +++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index c1578f29c..43a0afe3d 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1 +1,2 @@
 DIST fastfetch-1.8.2.tar.gz 495971 BLAKE2B e490323b2a18c2cc6a17569955fde820584a4b1e547ad18162b1cbb6f72c61cf8e891c4d1ed56c89f78ac0bc3d5769603e1dfc61c32bad07985c0df27cdf5e10 SHA512 cad6e1f69fd9192e63a55478ee6abe1f0a72c1d4af645d2b8fc1e56fc90eda80f62b5da7a87744ba1a668e5f0b785aac0e49be90867d3b61c674cf455cf984c0
+DIST fastfetch-1.9.0.tar.gz 510212 BLAKE2B 1a716e3bdba946503b9fef810026965b02c2af2803bfb2b8bd6bbf826fdfcd566e11ab15b654e570d5a9526fa4a26be7127902a1204c0ee52c452c7310d1bc36 SHA512 6a8aa8260e3d32d1ac4e7788b89492d8377b1dd5e15a5e08d002d3945bc7360d47a4fe5805117d8386de487ac17020eca0b7fcd8333c194453874bd3517e73e4

diff --git a/app-misc/fastfetch/fastfetch-1.9.0.ebuild b/app-misc/fastfetch/fastfetch-1.9.0.ebuild
new file mode 100644
index 000000000..fa45a9f5f
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-1.9.0.ebuild
@@ -0,0 +1,99 @@
+# 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 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 )
+	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)
+		-DENABLE_LIBCJSON=no
+		-DENABLE_LIBNM=$(usex networkmanager)
+	)
+
+	append-cppflags -DNDEBUG
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	rm -r "${ED}"/usr/share/licenses || die
+}


             reply	other threads:[~2023-01-22  7:14 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-22  7:14 Viorel Munteanu [this message]
2023-01-22  8:21 ` [gentoo-commits] repo/proj/guru:master commit in: app-misc/fastfetch/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2023-05-27 17:22 Viorel Munteanu
2023-05-27 17:18 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-03-25  7:40 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-03-25  7:36 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-03-03 12:53 Viorel Munteanu
2023-02-27 18:04 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-02-27 17:48 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-02-27 18:04 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-02-27 17:48 ` [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-22  9:35 Viorel Munteanu
2023-02-22  6:30 Viorel Munteanu
2023-02-22  6:30 Viorel Munteanu
2023-01-24  9:42 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-01-24  9:40 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-01-24  9:42 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-01-24  9:40 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-01-22  7:14 Viorel Munteanu
2022-12-31 12:20 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-31 12:20 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-31 12:20 Viorel Munteanu
2022-12-30 20:42 Viorel Munteanu
2022-12-30 20:36 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-30 20:35 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-30 20:35 Viorel Munteanu
2022-12-30  9:41 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-30  9:41 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-30  9:41 Viorel Munteanu
2022-12-29 15:28 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-29 15:27 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-29 15:27 Viorel Munteanu
2022-12-28 14:39 Viorel Munteanu
2022-11-02 16:23 Viorel Munteanu
2022-10-11 16:45 Viorel Munteanu
2022-10-10  9:02 Viorel Munteanu
2022-10-10  4:47 Viorel Munteanu
2022-09-15 16:54 Viorel Munteanu
2022-09-15 16:54 Viorel Munteanu
2022-09-07  7:42 Viorel Munteanu
2022-09-04  6:35 Viorel Munteanu
2022-08-22 10:29 Viorel Munteanu
2022-08-22 10:29 Viorel Munteanu
2022-08-22  5:15 Viorel Munteanu
2022-08-22  5:15 Viorel Munteanu
2022-08-12 19:56 Viorel Munteanu
2022-08-12 14:10 Viorel Munteanu
2022-08-12 14:10 Viorel Munteanu
2022-07-27 17:54 Viorel Munteanu
2022-07-27  5:37 Viorel Munteanu
2022-07-27  5:37 Viorel Munteanu
2022-07-05  4:23 Viorel Munteanu
2022-07-05  4:23 Viorel Munteanu
2022-06-28  4:30 Viorel Munteanu
2022-06-28  4:30 Viorel Munteanu
2022-06-20 11:17 Viorel Munteanu
2022-06-20 10:49 Viorel Munteanu
2022-06-19  5:51 Viorel Munteanu
2022-06-19  5:51 Viorel Munteanu
2022-06-09  5:39 Viorel Munteanu
2022-06-09  5:39 Viorel Munteanu
2022-05-27  2:57 Viorel Munteanu
2022-05-27  2:57 Viorel Munteanu
2022-04-29  6:04 Viorel Munteanu
2022-04-29  6:04 Viorel Munteanu
2022-04-23  9:48 Viorel Munteanu
2022-04-23  9:48 Viorel Munteanu
2022-04-22 19:46 Viorel Munteanu
2022-04-22 19:46 Viorel Munteanu
2022-04-22 19:18 Viorel Munteanu
2022-03-31 17:19 Viorel Munteanu
2022-03-31 17:19 Viorel Munteanu
2022-03-22 18:07 Viorel Munteanu
2022-03-22 18:07 Viorel Munteanu
2022-03-20 19:02 Viorel Munteanu
2022-03-20 19:02 Viorel Munteanu
2022-03-17 18:14 Viorel Munteanu
2022-03-17 18:14 Viorel Munteanu
2022-03-14 16:41 Viorel Munteanu
2022-03-14 16:41 Viorel Munteanu
2022-03-09 13:18 Viorel Munteanu
2022-03-09 13:18 Viorel Munteanu
2022-02-22 18:31 Viorel Munteanu
2022-02-22 18:31 Viorel Munteanu
2022-02-17  7:58 Viorel Munteanu
2022-02-17  7:58 Viorel Munteanu
2022-02-12 12:56 Viorel Munteanu
2022-02-12 12:56 Viorel Munteanu
2022-02-09 16:12 Viorel Munteanu
2022-02-09 10:43 Viorel Munteanu
2022-02-08  5:09 Viorel Munteanu
2022-01-29 10:30 Viorel Munteanu
2022-01-29 10:30 Viorel Munteanu
2022-01-23 20:25 Viorel Munteanu
2022-01-23 20:25 Viorel Munteanu
2022-01-22 12:48 Viorel Munteanu
2022-01-21 14:55 Viorel Munteanu
2022-01-20 20:54 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=1674371615.76f9d2b6a2a3bbc81c1541cf8bc90f45a1da5c24.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