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: Wed, 23 Feb 2022 00:33:48 +0000 (UTC) [thread overview]
Message-ID: <1645554658.cef2099239ed0f050799aefe5cfa223b6afc5de6.tastytea@gentoo> (raw)
commit: cef2099239ed0f050799aefe5cfa223b6afc5de6
Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Tue Feb 22 18:18:49 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Tue Feb 22 18:30:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cef20992
app-misc/fastfetch: add 0.604
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
app-misc/fastfetch/Manifest | 1 +
...astfetch-9999.ebuild => fastfetch-0.604.ebuild} | 36 ++++++++--------------
app-misc/fastfetch/fastfetch-9999.ebuild | 35 +++++++--------------
3 files changed, 24 insertions(+), 48 deletions(-)
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index fe3f3bd75..e56a66e7d 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1 +1,2 @@
DIST fastfetch-0.599.tar.gz 323683 BLAKE2B 73dd5269fd37b6393f2f02fa93c1a398726101922cc6ec05862939f290edb02269131292cf1384dba3bd13996e06e861f62cd77cfa5c2dd2eaeee28c0eb97707 SHA512 90af0425d8a7746009028aeddb50970ead3d74506bc75defb8c4a179a9e51b8d2cd32186b25e9cc45c40c85567ee783edf581a79ee1fd5468d6936caf5ab4e2a
+DIST fastfetch-0.604.tar.gz 324226 BLAKE2B 75860f98b5eaca0a59e29618a9d7bd2542aff12eb9761186b6233ffe17212df0b54e387b86511540b4e1522f017f73a1286ec58b0f54a4687a9f11fbb5235652 SHA512 09a531be1d35deb7ad34dd9059baa8abaa1d9872d27178d467d743e74d6b8e49549762f893ce2538c14c52dd392ed25ed4b68218d2bcda9b1e86f6bf1310011e
diff --git a/app-misc/fastfetch/fastfetch-9999.ebuild b/app-misc/fastfetch/fastfetch-0.604.ebuild
similarity index 73%
copy from app-misc/fastfetch/fastfetch-9999.ebuild
copy to app-misc/fastfetch/fastfetch-0.604.ebuild
index 6b0e09ff4..0697f531e 100644
--- a/app-misc/fastfetch/fastfetch-9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-0.604.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit bash-completion-r1 cmake
+inherit cmake
DESCRIPTION="Like neofetch but faster"
HOMEPAGE="https://github.com/LinusDierheimer/fastfetch"
@@ -11,14 +11,15 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git"
else
- COMMIT="f72ec8a99f6021e95abce282668cce99fabd28c5"
- VERSION_REV="f72ec8a"
+ COMMIT="0cb6e40bacfed8c217afc4bd580b7905d6d6893b"
+ VERSION_REV="0cb6e40"
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
@@ -54,31 +55,18 @@ src_configure() {
-DENABLE_XFCONF=$(usex xfce)
)
- 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)\""
+ else
+ # version comes from git, fake it
+ local project_version_major=$(ver_cut 2)
+ mycmakeargs+=(
+ -DPROJECT_VERSION="r${project_version_major}.${VERSION_REV}"
+ -DPROJECT_VERSION_MAJOR="${project_version_major}"
+ )
fi
- pushd "${BUILD_DIR}" || die
- dobin fastfetch
- popd
-
- newbashcomp completions/bash fastfetch
- insinto /usr/share/${PN}/presets
- doins presets/*
-
- einstalldocs
+ cmake_src_configure
}
diff --git a/app-misc/fastfetch/fastfetch-9999.ebuild b/app-misc/fastfetch/fastfetch-9999.ebuild
index 6b0e09ff4..5e1fc6be7 100644
--- a/app-misc/fastfetch/fastfetch-9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit bash-completion-r1 cmake
+inherit cmake
DESCRIPTION="Like neofetch but faster"
HOMEPAGE="https://github.com/LinusDierheimer/fastfetch"
@@ -11,8 +11,8 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git"
else
- COMMIT="f72ec8a99f6021e95abce282668cce99fabd28c5"
- VERSION_REV="f72ec8a"
+ COMMIT="0cb6e40bacfed8c217afc4bd580b7905d6d6893b"
+ VERSION_REV="0cb6e40"
SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
@@ -54,31 +54,18 @@ src_configure() {
-DENABLE_XFCONF=$(usex xfce)
)
- 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)\""
+ else
+ # version comes from git, fake it
+ local project_version_major=$(ver_cut 2)
+ mycmakeargs+=(
+ -DPROJECT_VERSION="r${project_version_major}.${VERSION_REV}"
+ -DPROJECT_VERSION_MAJOR="${project_version_major}"
+ )
fi
- pushd "${BUILD_DIR}" || die
- dobin fastfetch
- popd
-
- newbashcomp completions/bash fastfetch
- insinto /usr/share/${PN}/presets
- doins presets/*
-
- einstalldocs
+ cmake_src_configure
}
next reply other threads:[~2022-02-23 0:33 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-23 0:33 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-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-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=1645554658.cef2099239ed0f050799aefe5cfa223b6afc5de6.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