assistant-5.6.2.ebuild 748 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. QT5_MODULE="qttools"
  5. inherit qt5-build
  6. DESCRIPTION="Tool for viewing on-line documentation in Qt help file format"
  7. if [[ ${QT5_BUILD_TYPE} == release ]]; then
  8. KEYWORDS="amd64 arm hppa ppc64 x86"
  9. fi
  10. IUSE="webkit"
  11. DEPEND="
  12. ~dev-qt/qtcore-${PV}
  13. ~dev-qt/qtgui-${PV}
  14. ~dev-qt/qthelp-${PV}
  15. ~dev-qt/qtnetwork-${PV}
  16. ~dev-qt/qtprintsupport-${PV}
  17. ~dev-qt/qtsql-${PV}[sqlite]
  18. ~dev-qt/qtwidgets-${PV}
  19. webkit? ( ~dev-qt/qtwebkit-${PV} )
  20. "
  21. RDEPEND="${DEPEND}"
  22. QT5_TARGET_SUBDIRS=(
  23. src/assistant/assistant
  24. )
  25. src_prepare() {
  26. qt_use_disable_mod webkit webkitwidgets \
  27. src/assistant/assistant/assistant.pro
  28. qt5-build_src_prepare
  29. }