blob: a99ca9b0cf14f90171ea3d9e8a71a4835c37c939 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/skim-1.0.2.ebuild,v 1.6 2005/02/11 15:42:59 usata Exp $
DESCRIPTION="Smart Common Input Method (SCIM) optimized for KDE"
HOMEPAGE="http://www.scim-im.org/"
SRC_URI="mirror://sourceforge/scim/${P}.tar.bz2
http://freedesktop.org/~cougar/skim/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc ~amd64"
IUSE="arts"
DEPEND="virtual/x11
|| ( >=app-i18n/scim-0.99.4 >=app-i18n/scim-cvs-0.99.4 )
>=x11-libs/qt-3.2.0
>=kde-base/kdelibs-3.2.0
arts? ( kde-base/arts )"
src_compile() {
addpredict /usr/qt/3/etc/settings
econf $(use_with arts) || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog NEWS README TODO
mv ${D}/usr/share/doc/HTML ${D}/usr/share/doc/${PF}/html
}
pkg_postinst() {
einfo
einfo "If you want to use Chinese interface, edit your startup script"
einfo "such as .xinitrc to incorporate"
einfo
einfo ' export XMODIFIERS=@im=SCIM'
einfo ' export LANG="zh_CN.GBK"'
einfo ' startkde'
einfo
einfo "or if you prefer English interface,"
einfo
einfo ' export XMODIFIERS=@im=SCIM'
einfo ' export LC_CTYPE="zh_CN.GBK"'
einfo ' startkde'
einfo
einfo "and start skim and SCIM by"
einfo
einfo " % skim -d"
einfo
}
|