logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

fcitx-configtool-5.0.17.ebuild (1488B)


  1. # Copyright 2021-2022 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. inherit cmake xdg-utils
  5. MY_PN="fcitx5-configtool"
  6. DESCRIPTION="GUI configuration tool for Fcitx"
  7. HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-configtool"
  8. SRC_URI="https://github.com/fcitx/fcitx5-configtool/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
  9. LICENSE="GPL-2+"
  10. SLOT="5"
  11. KEYWORDS="~amd64 ~x86"
  12. IUSE="+config-qt +kcm test X"
  13. RESTRICT="!test? ( test )"
  14. DEPEND="
  15. app-i18n/fcitx:5
  16. app-i18n/fcitx-qt:5[-only-plugin]
  17. app-text/iso-codes
  18. config-qt? ( kde-frameworks/kitemviews:5 )
  19. dev-qt/qtcore:5
  20. dev-qt/qtgui:5
  21. dev-qt/qtwidgets:5
  22. dev-qt/qtconcurrent:5
  23. kde-frameworks/kwidgetsaddons:5
  24. sys-devel/gettext
  25. x11-misc/xkeyboard-config
  26. kcm? (
  27. dev-qt/qtquickcontrols2:5
  28. kde-frameworks/kcoreaddons:5
  29. kde-frameworks/ki18n:5
  30. kde-frameworks/kiconthemes:5
  31. kde-frameworks/kpackage:5
  32. kde-frameworks/plasma:5
  33. kde-frameworks/kdeclarative:5
  34. kde-frameworks/kirigami:5
  35. x11-libs/libxkbcommon
  36. )
  37. X? (
  38. dev-qt/qtx11extras:5
  39. x11-libs/libX11
  40. x11-libs/libxkbfile
  41. )
  42. "
  43. RDEPEND="${DEPEND}"
  44. BDEPEND="
  45. kde-frameworks/extra-cmake-modules
  46. virtual/pkgconfig
  47. "
  48. S="${WORKDIR}/${MY_PN}-${PV}"
  49. src_configure() {
  50. local mycmakeargs=(
  51. -DENABLE_CONFIG_QT=$(usex config-qt)
  52. -DENABLE_KCM=$(usex kcm)
  53. -DENABLE_TEST=$(usex test)
  54. )
  55. cmake_src_configure
  56. }
  57. pkg_postinst() {
  58. xdg_desktop_database_update
  59. }
  60. pkg_postrm() {
  61. xdg_desktop_database_update
  62. }