kimtoy-1.91.ebuild 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit kde5
  5. DESCRIPTION="An input method frontend for Plasma"
  6. HOMEPAGE="http://kde-apps.org/content/show.php?content=140967"
  7. if [[ ${KDE_BUILD_TYPE} != live ]]; then
  8. SRC_URI="http://kde-apps.org/CONTENT/content-files/140967-${P}.tar.bz2"
  9. fi
  10. KEYWORDS="~amd64 ~x86"
  11. LICENSE="GPL-2+"
  12. IUSE="libressl scim semantic-desktop"
  13. COMMON_DEPEND="
  14. $(add_frameworks_dep karchive)
  15. $(add_frameworks_dep kconfig)
  16. $(add_frameworks_dep kconfigwidgets)
  17. $(add_frameworks_dep kcoreaddons)
  18. $(add_frameworks_dep kdbusaddons)
  19. $(add_frameworks_dep ki18n)
  20. $(add_frameworks_dep kiconthemes)
  21. $(add_frameworks_dep kio)
  22. $(add_frameworks_dep knewstuff)
  23. $(add_frameworks_dep knotifications)
  24. $(add_frameworks_dep kwidgetsaddons)
  25. $(add_frameworks_dep kwindowsystem)
  26. $(add_frameworks_dep kxmlgui)
  27. $(add_frameworks_dep plasma)
  28. app-i18n/ibus
  29. dev-libs/glib:2
  30. dev-qt/qtdbus:5
  31. dev-qt/qtgui:5
  32. dev-qt/qtwidgets:5
  33. dev-qt/qtx11extras:5
  34. media-libs/libpng:0=[apng]
  35. x11-libs/libX11
  36. !libressl? ( dev-libs/openssl:0= )
  37. libressl? ( dev-libs/libressl:= )
  38. scim? (
  39. >=app-i18n/scim-1.4.9
  40. dev-libs/dbus-c++
  41. )
  42. semantic-desktop? ( $(add_frameworks_dep kfilemetadata) )
  43. "
  44. DEPEND="${COMMON_DEPEND}
  45. x11-misc/shared-mime-info
  46. "
  47. RDEPEND="${COMMON_DEPEND}
  48. !kde-misc/kimtoy:4
  49. >=app-i18n/fcitx-4.0
  50. "
  51. src_prepare() {
  52. kde5_src_prepare
  53. # bug 581736
  54. cmake_comment_add_subdirectory po
  55. }
  56. src_configure() {
  57. local mycmakeargs=(
  58. $(cmake-utils_use_find_package scim SCIM)
  59. $(cmake-utils_use_find_package scim DBusCXX)
  60. $(cmake-utils_use_find_package semantic-desktop KF5FileMetaData)
  61. )
  62. kde5_src_configure
  63. }