From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/fastfetch/
Date: Tue, 1 Feb 2022 10:38:57 +0000 (UTC) [thread overview]
Message-ID: <1643452132.d85485e0f12f38fa8f06f15e3859b56f9b03f4c7.flow@gentoo> (raw)
commit: d85485e0f12f38fa8f06f15e3859b56f9b03f4c7
Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Sat Jan 29 10:28:52 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 10:28:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d85485e0
app-misc/fastfetch: add 0.569
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
app-misc/fastfetch/Manifest | 1 +
app-misc/fastfetch/fastfetch-0.569.ebuild | 90 +++++++++++++++++++++++++++++++
2 files changed, 91 insertions(+)
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index ec9b91c5a..233858a0b 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1 +1,2 @@
DIST fastfetch-0.568.tar.gz 319886 BLAKE2B 5ac296319ff48cda0ba3a00dd0cc80bb19a632672ebf272ad1b35b5f3ca982c50bef1909cfa4274ce1e104458c9c4e73d2fda7dc714ab47d70fe341b0990441b SHA512 32704e78f6bd3c659b9090de949df2c63f755377760d95b5a3154bae72eb96baa0f0e2e1bcbcf226a81077c62089821884ed2ca30335fcfe1e77dd9a354854fd
+DIST fastfetch-0.569.tar.gz 319899 BLAKE2B 07c3169e97a5127a67941972ea6feac1bec11203bb55b23243a4b298580299d942b518eab24a741dd0354d56879dc9ccd192bf88024aa660a4c83f149c8133cd SHA512 979a9e717bc2ef59aa0b410fe62015f8ecf58419e4b1df56ea139aa84e627491ab310da358e821a7dcc95efc8017b8fd71d1174cde8a770717759a1e50d0fb31
diff --git a/app-misc/fastfetch/fastfetch-0.569.ebuild b/app-misc/fastfetch/fastfetch-0.569.ebuild
new file mode 100644
index 000000000..dc92b167f
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-0.569.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 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
+ COMMIT="7ad73d3ba13489b341a07782e6374d92c54091ba"
+ VERSION_REV="7ad73d3"
+ SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X gnome pci vulkan wayland xcb xfce xrandr"
+
+# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
+RDEPEND="
+ X? ( x11-libs/libX11 )
+ gnome? (
+ dev-libs/glib
+ gnome-base/dconf
+ )
+ pci? ( sys-apps/pciutils )
+ 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 )"
+
+# disable_check VAR lib
+disable_check() {
+ sed -i -e "
+ /pkg_check_modules ($1 /d
+ /message.*$2/d" CMakeLists.txt || die "Cannot disable $1"
+}
+
+src_configure() {
+ disable_check RPM librpm
+
+ use X || disable_check X11 x11
+ use gnome || (disable_check GIO gio- && disable_check DCONF dconf)
+ use pci || disable_check LIBPCI libpci
+ use vulkan || disable_check VULKAN vulkan
+ use wayland || disable_check WAYLAND wayland-client
+ use xcb || (disable_check XCB_RANDR xcb-randr && disable_check XCB xcb)
+ use xfce || disable_check XFCONF libxfconf
+ use xrandr || disable_check XRANDR xrandr
+
+ if [[ ${PV} != *9999 ]]; then
+ # version comes from git, fake it
+ VERSION_MAJOR="$(ver_cut 2)"
+ sed -i -e "
+ s/\(PROJECT_VERSION\) .*$/\1 \"r${VERSION_MAJOR}.${VERSION_REV}\")/
+ s/\(PROJECT_VERSION_MAJOR\) .*$/\1 \"${VERSION_MAJOR}\")/" CMakeLists.txt || die "Cannot patch version"
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ if [[ ${PV} == *9999 ]]; then
+ elog "REV=\"r$(git rev-list --count HEAD)\""
+ elog "COMMIT=\"$(git rev-parse HEAD)\""
+ elog "VERSION_REV=\"$(git rev-parse --short HEAD)\""
+ fi
+
+ pushd "${BUILD_DIR}" || die
+ dobin fastfetch
+ popd
+
+ newbashcomp completions/bash fastfetch
+ insinto /usr/share/${PN}/presets
+ doins presets/*
+
+ einstalldocs
+}
next reply other threads:[~2022-02-01 10:39 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-01 10:38 Florian Schmaus [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-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-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=1643452132.d85485e0f12f38fa8f06f15e3859b56f9b03f4c7.flow@gentoo \
--to=flow@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