scim-input-pad-0.1.3.ebuild 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="4"
  4. inherit autotools
  5. DESCRIPTION="Input pad for SCIM used to input symbols and special characters"
  6. HOMEPAGE="http://www.scim-im.org/"
  7. SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 x86"
  11. IUSE="nls"
  12. RDEPEND=">=app-i18n/scim-1.2.0
  13. >=x11-libs/gtk+-2.6.0:2"
  14. DEPEND="${RDEPEND}
  15. >=dev-util/intltool-0.33
  16. virtual/pkgconfig"
  17. src_prepare() {
  18. rm "${S}"/m4/intltool.m4 || die
  19. eautoreconf
  20. }
  21. src_configure() {
  22. econf $(use_enable nls) || die "Error: econf failed!"
  23. }
  24. src_install() {
  25. emake DESTDIR="${D}" install || die "Error: install failed!"
  26. dodoc ChangeLog README
  27. }
  28. pkg_postinst() {
  29. elog
  30. elog "The SCIM input pad should be startable from the SCIM (and Skim)"
  31. elog "systray icon right click menu. You will have to restart SCIM"
  32. elog "(or Skim) in order for the menu entry to appear (you may simply"
  33. elog "restart your X server). If you want to use it immediately, just"
  34. elog "start the SCIM input pad, using the 'scim-input-pad' command."
  35. elog
  36. elog "To use, select the text zone you wish to write in, and just"
  37. elog "click on the wanted character in the right multilevel tabbed"
  38. elog "table, from the SCIM Input Pad interface."
  39. elog
  40. elog "To add new characters to the tables, see the documentation"
  41. elog "(README file in /usr/share/doc/${PF})."
  42. elog
  43. }