blob: 154c0e8d774935e95bde77cdebbc5bad05006e3d (
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-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit kde5
DESCRIPTION="KPart for rendering Markdown content"
HOMEPAGE="https://frinring.wordpress.com/2017/09/14/kmarkdownwebview-0-1-0/"
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
LICENSE="!webkit? ( BSD ) LGPL-2.1+"
KEYWORDS="~amd64"
IUSE="webkit"
DEPEND="
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep kparts)
$(add_frameworks_dep kxmlgui)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
webkit? ( >=dev-qt/qtwebkit-5.212.0_pre20180120:5 )
!webkit? (
$(add_qt_dep qtwebchannel)
$(add_qt_dep qtwebengine 'widgets')
)
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DUSE_QTWEBKIT=$(usex webkit)
)
kde5_src_configure
}
|