Lines 54-59
src_configure() {
Link Here
|
54 |
|| die "eqmake4 failed." |
54 |
|| die "eqmake4 failed." |
55 |
} |
55 |
} |
56 |
|
56 |
|
|
|
57 |
src_compile() { |
58 |
emake || die "emake failed" |
59 |
|
60 |
if use amd64 && has_multilib_profile; then |
61 |
einfo "Building 32-bit overlay lib" |
62 |
local oldabi="${ABI}" |
63 |
multilib_toolchain_setup x86 |
64 |
|
65 |
cd overlay_gl |
66 |
emake clean |
67 |
emake DESTDIR_ADD="/32" || die "emake for 32-bit overlay failed" |
68 |
|
69 |
multilib_toolchain_setup "${oldabi}" |
70 |
fi |
71 |
} |
72 |
|
57 |
src_install() { |
73 |
src_install() { |
58 |
newdoc README.Linux README || die "Installing docs failed." |
74 |
newdoc README.Linux README || die "Installing docs failed." |
59 |
dodoc CHANGES || die "Installing docs failed." |
75 |
dodoc CHANGES || die "Installing docs failed." |
Lines 67-74
src_install() {
Link Here
|
67 |
|
83 |
|
68 |
dobin "${dir}"/mumble || die "Installing mumble binary failed." |
84 |
dobin "${dir}"/mumble || die "Installing mumble binary failed." |
69 |
|
85 |
|
70 |
CONF_LIBDIR="$(get_libdir)/mumble" dolib.so "${dir}"/lib*.so* || die "Installing libraries failed." |
86 |
export LIBDIR_${ABI}="$(get_libdir)/mumble" |
71 |
CONF_LIBDIR="$(get_libdir)/mumble" dolib.so "${dir}"/plugins/lib*.so* || die "Installing libraries failed." |
87 |
|
|
|
88 |
dolib.so "${dir}"/lib*.so* || die "Installing libraries failed." |
89 |
dolib.so "${dir}"/plugins/lib*.so* || die "Installing libraries failed." |
90 |
|
91 |
if use amd64 && has_multilib_profile; then |
92 |
LIBDIR_x86="$(get_abi_LIBDIR x86)/mumble" \ |
93 |
ABI=x86 dolib.so "${dir}"/32/lib*.so* || die "Installing libraries failed." |
94 |
fi |
72 |
|
95 |
|
73 |
insinto /usr/share/services |
96 |
insinto /usr/share/services |
74 |
doins scripts/mumble.protocol || die "Installing mumble.protocol file failed." |
97 |
doins scripts/mumble.protocol || die "Installing mumble.protocol file failed." |