summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2020-03-09 10:51:41 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2020-03-09 10:51:57 -0500
commitbf8426a1975ed0deae088ba579ece3d4e4e3012d (patch)
tree9bb14569791b0e9ce42f9bebd2c6420921e34126 /dev-libs/bemenu
parentapp-crypt/gpgme: set IUSE="+cxx" (diff)
downloadgentoo-bf8426a1975ed0deae088ba579ece3d4e4e3012d.tar.gz
gentoo-bf8426a1975ed0deae088ba579ece3d4e4e3012d.tar.bz2
gentoo-bf8426a1975ed0deae088ba579ece3d4e4e3012d.zip
dev-libs/bemenu: 0.3.0 bump
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.3.0.ebuild56
-rw-r--r--dev-libs/bemenu/bemenu-9999.ebuild13
3 files changed, 66 insertions, 4 deletions
diff --git a/dev-libs/bemenu/Manifest b/dev-libs/bemenu/Manifest
index c34a25e041ed..7fddd4f6cc4c 100644
--- a/dev-libs/bemenu/Manifest
+++ b/dev-libs/bemenu/Manifest
@@ -1 +1,2 @@
DIST bemenu-0.2.0.tar.gz 119935 BLAKE2B 8f9d1575f6ec31062df0bfe06d16722d4bc61ddcc5dabf0d6e9df8b88536eea638b7ce1e05e3b19a3cad125ecb09edeb72b6ca8d283e73e35d279ba14ebd7975 SHA512 05ddc79b2f4152fe4a3cbbec500f21f0b3e045aeb0e18bd5749acfe16ed41d7d933accf68a4793345cb20543620894847cec34236684d8cb4d42f20454d31b4e
+DIST bemenu-0.3.0.tar.gz 120059 BLAKE2B 5db3e7bcc4c67e9f7030fc803a5531994746787ebecfba91c7f09128ea9077b3b06e8f542c1a2980811b8364db3a54fefbdb0af1afaca2f58f098473a4fbd5d6 SHA512 7e68d11954517f41c9669055c28b375c4f13ddfee8aae6a8e67c3282fe9118229d9ab072dc5e264e4204803b1a5ab715c6a5c9565ad4b7436cc172b9e455c05b
diff --git a/dev-libs/bemenu/bemenu-0.3.0.ebuild b/dev-libs/bemenu/bemenu-0.3.0.ebuild
new file mode 100644
index 000000000000..cc3b01f2040d
--- /dev/null
+++ b/dev-libs/bemenu/bemenu-0.3.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2019-2020 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"
+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
+}
diff --git a/dev-libs/bemenu/bemenu-9999.ebuild b/dev-libs/bemenu/bemenu-9999.ebuild
index f9113da669b5..cc3b01f2040d 100644
--- a/dev-libs/bemenu/bemenu-9999.ebuild
+++ b/dev-libs/bemenu/bemenu-9999.ebuild
@@ -1,17 +1,22 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit git-r3 cmake-utils
+inherit cmake-utils
DESCRIPTION="dmenu clone for wayland"
HOMEPAGE="https://github.com/Cloudef/bemenu"
-EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git"
+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