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