mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 22:25:42 +02:00
meson_use -> meson_feature Closes: https://bugs.gentoo.org/814329 Signed-off-by: Brett Alcox <brettalcox@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35545 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
45 lines
881 B
Bash
45 lines
881 B
Bash
# Copyright 2019-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="gtk based greeter for greetd"
|
|
HOMEPAGE="https://git.sr.ht/~kennylevinsen/gtkgreet"
|
|
|
|
inherit meson
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/gtkgreet"
|
|
else
|
|
SRC_URI="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
|
fi
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
IUSE="+layershell +man"
|
|
|
|
DEPEND="
|
|
dev-libs/json-c:=
|
|
layershell? ( gui-libs/gtk-layer-shell )
|
|
x11-libs/gtk+:3
|
|
"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
gui-libs/greetd
|
|
"
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
man? ( app-text/scdoc )
|
|
"
|
|
|
|
PATCHES=( "${FILESDIR}"/${PN}-0.6-r1-werror.patch )
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
$(meson_feature man man-pages)
|
|
$(meson_feature layershell)
|
|
)
|
|
meson_src_configure
|
|
}
|