summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-11-19 21:57:59 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-11-19 21:58:16 +1100
commit657a97e550138810d5b5181e611e22ea55cae47c (patch)
tree10158485b0635d76525f0887bd3d1324b02a60c2 /dev-libs/kreport
parentdev-perl/Contextual-Return: Bump to version 0.4.9 (diff)
downloadgentoo-657a97e550138810d5b5181e611e22ea55cae47c.tar.gz
gentoo-657a97e550138810d5b5181e611e22ea55cae47c.tar.bz2
gentoo-657a97e550138810d5b5181e611e22ea55cae47c.zip
dev-libs/kreport: revision bump to resolve automagic dependencies
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-libs/kreport')
-rw-r--r--dev-libs/kreport/kreport-3.0.0-r1.ebuild (renamed from dev-libs/kreport/kreport-3.0.0.ebuild)15
-rw-r--r--dev-libs/kreport/metadata.xml4
2 files changed, 17 insertions, 2 deletions
diff --git a/dev-libs/kreport/kreport-3.0.0.ebuild b/dev-libs/kreport/kreport-3.0.0-r1.ebuild
index 22ff7574b9ba..77014b0e05dd 100644
--- a/dev-libs/kreport/kreport-3.0.0.ebuild
+++ b/dev-libs/kreport/kreport-3.0.0-r1.ebuild
@@ -15,22 +15,33 @@ DESCRIPTION="Framework for creation and generation of reports in multiple format
LICENSE="LGPL-2+"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="marble +scripting webkit"
RDEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kguiaddons)
$(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep kross)
$(add_qt_dep qtgui)
$(add_qt_dep qtprintsupport)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
dev-libs/kproperty
+ marble? ( $(add_kdeapps_dep marble '' '' '5=') )
+ scripting? ( $(add_qt_dep qtdeclarative) )
+ webkit? ( $(add_qt_dep qtwebkit) )
"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package marble Marble)
+ $(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
+ -DKREPORT_SCRIPTING=$(usex scripting)
+ )
+ kde5_src_configure
+}
diff --git a/dev-libs/kreport/metadata.xml b/dev-libs/kreport/metadata.xml
index 2fdbf33d963d..b26b44c64033 100644
--- a/dev-libs/kreport/metadata.xml
+++ b/dev-libs/kreport/metadata.xml
@@ -5,4 +5,8 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="marble">Enable displaying of maps using <pkg>kde-apps/marble</pkg></flag>
+ <flag name="scripting">Support Qml scripting using <pkg>dev-qt/qtdeclarative</pkg></flag>
+ </use>
</pkgmetadata>