blob: d35eda2be3ef0d1150f37262644b984b8112740a (
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
46
47
48
49
50
51
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit leechcraft
DESCRIPTION="Poshuku, the full-featured web browser plugin for LeechCraft"
SLOT="0"
KEYWORDS=""
IUSE="+autosearch debug +dcac +cleanweb +fatape +filescheme +foc +fua +idn +keywords +onlinebookmarks
postgres qrd +speeddial +sqlite webengine +webkit"
DEPEND="~app-leechcraft/lc-core-${PV}[postgres?,sqlite?]
dev-qt/qtwidgets:5
dev-qt/qtnetwork:5
dev-qt/qtxml:5
dev-qt/qtprintsupport:5
cleanweb? ( dev-qt/qtconcurrent:5 )
idn? ( net-dns/libidn )
qrd? ( media-gfx/qrencode )
webkit? ( dev-qt/qtwebkit:5 )
webengine? ( dev-qt/qtwebengine:5 )
"
RDEPEND="${DEPEND}
virtual/leechcraft-downloader-http"
REQUIRED_USE="|| ( postgres sqlite )
|| ( webkit webengine )"
src_configure() {
local mycmakeargs=(
-DENABLE_POSHUKU_AUTOSEARCH=$(usex autosearch)
-DENABLE_POSHUKU_CLEANWEB=$(usex cleanweb)
-DENABLE_POSHUKU_DCAC=$(usex dcac)
-DENABLE_POSHUKU_FATAPE=$(usex fatape)
-DENABLE_POSHUKU_FILESCHEME=$(usex filescheme)
-DENABLE_POSHUKU_FOC=$(usex foc)
-DENABLE_POSHUKU_FUA=$(usex fua)
-DENABLE_IDN=$(usex idn)
-DENABLE_POSHUKU_KEYWORDS=$(usex keywords)
-DENABLE_POSHUKU_ONLINEBOOKMARKS=$(usex onlinebookmarks)
-DENABLE_POSHUKU_QRD=$(usex qrd)
-DENABLE_POSHUKU_SPEEDDIAL=$(usex speeddial)
-DENABLE_POSHUKU_WEBKITVIEW=$(usex webkitview)
-DENABLE_POSHUKU_WEBENGINEVIEW=$(usex webengineview)
)
cmake-utils_src_configure
}
|