Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac.paragon@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/fastfetch/
Date: Sat, 22 Jan 2022 12:48:05
Message-Id: 1642855641.e7d1403ea1eb8de11db7967e9fa23a40d3285fa0.viorel_munteanu@gentoo
1 commit: e7d1403ea1eb8de11db7967e9fa23a40d3285fa0
2 Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
3 AuthorDate: Sat Jan 22 12:47:21 2022 +0000
4 Commit: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
5 CommitDate: Sat Jan 22 12:47:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7d1403e
7
8 app-misc/fastfetch: add 0.554, drop 554.0
9
10 Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
11
12 app-misc/fastfetch/Manifest | 2 +-
13 .../fastfetch/{fastfetch-554.0.ebuild => fastfetch-0.554.ebuild} | 5 ++---
14 2 files changed, 3 insertions(+), 4 deletions(-)
15
16 diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
17 index 376595933..6eb86a305 100644
18 --- a/app-misc/fastfetch/Manifest
19 +++ b/app-misc/fastfetch/Manifest
20 @@ -1 +1 @@
21 -DIST fastfetch-554.0.tar.gz 177779 BLAKE2B 348b42b132c033db3830f74c2aab9ee40d88842c86ff395e14ba74863dbb353ad1f017ca9d8c136142e32c0492af193b735a6aab9bc973ace6d22162eb73d851 SHA512 1c4e8bd6ab4d21fec732007c3026ea690486ea5f3749115204235cff918e3e0479013ef19c65aeea6e38049a1d3fe0a05f1d1750cbae2b09e9caa64fe4945f2e
22 +DIST fastfetch-0.554.tar.gz 177779 BLAKE2B 348b42b132c033db3830f74c2aab9ee40d88842c86ff395e14ba74863dbb353ad1f017ca9d8c136142e32c0492af193b735a6aab9bc973ace6d22162eb73d851 SHA512 1c4e8bd6ab4d21fec732007c3026ea690486ea5f3749115204235cff918e3e0479013ef19c65aeea6e38049a1d3fe0a05f1d1750cbae2b09e9caa64fe4945f2e
23
24 diff --git a/app-misc/fastfetch/fastfetch-554.0.ebuild b/app-misc/fastfetch/fastfetch-0.554.ebuild
25 similarity index 93%
26 rename from app-misc/fastfetch/fastfetch-554.0.ebuild
27 rename to app-misc/fastfetch/fastfetch-0.554.ebuild
28 index 583cb8bdc..2c18a7687 100644
29 --- a/app-misc/fastfetch/fastfetch-554.0.ebuild
30 +++ b/app-misc/fastfetch/fastfetch-0.554.ebuild
31 @@ -56,12 +56,11 @@ src_configure() {
32 use xfce || disable_check XFCONF libxfconf
33 use xrandr || disable_check XRANDR xrandr
34
35 - VERSION_MAJOR="$(ver_cut 1)"
36 - VERSION_MINOR="$(ver_cut 2)"
37 + VERSION_MAJOR="$(ver_cut 2)"
38
39 # version comes from git, fake it
40 sed -i -e "
41 - s/\(PROJECT_VERSION\) .*$/\1 \"r${VERSION_MAJOR}.${VERSION_MINOR}\")/
42 + s/\(PROJECT_VERSION\) .*$/\1 \"r${VERSION_MAJOR}.0\")/
43 s/\(PROJECT_VERSION_MAJOR\) .*$/\1 \"${VERSION_MAJOR}\")/" CMakeLists.txt || die "Cannot patch version"
44
45 cmake_src_configure