Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.3.ebuild,v 1.2 2006/01/28 08:48:24 flameeyes Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.3.ebuild,v 1.2 2006/01/28 08:48:24 flameeyes Exp $ |
4 |
|
4 |
|
5 |
inherit eutils flag-o-matic |
5 |
inherit eutils flag-o-matic autotools |
6 |
|
6 |
|
7 |
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform" |
7 |
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform" |
8 |
HOMEPAGE="http://www.scim-im.org/" |
8 |
HOMEPAGE="http://www.scim-im.org/" |
Lines 11-17
Link Here
|
11 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
12 |
SLOT="0" |
13 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
13 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
14 |
IUSE="gtk immqt immqt-bc" |
14 |
IUSE="gtk immqt immqt-bc doc" |
15 |
|
15 |
|
16 |
GTK_DEPEND=">=x11-libs/gtk+-2 |
16 |
GTK_DEPEND=">=x11-libs/gtk+-2 |
17 |
>=dev-libs/atk-1 |
17 |
>=dev-libs/atk-1 |
Lines 25-30
Link Here
|
25 |
!<app-i18n/scim-chinese-0.4.0" |
25 |
!<app-i18n/scim-chinese-0.4.0" |
26 |
DEPEND="${RDEPEND} |
26 |
DEPEND="${RDEPEND} |
27 |
|| ( x11-libs/libXt virtual/x11 ) |
27 |
|| ( x11-libs/libXt virtual/x11 ) |
|
|
28 |
doc? ( app-doc/doxygen ) |
28 |
dev-lang/perl" |
29 |
dev-lang/perl" |
29 |
|
30 |
|
30 |
has_gtk() { |
31 |
has_gtk() { |
Lines 43-48
Link Here
|
43 |
fi |
44 |
fi |
44 |
} |
45 |
} |
45 |
|
46 |
|
|
|
47 |
src_unpack() { |
48 |
unpack ${A} |
49 |
cd ${S} |
50 |
|
51 |
epatch "${FILESDIR}/${P}-nodoxygen.patch" |
52 |
eautoreconf |
53 |
} |
54 |
|
46 |
src_compile() { |
55 |
src_compile() { |
47 |
# bug #83625 |
56 |
# bug #83625 |
48 |
filter-flags -fvisibility-inlines-hidden |
57 |
filter-flags -fvisibility-inlines-hidden |
Lines 52-65
Link Here
|
52 |
|
61 |
|
53 |
use gtk || use immqt || use immqt-bc || myconf="${myconf} --disable-panel-gtk --disable-setup-ui" |
62 |
use gtk || use immqt || use immqt-bc || myconf="${myconf} --disable-panel-gtk --disable-setup-ui" |
54 |
has_gtk || myconf="${myconf} --disable-gtk2-immodule" |
63 |
has_gtk || myconf="${myconf} --disable-gtk2-immodule" |
55 |
econf ${myconf} || die |
64 |
econf \ |
|
|
65 |
$(use_with doc doxygen) \ |
66 |
${myconf} || die |
56 |
emake || die |
67 |
emake || die |
57 |
} |
68 |
} |
58 |
|
69 |
|
59 |
src_install() { |
70 |
src_install() { |
60 |
make DESTDIR=${D} install || die |
71 |
make DESTDIR=${D} install || die |
61 |
dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg |
72 |
dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg |
62 |
dohtml -r docs/html/* |
73 |
use doc && dohtml -r docs/html/* |
63 |
} |
74 |
} |
64 |
|
75 |
|
65 |
pkg_postinst() { |
76 |
pkg_postinst() { |