summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2021-05-23 22:19:29 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2021-05-23 22:19:45 -0500
commit498693d0d430da9603fc0a955630858ac3df5a20 (patch)
tree652a0cecb8a623a87fb6b76a597370b3d3482711 /dev-libs/bemenu
parentapp-crypt/openpgp-keys-mlichvar: destabilize 20210513 (diff)
downloadgentoo-498693d0d430da9603fc0a955630858ac3df5a20.tar.gz
gentoo-498693d0d430da9603fc0a955630858ac3df5a20.tar.bz2
gentoo-498693d0d430da9603fc0a955630858ac3df5a20.zip
dev-libs/bemenu: 0.6.1 bump
Package-Manager: Portage-3.0.18, Repoman-3.0.2 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.6.1.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/bemenu/Manifest b/dev-libs/bemenu/Manifest
index 45bbf3141273..944ba0672156 100644
--- a/dev-libs/bemenu/Manifest
+++ b/dev-libs/bemenu/Manifest
@@ -1 +1,2 @@
DIST bemenu-0.5.0.tar.gz 110749 BLAKE2B dbc6d295262e51c381a9208c6936c0f40e05f3667af6a562716501577861d04c7b28ba836acbce2a6644950a191e56f865efe2f126eccdad67ea68d42f2d30b5 SHA512 5f4397bcb77d3e22340988bfb131feced1782f724ff637e40bf03c36a4377f38127c827f55faccc0dcce2ca482b9353fca7c6bfe700e6cac8e095e0df3b87a31
+DIST bemenu-0.6.1.tar.gz 119885 BLAKE2B 9595fe9241009d4b2ac33ff0b70d98a5340e7f9cc3a31be053ef7ba5dcadc3e0181dae3a82b8058278fdfb62df4a60474e16eb2e2fa207c200350a6cc4e27767 SHA512 a0a77ca50d40c4aa215c668829a8e27597a4b6470be6179420125ec292c8f9555e5690791c068af5f4a5eebd8a10c6b15b0ddafa037a855b0179bd68c06bf11a
diff --git a/dev-libs/bemenu/bemenu-0.6.1.ebuild b/dev-libs/bemenu/bemenu-0.6.1.ebuild
new file mode 100644
index 000000000000..02ec034fd64b
--- /dev/null
+++ b/dev-libs/bemenu/bemenu-0.6.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+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]
+ x11-libs/libXinerama
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+src_compile() {
+ emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir)
+ use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir)
+}
+
+src_install() {
+ emake install PREFIX="${D}"/usr libdir=/$(get_libdir)
+}