summaryrefslogtreecommitdiff
blob: 2ba63d2f7b056f84eb282c967d7a527d101e0d68 (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit leechcraft

DESCRIPTION="LeechCraft plugin for supporting cloud data storages like Google Drive"

SLOT="0"
KEYWORDS=""
IUSE="+dropbox +googledrive"

DEPEND="~app-leechcraft/lc-core-${PV}
	dev-qt/qtnetwork:5
	dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}"

src_configure() {
	local mycmakeargs=(
		-DENABLE_NETSTOREMANAGER_DROPBOX=$(usex dropbox)
		-DENABLE_NETSTOREMANAGER_GOOGLEDRIVE=$(usex googledrive)
	)

	cmake-utils_src_configure
}