Lines 17-23
Link Here
|
17 |
SLOT="0" |
17 |
SLOT="0" |
18 |
IUSE="+dbus debug +server +ssl +X" |
18 |
IUSE="+dbus debug +server +ssl +X" |
19 |
|
19 |
|
20 |
LANGS="nb_NO da de fr" |
20 |
LANGS="nb_NO da de fr ru" |
21 |
for l in ${LANGS}; do |
21 |
for l in ${LANGS}; do |
22 |
IUSE="${IUSE} linguas_${l}" |
22 |
IUSE="${IUSE} linguas_${l}" |
23 |
done |
23 |
done |
Lines 56-80
Link Here
|
56 |
} |
56 |
} |
57 |
|
57 |
|
58 |
src_compile() { |
58 |
src_compile() { |
59 |
local MY_LANGUAGES="" |
59 |
# Comment this out and invoke _common_configure_code, cmake and cmake-utils_src_make |
60 |
for ling in ${LINGUAS}; do |
60 |
# manually until cmake-utils.eclass supports space separated strings as arguments for cmake |
61 |
if has $ling ${LANGS}; then |
61 |
# options. Until now multiple languages are not passed to -DLINGUAS and only the first |
62 |
MY_LANGUAGES="${ling} ${MY_LANGUAGES}" |
62 |
# language is considered. |
63 |
fi |
63 |
# |
64 |
done |
64 |
# local mycmakeargs=( |
65 |
|
65 |
# "$(cmake-utils_use_want server CORE)" |
66 |
local mycmakeargs=" |
66 |
# "$(cmake-utils_use_want X QTCLIENT)" |
67 |
$(cmake-utils_use_want server CORE) |
67 |
# "$(cmake-utils_use_with X WEBKIT)" |
68 |
$(cmake-utils_use_want X QTCLIENT) |
68 |
# "$(cmake-utils_use_with dbus DBUS)" |
69 |
$(cmake-utils_use_with X WEBKIT) |
69 |
# "$(cmake-utils_use_with ssl OPENSSL)" |
70 |
$(cmake-utils_use_with dbus DBUS) |
70 |
# "-DLINGUAS=\"${LINGUAS}\"" |
71 |
$(cmake-utils_use_with ssl OPENSSL) |
71 |
# '-DOXYGEN_ICONS=Builtin' |
72 |
-DLINGUAS="${MY_LANGUAGES}" |
72 |
# '-DQUASSEL_ICONS=Builtin' |
73 |
-DOXYGEN_ICONS=Builtin |
73 |
# '-DWANT_MONO=OFF' ) |
74 |
-DQUASSEL_ICONS=Builtin |
74 |
# |
75 |
-DWANT_MONO=OFF" |
75 |
# cmake-utils_src_compile |
|
|
76 |
|
77 |
_common_configure_code |
78 |
|
79 |
cmake -C "${TMPDIR}/gentoo_common_config.cmake" \ |
80 |
$(cmake-utils_use_want server CORE) $(cmake-utils_use_want X QTCLIENT) \ |
81 |
$(cmake-utils_use_with X WEBKIT) $(cmake-utils_use_with dbus DBUS) \ |
82 |
$(cmake-utils_use_with ssl OPENSSL) -DLINGUAS="${LINGUAS}" \ |
83 |
-DOXYGEN_ICONS=Builtin -DQUASSEL_ICONS=Builtin -DWANT_MONO=OFF \ |
84 |
"${S}" || die "Cmake failed" |
76 |
|
85 |
|
77 |
cmake-utils_src_compile |
86 |
cmake-utils_src_make |
78 |
} |
87 |
} |
79 |
|
88 |
|
80 |
src_install() { |
89 |
src_install() { |