diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 08:42:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 08:42:41 +0100 |
commit | 0fcaac21e786bd7911b1e8f436cd885c5e2f6437 (patch) | |
tree | ba392915815492b0ce486fc0e3ad5afb4a849b6f /dev-libs/bemenu/bemenu-0.6.16.ebuild | |
parent | e30edd47e1804bf3ed1ea7be2eac67f4b8cd9f38 (diff) |
gentoo auto-resync : 27:10:2023 - 08:42:41
Diffstat (limited to 'dev-libs/bemenu/bemenu-0.6.16.ebuild')
-rw-r--r-- | dev-libs/bemenu/bemenu-0.6.16.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/bemenu/bemenu-0.6.16.ebuild b/dev-libs/bemenu/bemenu-0.6.16.ebuild new file mode 100644 index 000000000000..590d8a37de99 --- /dev/null +++ b/dev-libs/bemenu/bemenu-0.6.16.ebuild @@ -0,0 +1,62 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +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 )" + +RDEPEND=" + ncurses? ( sys-libs/ncurses:= ) + wayland? ( + dev-libs/wayland + x11-libs/cairo + x11-libs/libxkbcommon + x11-libs/pango + ) + X? ( + x11-libs/cairo[X] + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXinerama + x11-libs/libxcb:= + x11-libs/pango[X] + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/scdoc + virtual/pkgconfig + doc? ( app-doc/doxygen ) + wayland? ( + dev-libs/wayland-protocols + dev-util/wayland-scanner + ) +" + +src_compile() { + tc-export CC + + emake clients $(usev ncurses curses) $(usev X x11) $(usev wayland) PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir) + use doc && emake doxygen PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir) +} + +src_install() { + emake install DESTDIR="${D}" PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir) +} |