Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=1 |
5 |
EAPI=1 |
6 |
|
6 |
|
7 |
inherit kde-functions eutils flag-o-matic |
7 |
inherit eutils flag-o-matic |
8 |
|
8 |
|
9 |
DESCRIPTION="Simple Instant Messenger (with KDE support). ICQ/AIM/Jabber/MSN/Yahoo." |
9 |
DESCRIPTION="Simple Instant Messenger (with KDE support). ICQ/AIM/Jabber/MSN/Yahoo." |
10 |
HOMEPAGE="http://sim-im.org/" |
10 |
HOMEPAGE="http://sim-im.org/" |
Lines 14-28
Link Here
|
14 |
|
14 |
|
15 |
SLOT="0" |
15 |
SLOT="0" |
16 |
KEYWORDS="amd64 ppc x86" |
16 |
KEYWORDS="amd64 ppc x86" |
17 |
IUSE="debug kde spell ssl" |
17 |
IUSE="debug spell ssl" |
18 |
|
18 |
|
19 |
RESTRICT="fetch" |
19 |
RESTRICT="fetch" |
20 |
|
20 |
|
21 |
# kdebase-data provides the icon "licq.png" |
21 |
RDEPEND="x11-libs/qt:3 |
22 |
RDEPEND="kde? ( =kde-base/kdelibs-3.5* |
22 |
spell? ( app-text/aspell ) |
23 |
|| ( =kde-base/kdebase-data-3.5* =kde-base/kdebase-3.5* ) ) |
|
|
24 |
!kde? ( x11-libs/qt:3 |
25 |
spell? ( app-text/aspell ) ) |
26 |
ssl? ( dev-libs/openssl ) |
23 |
ssl? ( dev-libs/openssl ) |
27 |
dev-libs/libxml2 |
24 |
dev-libs/libxml2 |
28 |
dev-libs/libxslt |
25 |
dev-libs/libxslt |
Lines 45-75
Link Here
|
45 |
elog "information." |
42 |
elog "information." |
46 |
} |
43 |
} |
47 |
|
44 |
|
48 |
pkg_setup() { |
|
|
49 |
if use kde; then |
50 |
if use spell; then |
51 |
if ! built_with_use "=kde-base/kdelibs-3.5*" spell; then |
52 |
ewarn "kde-base/kdelibs were merged without spell in USE." |
53 |
ewarn "Thus spelling will not work in sim. Please, either" |
54 |
ewarn "reemerge kde-base/kdelibs with spell in USE or emerge" |
55 |
ewarn 'sim with USE="-spell" to avoid this message.' |
56 |
ebeep |
57 |
fi |
58 |
else |
59 |
if built_with_use "=kde-base/kdelibs-3.5*" spell; then |
60 |
ewarn 'kde-base/kdelibs were merged with spell in USE.' |
61 |
ewarn 'Thus spelling will work in sim. Please, either' |
62 |
ewarn 'reemerge kde-base/kdelibs without spell in USE or emerge' |
63 |
ewarn 'sim with USE="spell" to avoid this message.' |
64 |
ebeep |
65 |
fi |
66 |
fi |
67 |
if ! built_with_use "=kde-base/kdelibs-3.5*" arts; then |
68 |
myconf="--without-arts" |
69 |
fi |
70 |
fi |
71 |
} |
72 |
|
73 |
src_unpack() { |
45 |
src_unpack() { |
74 |
unpack ${A} |
46 |
unpack ${A} |
75 |
cd "${S}" |
47 |
cd "${S}" |
Lines 78-99
Link Here
|
78 |
epatch "${FILESDIR}"/${P}-sslv23.patch |
50 |
epatch "${FILESDIR}"/${P}-sslv23.patch |
79 |
epatch ../${P}-r1919_1924.patch |
51 |
epatch ../${P}-r1919_1924.patch |
80 |
epatch "${FILESDIR}"/${P}-old-protocol.patch |
52 |
epatch "${FILESDIR}"/${P}-old-protocol.patch |
81 |
if use kde; then |
|
|
82 |
set-kdedir 3 |
83 |
fi |
84 |
} |
53 |
} |
85 |
|
54 |
|
86 |
src_compile() { |
55 |
src_compile() { |
87 |
filter-flags -fstack-protector -fstack-protector-all |
|
|
88 |
|
89 |
# Workaround for bug #119906 |
56 |
# Workaround for bug #119906 |
90 |
append-flags -fno-stack-protector |
57 |
append-flags -fno-stack-protector |
91 |
|
58 |
|
92 |
use kde || use spell || export DO_NOT_COMPILE="$DO_NOT_COMPILE plugins/spell" |
59 |
use spell || export DO_NOT_COMPILE="$DO_NOT_COMPILE plugins/spell" |
93 |
|
60 |
|
94 |
econf ${myconf} $(use_enable kde) \ |
61 |
econf ${myconf} \ |
95 |
$(use_with ssl) \ |
62 |
$(use_with ssl) \ |
96 |
$(use_enable debug) || die "econf failed" |
63 |
$(use_enable debug) |
97 |
|
64 |
|
98 |
emake -j1 || die "make failed" |
65 |
emake -j1 || die "make failed" |
99 |
} |
66 |
} |