public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aiden Wingard" <kernaltrap@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/tinyfetch/
Date: Mon, 24 Jun 2024 23:52:48 +0000 (UTC)	[thread overview]
Message-ID: <1719273120.a3f010279be5d239e6feaddec0325ca37f63caa6.kernaltrap@gentoo> (raw)

commit:     a3f010279be5d239e6feaddec0325ca37f63caa6
Author:     kernaltrap8 <kernaltrap <AT> gmail <DOT> com>
AuthorDate: Mon Jun 24 23:52:00 2024 +0000
Commit:     Aiden Wingard <kernaltrap <AT> gmail <DOT> com>
CommitDate: Mon Jun 24 23:52:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3f01027

app-misc/tinyfetch: add pci USE flag

Signed-off-by: kernaltrap8 <kernaltrap <AT> gmail.com>

 app-misc/tinyfetch/tinyfetch-9999.ebuild | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/app-misc/tinyfetch/tinyfetch-9999.ebuild b/app-misc/tinyfetch/tinyfetch-9999.ebuild
index c37b0ee29..da81d6caf 100644
--- a/app-misc/tinyfetch/tinyfetch-9999.ebuild
+++ b/app-misc/tinyfetch/tinyfetch-9999.ebuild
@@ -11,8 +11,24 @@ if [[ ${PV} == 9999 ]]; then
 	S="${WORKDIR}/${PN}-9999"
 fi
 
+IUSE="+pci"
+
+RDEPEND="
+	pci? (
+		sys-apps/pciutils
+	)
+"
+DEPEND="${RDEPEND}"
+
 DESCRIPTION="fetch program written in pure C"
 HOMEPAGE="https://github.com/kernaltrap8/tinyfetch"
 
 LICENSE="GPL-3"
 SLOT="0"
+
+src_unpack() {	
+	if use pci ; then
+		EGIT_BRANCH=pci
+	fi
+	git-r3_src_unpack
+}


             reply	other threads:[~2024-06-24 23:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24 23:52 Aiden Wingard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-10 19:06 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/tinyfetch/ Aiden Wingard
2024-07-23 23:56 Aiden Wingard
2024-07-03 16:07 Lucio Sauer
2024-07-01 15:21 Aiden Wingard
2024-07-01 14:32 Aiden Wingard
2024-06-26  1:15 Aiden Wingard
2024-06-25 21:05 Aiden Wingard
2024-06-04  1:30 Aiden Wingard
2024-04-26  3:01 Aiden Wingard
2024-04-26  2:56 Aiden Wingard

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=1719273120.a3f010279be5d239e6feaddec0325ca37f63caa6.kernaltrap@gentoo \
    --to=kernaltrap@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