public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/i3blocks/
Date: Wed, 20 Jan 2021 15:17:55 +0000 (UTC)	[thread overview]
Message-ID: <1611155811.809b9ef0d67325352763fab5f12576f5949622eb.bkohler@gentoo> (raw)

commit:     809b9ef0d67325352763fab5f12576f5949622eb
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 15:13:31 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 15:16:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809b9ef0

x11-misc/i3blocks: depend on contrib modules by default

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 x11-misc/i3blocks/i3blocks-1.5-r1.ebuild | 37 ++++++++++++++++++++++++++++++++
 x11-misc/i3blocks/metadata.xml           |  3 +++
 2 files changed, 40 insertions(+)

diff --git a/x11-misc/i3blocks/i3blocks-1.5-r1.ebuild b/x11-misc/i3blocks/i3blocks-1.5-r1.ebuild
new file mode 100644
index 00000000000..418265489ea
--- /dev/null
+++ b/x11-misc/i3blocks/i3blocks-1.5-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools bash-completion-r1
+
+if [[ ${PV} = 9999 ]]; then
+	inherit git-r3
+fi
+
+DESCRIPTION="highly flexible status line for the i3 window manager"
+HOMEPAGE="https://github.com/vivien/i3blocks"
+if [[ ${PV} = 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/vivien/${PN}"
+else
+	SRC_URI="https://github.com/vivien/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+IUSE="+contrib"
+SLOT="0"
+LICENSE="GPL-3"
+
+PDEPEND="contrib? ( x11-misc/i3blocks-contrib )"
+
+PATCHES=( "${FILESDIR}"/${PN}-disable-bash-completion.patch )
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_install() {
+	default
+	newbashcomp bash-completion ${PN}
+}

diff --git a/x11-misc/i3blocks/metadata.xml b/x11-misc/i3blocks/metadata.xml
index c6de48eeb14..2e726d1c36a 100644
--- a/x11-misc/i3blocks/metadata.xml
+++ b/x11-misc/i3blocks/metadata.xml
@@ -8,4 +8,7 @@
 	<upstream>
 		<remote-id type="github">vivien/i3blocks</remote-id>
 	</upstream>
+	<use>
+		<flag name="contrib">Install contrib modules</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2021-01-20 15:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 15:17 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-08 12:50 [gentoo-commits] repo/gentoo:master commit in: x11-misc/i3blocks/ Jakov Smolić
2024-10-06 10:55 Sam James
2024-10-06 10:49 Sam James
2024-08-30 15:31 Jakov Smolić
2021-08-27 23:13 Jakov Smolić
2021-02-04 22:32 Thomas Deutschmann
2021-02-01 16:32 Sam James
2021-01-27 14:41 Ben Kohler
2021-01-18  0:48 Sam James
2021-01-18  0:47 Sam James
2019-09-12 14:28 Michał Górny
2018-06-04 19:25 Mart Raudsepp
2018-05-09 18:17 Johannes Huber
2017-10-27 10:02 Thomas Deutschmann
2016-12-27 14:51 Ettore Di Giacinto

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=1611155811.809b9ef0d67325352763fab5f12576f5949622eb.bkohler@gentoo \
    --to=bkohler@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