Lines 12-17
Link Here
|
12 |
SLOT="2" |
12 |
SLOT="2" |
13 |
KEYWORDS="~x86 ~ppc ~sparc ~alpha hppa" |
13 |
KEYWORDS="~x86 ~ppc ~sparc ~alpha hppa" |
14 |
IUSE="perl tcltk python ssl gtk mmx ipv6 nls" |
14 |
IUSE="perl tcltk python ssl gtk mmx ipv6 nls" |
|
|
15 |
# Local use flag for the text frontend (bug #26427) |
16 |
IUSE="${IUSE} xchattext xchatnogtk" |
15 |
|
17 |
|
16 |
# Added for to fix a sparc seg fault issue by Jason Wever <weeve@gentoo.org> |
18 |
# Added for to fix a sparc seg fault issue by Jason Wever <weeve@gentoo.org> |
17 |
if [ ${ARCH} = "sparc" ] |
19 |
if [ ${ARCH} = "sparc" ] |
Lines 21-27
Link Here
|
21 |
|
23 |
|
22 |
|
24 |
|
23 |
RDEPEND=">=dev-libs/glib-2.0.3 |
25 |
RDEPEND=">=dev-libs/glib-2.0.3 |
24 |
gtk? ( >=x11-libs/gtk+-2.0.3 ) |
26 |
!xchatnogtk ( >=x11-libs/gtk+-2.0.3 ) |
25 |
perl? ( >=dev-lang/perl-5.6.1 ) |
27 |
perl? ( >=dev-lang/perl-5.6.1 ) |
26 |
ssl? ( >=dev-libs/openssl-0.9.6d ) |
28 |
ssl? ( >=dev-libs/openssl-0.9.6d ) |
27 |
python? ( dev-lang/python ) |
29 |
python? ( dev-lang/python ) |
Lines 36-43
Link Here
|
36 |
# instead of python-config (#25943) |
38 |
# instead of python-config (#25943) |
37 |
unset PYTHONPATH |
39 |
unset PYTHONPATH |
38 |
|
40 |
|
|
|
41 |
# test for local usage of xchatnogtk |
42 |
local gtkconf |
43 |
use xchatnogtk \ |
44 |
&& gtkconf="--disable-gtkfe" \ |
45 |
|| gtkconf="--enable-gtkfe" |
46 |
|
39 |
econf \ |
47 |
econf \ |
40 |
`use_enable gtk gtkfe` \ |
48 |
${gtkconf} \ |
41 |
`use_enable ssl openssl` \ |
49 |
`use_enable ssl openssl` \ |
42 |
`use_enable perl` \ |
50 |
`use_enable perl` \ |
43 |
`use_enable python` \ |
51 |
`use_enable python` \ |
Lines 45-51
Link Here
|
45 |
`use_enable mmx` \ |
53 |
`use_enable mmx` \ |
46 |
`use_enable ipv6` \ |
54 |
`use_enable ipv6` \ |
47 |
`use_enable nls` \ |
55 |
`use_enable nls` \ |
48 |
--enable-textfe \ |
56 |
`use_enable xchattext textfe` \ |
49 |
--program-suffix=-2 \ |
57 |
--program-suffix=-2 \ |
50 |
|| die "Configure failed" |
58 |
|| die "Configure failed" |
51 |
|
59 |
|
Lines 66-80
Link Here
|
66 |
dodoc AUTHORS COPYING ChangeLog README* |
74 |
dodoc AUTHORS COPYING ChangeLog README* |
67 |
} |
75 |
} |
68 |
|
76 |
|
69 |
pkg_postinst( ) { |
|
|
70 |
|
71 |
# warnings for people for who USE="gtk2 -gtk" doesnt behave as |
72 |
# they expect, see bug #26427 |
73 |
if [ ! `use gtk` ]; then |
74 |
echo "" |
75 |
ewarn "If you wish to use the gtk2 frontend for xchat, please" |
76 |
ewarn "USE=\"gtk\" emerge xchat" |
77 |
echo "" |
78 |
fi |
79 |
|
80 |
} |