public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/bemenu/
Date: Wed, 27 Mar 2019 02:10:30 +0000 (UTC)	[thread overview]
Message-ID: <1553652617.6747bb3076a52389d8dd8fa173cf2abc1dd1774b.prometheanfire@gentoo> (raw)

commit:     6747bb3076a52389d8dd8fa173cf2abc1dd1774b
Author:     Aidan Harris <me <AT> aidanharris <DOT> io>
AuthorDate: Tue Mar 26 17:47:44 2019 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 02:10:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6747bb30

dev-libs/bemenu: Update for upstream build changes

Fixes: https://bugs.gentoo.org/681808

Signed-off-by: Aidan Harris <me <AT> aidanharris.io>
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 dev-libs/bemenu/bemenu-9999.ebuild | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)

diff --git a/dev-libs/bemenu/bemenu-9999.ebuild b/dev-libs/bemenu/bemenu-9999.ebuild
index 1bfa5ce8fae..f9113da669b 100644
--- a/dev-libs/bemenu/bemenu-9999.ebuild
+++ b/dev-libs/bemenu/bemenu-9999.ebuild
@@ -12,22 +12,37 @@ EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="doc"
+IUSE="doc ncurses wayland X"
+
+# Require at least one backend be built
+REQUIRED_USE="|| ( ncurses wayland X )"
 
 DEPEND="
-	x11-libs/cairo
-	x11-libs/pango
-	dev-libs/wayland
-	x11-libs/libxcb
-	dev-libs/wayland-protocols
-	sys-libs/ncurses:0
-	x11-libs/libXext
-	x11-libs/libX11"
+	ncurses? ( sys-libs/ncurses:0 )
+	wayland? (
+		dev-libs/wayland
+		dev-libs/wayland-protocols
+		x11-libs/cairo
+		x11-libs/pango
+	)
+	X? (
+		x11-libs/libxcb
+		x11-libs/libXext
+		x11-libs/libX11
+		x11-libs/cairo[X]
+		x11-libs/pango[X]
+	)
+"
 RDEPEND="${DEPEND}"
 BDEPEND="doc? ( app-doc/doxygen )"
 
 src_configure() {
-	local mycmakeargs=(-DCURSES_LIBRARY=/usr/$(get_libdir)/libncursesw.so)
+	local mycmakeargs=(
+		-DCURSES_LIBRARY=/usr/$(get_libdir)/libncursesw.so
+		-DBEMENU_CURSES_RENDERER=$(usex ncurses ON OFF)
+		-DBEMENU_WAYLAND_RENDERER=$(usex wayland ON OFF)
+		-DBEMENU_X11_RENDERER=$(usex X ON OFF)
+	)
 	cmake-utils_src_configure
 }
 


             reply	other threads:[~2019-03-27  2:10 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-27  2:10 Matthew Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-17 15:19 [gentoo-commits] repo/gentoo:master commit in: dev-libs/bemenu/ Matthew Thode
2024-01-03  6:22 Sam James
2023-10-27  3:22 Sam James
2023-10-27  3:22 Sam James
2023-10-27  3:22 Sam James
2023-10-27  3:22 Sam James
2023-05-09 15:43 Matthew Thode
2023-05-09 15:43 Matthew Thode
2023-05-06  3:46 Sam James
2023-04-27  5:31 Sam James
2023-04-27  5:06 Sam James
2023-03-11 17:04 Sam James
2022-11-10 17:19 Matthew Thode
2022-11-06  5:02 Matthew Thode
2022-10-06 18:03 Matthew Thode
2022-09-06 13:37 Matthew Thode
2022-01-11 16:49 Matthew Thode
2021-11-09  4:55 Sam James
2021-11-09  4:55 Sam James
2021-09-25  2:30 Matthew Thode
2021-05-24  3:19 Matthew Thode
2021-01-06 17:14 Andreas K. Hüttel
2020-07-04 18:27 Matthew Thode
2020-07-04 18:27 Matthew Thode
2020-05-11 16:42 Matthew Thode
2020-05-11 15:58 Matthew Thode
2020-05-11  3:40 Matthew Thode
2020-03-15 19:12 Matthew Thode
2020-03-15 19:12 Matthew Thode
2020-03-09 15:52 Matthew Thode
2019-11-25 16:10 Matthew Thode
2019-02-08  0:39 Matthew Thode
2019-02-08  0:17 Matthew Thode

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=1553652617.6747bb3076a52389d8dd8fa173cf2abc1dd1774b.prometheanfire@gentoo \
    --to=prometheanfire@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