summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2019-11-25 10:09:56 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2019-11-25 10:10:12 -0600
commitd70dca803676f90b8cc93104cb93a3db264a9bed (patch)
tree2195707ffe995fef32550d321dc0344d6a2cf1f5 /dev-libs/bemenu
parentnet-libs/nodejs: Version 13.2.0 (diff)
downloadgentoo-d70dca803676f90b8cc93104cb93a3db264a9bed.tar.gz
gentoo-d70dca803676f90b8cc93104cb93a3db264a9bed.tar.bz2
gentoo-d70dca803676f90b8cc93104cb93a3db264a9bed.zip
dev-libs/bemenu: 0.2.0 bump
Fixes: https://bugs.gentoo.org/701126 Package-Manager: Portage-2.3.76, Repoman-2.3.18 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'dev-libs/bemenu')
-rw-r--r--dev-libs/bemenu/Manifest1
-rw-r--r--dev-libs/bemenu/bemenu-0.2.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/bemenu/Manifest b/dev-libs/bemenu/Manifest
new file mode 100644
index 000000000000..c34a25e041ed
--- /dev/null
+++ b/dev-libs/bemenu/Manifest
@@ -0,0 +1 @@
+DIST bemenu-0.2.0.tar.gz 119935 BLAKE2B 8f9d1575f6ec31062df0bfe06d16722d4bc61ddcc5dabf0d6e9df8b88536eea638b7ce1e05e3b19a3cad125ecb09edeb72b6ca8d283e73e35d279ba14ebd7975 SHA512 05ddc79b2f4152fe4a3cbbec500f21f0b3e045aeb0e18bd5749acfe16ed41d7d933accf68a4793345cb20543620894847cec34236684d8cb4d42f20454d31b4e
diff --git a/dev-libs/bemenu/bemenu-0.2.0.ebuild b/dev-libs/bemenu/bemenu-0.2.0.ebuild
new file mode 100644
index 000000000000..910039e31c1b
--- /dev/null
+++ b/dev-libs/bemenu/bemenu-0.2.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="dmenu clone for wayland"
+HOMEPAGE="https://github.com/Cloudef/bemenu"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git"
+else
+ SRC_URI="https://github.com/Cloudef/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc ncurses wayland X"
+
+# Require at least one backend be built
+REQUIRED_USE="|| ( ncurses wayland X )"
+
+DEPEND="
+ 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
+ -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
+}
+
+src_install() {
+ cmake-utils_src_install
+}