linguist-tools-5.15.18.ebuild 715 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Copyright 1999-2025 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. if [[ ${PV} != *9999* ]]; then
  5. QT5_KDEPATCHSET_REV=1
  6. KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
  7. fi
  8. QT5_MODULE="qttools"
  9. inherit qt5-build
  10. DESCRIPTION="Tools for working with Qt translation data files"
  11. IUSE="qml"
  12. DEPEND="
  13. =dev-qt/qtcore-${QT5_PV}*:5=
  14. =dev-qt/qtxml-${QT5_PV}*
  15. qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
  16. "
  17. RDEPEND="${DEPEND}"
  18. QT5_TARGET_SUBDIRS=(
  19. src/linguist
  20. )
  21. src_prepare() {
  22. sed -i -e '/SUBDIRS += linguist/d' \
  23. src/linguist/linguist.pro || die
  24. qt_use_disable_mod qml qmldevtools-private \
  25. src/linguist/lupdate/lupdate.pro
  26. qt5-build_src_prepare
  27. }