blob: 1de10d56658700d304b5d53d352d4ffd6f82f0db (
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
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://github.com/0xd34df00d/leechcraft.git"
inherit leechcraft
DESCRIPTION="Core of LeechCraft, the modular network client"
SLOT="0"
KEYWORDS=""
IUSE="debug doc postgres +qwt"
DEPEND="
dev-libs/boost:=
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtscript:5
dev-qt/qtsql:5
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
dev-qt/qtxml:5
qwt? ( x11-libs/qwt:6 )
"
RDEPEND="${DEPEND}
dev-qt/qtsql:5[postgres?,sqlite]
dev-qt/qtsvg:5
|| (
kde-frameworks/oxygen-icons
x11-themes/kfaenza
)
"
BDEPEND="
dev-qt/linguist-tools:5
doc? ( app-doc/doxygen )
"
src_configure() {
local mycmakeargs=(
-DWITH_PLUGINS=False
-DSKIP_MAN_COMPRESS=True
-DWITH_DOCS=$(usex doc)
-DWITH_QWT=$(usex qwt)
)
if [[ ${PV} != 9999 ]]; then
mycmakeargs+=( -DLEECHCRAFT_VERSION=${PV} )
fi
cmake_src_configure
}
src_install() {
cmake_src_install
use doc && dodoc -r "${CMAKE_BUILD_DIR}/${PN#lc-}"/out/html/*
}
|