summaryrefslogtreecommitdiff
path: root/gui-apps/autodarkmode/autodarkmode-0.1.ebuild
blob: 03e479350bdee864b9198bb616f2588aa5026da6 (plain) (blame)
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
EAPI=8

inherit meson git-r3

DESCRIPTION="Automatically execute scripts based on current sunrise and sunset"
HOMEPAGE="https://git.pinkro.se/autodarkmode.git"

EGIT_REPO_URI="git://git.pinkro.se/autodarkmode.git"
EGIT_SUBMOULDES=( "*" )

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+geoclue"

RDEPEND="
	>=dev-libs/glib-2.78.6
"

DEPEND="
	${RDEPEND}
"

BDEPEND="
	>=dev-build/meson-0.60.0
	virtual/pkgconfig
"

BDEPEND+="geoclue? ( >=app-misc/geoclue-2.7.2 )"

src_configure() {
	local emesonargs=(
		$(meson_feature geoclue gclue_support)
	)
	meson_src_configure
}