diff options
Diffstat (limited to 'dev-libs/bemenu')
-rw-r--r-- | dev-libs/bemenu/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/bemenu/bemenu-9999.ebuild | 35 |
2 files changed, 26 insertions, 11 deletions
diff --git a/dev-libs/bemenu/Manifest b/dev-libs/bemenu/Manifest index ee2710b5eafe..d457553a0c2c 100644 --- a/dev-libs/bemenu/Manifest +++ b/dev-libs/bemenu/Manifest @@ -1,2 +1,2 @@ -EBUILD bemenu-9999.ebuild 702 BLAKE2B 4ed08a98bb29030a3db13812e3a200c7f1ac83077d776634432a98943380082fab0943cb2f38c0448828599272fb587308db65f51264dee31162f3ca296cf7d4 SHA512 0504a23225d73d10fb91fb0a46bd933f17f51d0272fff20da847206bf0351519b22da49b4f5a5a049ff99f697009495ae6bcacbe2833aa72cdb0f4dd826bff6a +EBUILD bemenu-9999.ebuild 1033 BLAKE2B 793582c8a631f3f4147386bec6c40f8458239a317b2d92811fe80aa6802a7599c1a253e1033e66ee1044642f864ca1d295ab5a65e6aba4f3ec77d17023be9b5e SHA512 25f0ed77a1fe37215ee30f4c970a800df2329a1f6e261602884bf9abaebaeb1b93ed1a4258c85e9669cea5b6c1adb5f365053d61624595b18b1de95814dbc0de MISC metadata.xml 377 BLAKE2B 6b29e18f25e7237d1e1fec87b4cfe534471a6e7da07682cac5cfe97cd01d968b7b037a9b624432922e73f135f72d41b2662dcc95b862bb33cc2667cc700dfd0f SHA512 e7a4e4d244d06524f6c8f53251d6e0a41c570c76b0c5e5c49e97c53793c1e0d745fd82c511979073163e69fcea9ede4659d14a8ad85a1f6f648390e45682ad64 diff --git a/dev-libs/bemenu/bemenu-9999.ebuild b/dev-libs/bemenu/bemenu-9999.ebuild index 1bfa5ce8fae1..f9113da669b5 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 } |