diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-i18n/scim-tables/scim-tables-0.5.13.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-i18n/scim-tables/scim-tables-0.5.13.ebuild')
-rw-r--r-- | app-i18n/scim-tables/scim-tables-0.5.13.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-i18n/scim-tables/scim-tables-0.5.13.ebuild b/app-i18n/scim-tables/scim-tables-0.5.13.ebuild new file mode 100644 index 000000000000..a6a246691146 --- /dev/null +++ b/app-i18n/scim-tables/scim-tables-0.5.13.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit autotools base eutils + +DESCRIPTION="Smart Common Input Method (SCIM) Generic Table Input Method Server" +HOMEPAGE="http://www.scim-im.org/" +SRC_URI="mirror://sourceforge/scim/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ppc x86" +IUSE="nls" +LANGS="am ar bn gu hi ja kn ko ml ne pa ru ta te th uk vi zh" +for i in ${LANGS} ; do + IUSE="${IUSE} linguas_${i}" +done + +RDEPEND=">=app-i18n/scim-1.4.7-r2 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}/${PN}-0.5.8+gcc-4.3.patch" + "${FILESDIR}"/${PN}-0.5.12-automake.patch + ) + +pkg_setup() { + elog "Not all languages are going to be compiled." + elog "Please set LINGUAS to your preferred language(s)." + elog "Supported LINGUAS values are:" + elog "${LANGS}" +} + +src_unpack() { + base_src_unpack + + strip-linguas ${LANGS} + local use_languages="additional ${LINGUAS}" + elog "Languages being compiled are: ${use_languages}" + + cd "${S}" + sed -i -e "/^SUBDIRS/s/.*/SUBDIRS = ${use_languages}/g" \ + tables/Makefile.{am,in} || die "sed ${m} failed" + + AT_NO_RECURSIVE=yes AT_M4DIR=${S}/m4 eautoreconf +} + +src_compile() { + econf \ + --disable-skim-support \ + $(use_enable nls) \ + --disable-static \ + --disable-dependency-tracking \ + --without-arts || die "econf failed" + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README ChangeLog AUTHORS +} |