diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-02-24 15:59:15 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-02-24 15:59:15 +0000 |
commit | 26762b885555cc7d54c3548eafc20bcbddaac2e1 (patch) | |
tree | 1f05388f602e56d180e60be89838f53f5f2bdb10 | |
parent | ia64/sparc/x86 stable (diff) | |
download | gentoo-2-26762b885555cc7d54c3548eafc20bcbddaac2e1.tar.gz gentoo-2-26762b885555cc7d54c3548eafc20bcbddaac2e1.tar.bz2 gentoo-2-26762b885555cc7d54c3548eafc20bcbddaac2e1.zip |
Version bumped.
(Portage version: 2.1.4.4)
-rw-r--r-- | app-i18n/scim-tables/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/scim-tables/scim-tables-0.5.8.ebuild | 64 |
2 files changed, 71 insertions, 2 deletions
diff --git a/app-i18n/scim-tables/ChangeLog b/app-i18n/scim-tables/ChangeLog index 03b4d3e07362..2b031ce072a8 100644 --- a/app-i18n/scim-tables/ChangeLog +++ b/app-i18n/scim-tables/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/scim-tables -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-tables/ChangeLog,v 1.52 2007/11/16 18:01:35 matsuu Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-tables/ChangeLog,v 1.53 2008/02/24 15:59:15 matsuu Exp $ + +*scim-tables-0.5.8 (24 Feb 2008) + + 24 Feb 2008; MATSUU Takuto <matsuu@gentoo.org> +scim-tables-0.5.8.ebuild: + Version bumped. 16 Nov 2007; <matsuu@gentoo.org> -files/scim-tables-qt335.patch, -scim-tables-0.5.3.ebuild, -scim-tables-0.5.6-r1.ebuild, diff --git a/app-i18n/scim-tables/scim-tables-0.5.8.ebuild b/app-i18n/scim-tables/scim-tables-0.5.8.ebuild new file mode 100644 index 000000000000..f4ad579332e2 --- /dev/null +++ b/app-i18n/scim-tables/scim-tables-0.5.8.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-tables/scim-tables-0.5.8.ebuild,v 1.1 2008/02/24 15:59:15 matsuu Exp $ + +inherit kde-functions 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 + mirror://gentoo/kde-admindir-3.5.3.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="kde 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="x11-libs/libXt + >=app-i18n/scim-1.4.0 + kde? ( >=app-i18n/skim-1.2.0 ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +pkg_setup() { + if ! built_with_use '>=app-i18n/scim-1.4.0' gtk ; then + eerror ">=app-i18n/scim-1.4.0 with gtk USE flag is required by ${PF}." + die "Please reemerge >=app-i18n/scim-1.4.0 with USE=\"gtk\"." + fi + + 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_compile() { + strip-linguas ${LANGS} + local use_languages="additional ${LINGUAS}" + elog "Languages being compiled are: ${use_languages}" + + for m in Makefile.in Makefile.am ; do + sed -e "/^SUBDIRS/s/.*/SUBDIRS = ${use_languages}/g" \ + tables/${m} > "${T}"/${m} || die "sed ${m} failed" + cp "${T}"/${m} tables/${m} || die "mv ${m} failed" + done + + econf \ + $(use_enable kde 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 +} |