public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/libzbd/
Date: Thu, 11 Mar 2021 07:29:59 +0000 (UTC)	[thread overview]
Message-ID: <1615447790.908fab4f4a04e0928a31960231d12331111f3a09.sam@gentoo> (raw)

commit:     908fab4f4a04e0928a31960231d12331111f3a09
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 11 07:26:43 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 07:29:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908fab4f

sys-block/libzbd: multiple QA fixes

* Define RDEPEND
* Move pkgconfig to BDEPEND
* Make pkgconfig dependency conditional (only used for GUI
* Fix unrecognised configure flags (--enable-gui, not --with-gtk)

Closes: https://bugs.gentoo.org/771573
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-block/libzbd/libzbd-1.2.0.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/sys-block/libzbd/libzbd-1.2.0.ebuild b/sys-block/libzbd/libzbd-1.2.0.ebuild
index 568e9787c1b..ca893c6e8be 100644
--- a/sys-block/libzbd/libzbd-1.2.0.ebuild
+++ b/sys-block/libzbd/libzbd-1.2.0.ebuild
@@ -9,17 +9,20 @@ DESCRIPTION="Zoned block device manipulation library and tools"
 HOMEPAGE="https://github.com/westerndigitalcorporation/libzbd"
 SRC_URI="https://github.com/westerndigitalcorporation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
+# Examples/tools are GPL-3+, library is LGPL-3+
 LICENSE="GPL-3+ LGPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="gtk"
 
-DEPEND="virtual/pkgconfig
+# PKG_CHECK_MODULES is only for GTK right now
+# https://github.com/westerndigitalcorporation/libzbd/blob/master/configure.ac#L71
+BDEPEND="gtk? ( virtual/pkgconfig )"
+DEPEND="
 	>=sys-kernel/linux-headers-4.13
-	gtk? ( x11-libs/gtk+:3 )"
-
-PATCHES=(
-)
+	gtk? ( x11-libs/gtk+:3 )
+"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
 	default
@@ -28,7 +31,7 @@ src_prepare() {
 
 src_configure() {
 	econf \
-		$(use_with gtk gtk3) \
+		$(use_enable gtk gui) \
 		--disable-static
 }
 


             reply	other threads:[~2021-03-11  7:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11  7:29 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  0:36 [gentoo-commits] repo/gentoo:master commit in: sys-block/libzbd/ Sam James
2024-11-24 15:47 Jakov Smolić
2024-01-03 18:52 Arthur Zamarin
2023-05-09 21:03 Robin H. Johnson
2021-09-02 17:05 Marek Szuba
2021-07-20  2:43 Sam James
2021-03-11  7:30 Sam James
2021-02-18 20:23 Robin H. Johnson

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=1615447790.908fab4f4a04e0928a31960231d12331111f3a09.sam@gentoo \
    --to=sam@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