kreport-3.0.1.ebuild 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. PYTHON_COMPAT=( python2_7 )
  5. KDE_TEST="true"
  6. VIRTUALX_REQUIRED="test"
  7. inherit kde5 python-any-r1
  8. DESCRIPTION="Framework for creation and generation of reports in multiple formats"
  9. [[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
  10. LICENSE="LGPL-2+"
  11. KEYWORDS="~amd64 ~x86"
  12. IUSE="marble +scripting webkit"
  13. RDEPEND="
  14. $(add_frameworks_dep kconfig)
  15. $(add_frameworks_dep kcoreaddons)
  16. $(add_frameworks_dep kguiaddons)
  17. $(add_frameworks_dep kwidgetsaddons)
  18. $(add_qt_dep qtgui)
  19. $(add_qt_dep qtprintsupport)
  20. $(add_qt_dep qtwidgets)
  21. $(add_qt_dep qtxml)
  22. dev-libs/kproperty
  23. marble? ( $(add_kdeapps_dep marble '' '' '5=') )
  24. scripting? ( $(add_qt_dep qtdeclarative) )
  25. webkit? ( $(add_qt_dep qtwebkit) )
  26. "
  27. DEPEND="${RDEPEND}
  28. ${PYTHON_DEPS}
  29. "
  30. REQUIRED_USE="${PYTHON_REQUIRED_USE}"
  31. src_configure() {
  32. local mycmakeargs=(
  33. $(cmake-utils_use_find_package marble Marble)
  34. $(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
  35. -DKREPORT_SCRIPTING=$(usex scripting)
  36. )
  37. kde5_src_configure
  38. }