ibus-chewing-1.5.1.ebuild 849 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit cmake-utils
  5. MY_P=${P}-Source
  6. DESCRIPTION="The Chewing IMEngine for IBus Framework"
  7. HOMEPAGE="https://github.com/ibus/ibus/wiki"
  8. SRC_URI="https://github.com/definite/ibus-chewing/releases/download/${PV}/${MY_P}.tar.gz"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="~amd64 ~x86"
  12. IUSE="nls"
  13. RDEPEND="x11-libs/libXtst
  14. >=app-i18n/ibus-1.3
  15. >=dev-libs/libchewing-0.3.3
  16. x11-libs/gtk+:2
  17. dev-util/gob:2"
  18. DEPEND="${RDEPEND}
  19. gnome-base/gconf
  20. virtual/pkgconfig"
  21. S=${WORKDIR}/${MY_P}
  22. CMAKE_IN_SOURCE_BUILD=1
  23. DOCS="AUTHORS ChangeLog README RELEASE-NOTES.txt USER-GUIDE"
  24. src_configure() {
  25. local mycmakeargs=(
  26. -DPRJ_DOC_DIR=/usr/share/doc/${PF}
  27. )
  28. cmake-utils_src_configure
  29. }
  30. src_compile() {
  31. cmake-utils_src_make all translations
  32. }