public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac.paragon@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/fastfetch/
Date: Sun, 20 Mar 2022 19:02:40 +0000 (UTC)	[thread overview]
Message-ID: <1647802912.13246eee06847f70d85e10a1653e88c2480e9981.viorel_munteanu@gentoo> (raw)

commit:     13246eee06847f70d85e10a1653e88c2480e9981
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Sun Mar 20 19:01:52 2022 +0000
Commit:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
CommitDate: Sun Mar 20 19:01:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13246eee

app-misc/fastfetch: add 1.0.0

Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>

 app-misc/fastfetch/Manifest                           |  1 +
 .../{fastfetch-9999.ebuild => fastfetch-1.0.0.ebuild} | 19 ++-----------------
 app-misc/fastfetch/fastfetch-9999.ebuild              | 18 +-----------------
 3 files changed, 4 insertions(+), 34 deletions(-)

diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index d5a344c27..2211420d1 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1 +1,2 @@
 DIST fastfetch-0.619.tar.gz 327381 BLAKE2B c85425478fa1cf42570232927e7bbd12b53cd450925a64ff21318ea9a3f22544d66e66b32f4f5b33a660082ca0dfc8666cc8b705078c8cec29de657385e1d564 SHA512 57ba0697e0b2f1d984a4ede21b50873a7ba0381b54eed07ad508fc454903e3dbcdfdb6ac6456141aff5cf0ce6d880f58f4343b2cad6e785491b397ab7413329e
+DIST fastfetch-1.0.0.tar.gz 326757 BLAKE2B 65a63a930bcc59f8ffc95f41515ea1eb924803c9365d830a8b5f17627b64ba4b64795cc5c3af24d0971fd8969f557fcd398234fca845481b38417ebe3ea0177c SHA512 c32df2276176e475c434ea9aae60debd9d05b0fed1861f2b1ce659ff693d98b181bf54aeb35abbd80944d72fd2280d2b7325f91eef1ee124083a81c46c9c7a10

diff --git a/app-misc/fastfetch/fastfetch-9999.ebuild b/app-misc/fastfetch/fastfetch-1.0.0.ebuild
similarity index 66%
copy from app-misc/fastfetch/fastfetch-9999.ebuild
copy to app-misc/fastfetch/fastfetch-1.0.0.ebuild
index 5e1fc6be7..414ee9c3d 100644
--- a/app-misc/fastfetch/fastfetch-9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-1.0.0.ebuild
@@ -11,14 +11,12 @@ if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git"
 else
-	COMMIT="0cb6e40bacfed8c217afc4bd580b7905d6d6893b"
-	VERSION_REV="0cb6e40"
-	SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-	S="${WORKDIR}/${PN}-${COMMIT}"
+	SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
 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,18 +52,5 @@ src_configure() {
 		-DENABLE_XFCONF=$(usex xfce)
 	)
 
-	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
-
 	cmake_src_configure
 }

diff --git a/app-misc/fastfetch/fastfetch-9999.ebuild b/app-misc/fastfetch/fastfetch-9999.ebuild
index 5e1fc6be7..8690c19dd 100644
--- a/app-misc/fastfetch/fastfetch-9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-9999.ebuild
@@ -11,10 +11,7 @@ if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git"
 else
-	COMMIT="0cb6e40bacfed8c217afc4bd580b7905d6d6893b"
-	VERSION_REV="0cb6e40"
-	SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-	S="${WORKDIR}/${PN}-${COMMIT}"
+	SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
 fi
 
 LICENSE="MIT"
@@ -54,18 +51,5 @@ src_configure() {
 		-DENABLE_XFCONF=$(usex xfce)
 	)
 
-	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
-
 	cmake_src_configure
 }


             reply	other threads:[~2022-03-20 19:02 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 19:02 Viorel Munteanu [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-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
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-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=1647802912.13246eee06847f70d85e10a1653e88c2480e9981.viorel_munteanu@gentoo \
    --to=ceamac.paragon@gmail.com \
    --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