blob: 93f8843afbf49d89e81248e81ca2d2864d0b5694 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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 ~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_use layershell)
)
meson_src_configure
}
|