diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2020-05-10 22:37:20 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2020-05-10 22:37:20 -0500 |
commit | 9b138602790a3c857cbcf44a84f42e3b280b4523 (patch) | |
tree | e17e07cd2400cb2c258f40284f54da827cde10c8 /dev-libs/bemenu/bemenu-0.4.1.ebuild | |
parent | app-emulation/docker-swarm: Remove old version (diff) | |
download | gentoo-9b138602790a3c857cbcf44a84f42e3b280b4523.tar.gz gentoo-9b138602790a3c857cbcf44a84f42e3b280b4523.tar.bz2 gentoo-9b138602790a3c857cbcf44a84f42e3b280b4523.zip |
dev-libs/bemenu: 0.4.1 bump
Closes: https://bugs.gentoo.org/721798
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'dev-libs/bemenu/bemenu-0.4.1.ebuild')
-rw-r--r-- | dev-libs/bemenu/bemenu-0.4.1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/bemenu/bemenu-0.4.1.ebuild b/dev-libs/bemenu/bemenu-0.4.1.ebuild new file mode 100644 index 000000000000..06c598e8072c --- /dev/null +++ b/dev-libs/bemenu/bemenu-0.4.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2019-2020 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) + use doc && emake doxygen +} + +src_install() { + emake install PREFIX="${D}"/usr libdir=/$(get_libdir) +} |