blob: e3f7f0c79a33003f297b9c1d7628b424d1539090 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-pinyin/scim-pinyin-0.5.91-r2.ebuild,v 1.4 2008/11/15 17:52:20 armin76 Exp $
WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest
inherit kde-functions eutils autotools
DESCRIPTION="Smart Common Input Method (SCIM) Smart Pinyin Input Method"
HOMEPAGE="http://www.scim-im.org/"
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
IUSE="kde nls"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc ~ppc64 sparc x86"
RDEPEND="x11-libs/libXt
|| ( >=app-i18n/scim-1.1 >=app-i18n/scim-cvs-1.1 )
kde? ( app-i18n/skim )
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-fixconfigure.patch"
epatch "${FILESDIR}/${PN}-qt335.patch"
epatch "${FILESDIR}/${P}-gcc43.patch"
AT_M4DIR=m4 AT_NO_RECURSIVE=yes eautoreconf
}
src_compile() {
econf \
$(use_enable nls) \
$(use_enable kde skim-support) \
--without-arts \
--disable-static \
--disable-depedency-tracking \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHROS NEWS README ChangeLog
}
|