Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/bemenu/
Date: Mon, 11 May 2020 03:40:35
Message-Id: 1589168240.9b138602790a3c857cbcf44a84f42e3b280b4523.prometheanfire@gentoo
1 commit: 9b138602790a3c857cbcf44a84f42e3b280b4523
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 11 03:37:20 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon May 11 03:37:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b138602
7
8 dev-libs/bemenu: 0.4.1 bump
9
10 Closes: https://bugs.gentoo.org/721798
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13
14 dev-libs/bemenu/Manifest | 1 +
15 dev-libs/bemenu/bemenu-0.4.1.ebuild | 50 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 51 insertions(+)
17
18 diff --git a/dev-libs/bemenu/Manifest b/dev-libs/bemenu/Manifest
19 index a0f36bdb3f5..24af94defea 100644
20 --- a/dev-libs/bemenu/Manifest
21 +++ b/dev-libs/bemenu/Manifest
22 @@ -1 +1,2 @@
23 DIST bemenu-0.3.0.tar.gz 120059 BLAKE2B 5db3e7bcc4c67e9f7030fc803a5531994746787ebecfba91c7f09128ea9077b3b06e8f542c1a2980811b8364db3a54fefbdb0af1afaca2f58f098473a4fbd5d6 SHA512 7e68d11954517f41c9669055c28b375c4f13ddfee8aae6a8e67c3282fe9118229d9ab072dc5e264e4204803b1a5ab715c6a5c9565ad4b7436cc172b9e455c05b
24 +DIST bemenu-0.4.1.tar.gz 110388 BLAKE2B 229f75887b8efc336c7790745b1a3402481a1cb86f92311c0c46ec123777ad051351fede5f7d59bce532a3a906bcab8d956f1e93d5aeac44dd7a49e7210e8e9f SHA512 d86b80b2eccbfca73287975f6f5ff9d86c7541900caec858c9aeff9cb7da2ee563e34e378561822671ba16e0f2af3440e0329f5c77f06ff5adcf332451452bf2
25
26 diff --git a/dev-libs/bemenu/bemenu-0.4.1.ebuild b/dev-libs/bemenu/bemenu-0.4.1.ebuild
27 new file mode 100644
28 index 00000000000..06c598e8072
29 --- /dev/null
30 +++ b/dev-libs/bemenu/bemenu-0.4.1.ebuild
31 @@ -0,0 +1,50 @@
32 +# Copyright 2019-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DESCRIPTION="dmenu clone for wayland"
38 +HOMEPAGE="https://github.com/Cloudef/bemenu"
39 +if [[ ${PV} == 9999 ]]; then
40 + inherit git-r3
41 + EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git"
42 +else
43 + SRC_URI="https://github.com/Cloudef/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 + KEYWORDS="~amd64 ~arm64 ~x86"
45 +fi
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +IUSE="doc ncurses wayland X"
50 +
51 +# Require at least one backend be built
52 +REQUIRED_USE="|| ( ncurses wayland X )"
53 +
54 +DEPEND="
55 + ncurses? ( sys-libs/ncurses:0 )
56 + wayland? (
57 + dev-libs/wayland
58 + dev-libs/wayland-protocols
59 + x11-libs/cairo
60 + x11-libs/pango
61 + )
62 + X? (
63 + x11-libs/libxcb
64 + x11-libs/libXext
65 + x11-libs/libX11
66 + x11-libs/cairo[X]
67 + x11-libs/pango[X]
68 + x11-libs/libXinerama
69 + )
70 +"
71 +RDEPEND="${DEPEND}"
72 +BDEPEND="doc? ( app-doc/doxygen )"
73 +
74 +src_compile() {
75 + emake clients $(usex ncurses curses) $(usex X x11) $(usex wayland wayland)
76 + use doc && emake doxygen
77 +}
78 +
79 +src_install() {
80 + emake install PREFIX="${D}"/usr libdir=/$(get_libdir)
81 +}