forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lc-poshuku-9999.ebuild
51 lines (43 loc) · 1.45 KB
/
lc-poshuku-9999.ebuild
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 webkit)
-DENABLE_POSHUKU_WEBENGINEVIEW=$(usex webengine)
)
cmake-utils_src_configure
}