summaryrefslogtreecommitdiffstats
path: root/app-misc/coffeetemp/coffeetemp-1.2-r1.ebuild
blob: cf68dd6d9b3f47eb7bdf5e17149fe60d597e748d (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit meson eutils

if [[ ${PV} = 9999 ]]; then
	inherit git-r3
fi

DESCRIPTION="The Rin library"
HOMEPAGE="https://git.seriouss.am/coffeetemp/"

if [[ ${PV} = 9999 ]]; then
	EGIT_REPO_URI="https://git.seriouss.am/coffeetemp"
	KEYWORDS=""
else
	SRC_URI="https://git.seriouss.am/coffeetemp/snapshot/${P}.tar.bz2"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="LGPL-2.1"
SLOT="0"
RESTRICT="mirror test"

HDEPEND="dev-util/meson"

DEPEND="dev-embedded/esptool"

RDEPEND="${DEPEND}"

src_configure() {
	local emesonargs=(
		-Dfwbuild=true
		-Dfwflash=true
		)
	meson_src_configure
}