Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 580154 Details for
Bug 267441
media-sound/mumble should include 32-bit libmumble.so on AMD64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-media-sound-mumble-Build-multilib-libmumble.so.patch
0001-media-sound-mumble-Build-multilib-libmumble.so.patch (text/plain), 2.42 KB, created by
Michał Górny
on 2019-06-19 14:54:28 UTC
(
hide
)
Description:
0001-media-sound-mumble-Build-multilib-libmumble.so.patch
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2019-06-19 14:54:28 UTC
Size:
2.42 KB
patch
obsolete
>From 97bca43bfcc69c9a254409bb11aaaf1b483df15e Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Wed, 19 Jun 2019 16:50:49 +0200 >Subject: [PATCH] media-sound/mumble: Build multilib libmumble.so* >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Closes: https://bugs.gentoo.org/267441 >Signed-off-by: MichaŠGórny <mgorny@gentoo.org> >--- > media-sound/mumble/mumble-9999.ebuild | 40 ++++++++++++++++++++------- > 1 file changed, 30 insertions(+), 10 deletions(-) > >diff --git a/media-sound/mumble/mumble-9999.ebuild b/media-sound/mumble/mumble-9999.ebuild >index d15c4124e796..30b2055c37fb 100644 >--- a/media-sound/mumble/mumble-9999.ebuild >+++ b/media-sound/mumble/mumble-9999.ebuild >@@ -3,7 +3,7 @@ > > EAPI=7 > >-inherit desktop qmake-utils xdg >+inherit desktop multilib-build qmake-utils xdg > > DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software" > HOMEPAGE="https://wiki.mumble.info" >@@ -63,6 +63,8 @@ BDEPEND=" > virtual/pkgconfig > " > >+# NB: qmake does not support multilib but it's fine to configure >+# for the native ABI here > src_configure() { > myuse() { > [[ -n "${1}" ]] || die "myuse: No use option given" >@@ -97,16 +99,36 @@ src_configure() { > DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble" > } > >-src_install() { >- newdoc README.Linux README >- dodoc CHANGES >+multilib_src_compile() { >+ local emake_args=( >+ # place libmumble* in a subdirectory >+ DESTDIR_ADD="/${MULTILIB_ABI_FLAG}" >+ {C,L}FLAGS_ADD="$(get_abi_CFLAGS)" >+ ) >+ # build only overlay library for other ABIs >+ multilib_is_native_abi || emake_args+=( -C overlay_gl ) >+ emake "${emake_args[@]}" >+ emake clean >+} >+ >+src_compile() { >+ multilib_foreach_abi multilib_src_compile >+} > >- local dir=release >- if use debug; then >- dir=debug >+multilib_src_install() { >+ local dir=$(usex debug debug release) >+ dolib.so "${dir}/${MULTILIB_ABI_FLAG}"/libmumble.so* >+ if multilib_is_native_abi; then >+ dobin "${dir}"/mumble >+ dolib.so "${dir}"/libcelt0.so* "${dir}"/plugins/lib*.so* > fi >+} >+ >+src_install() { >+ multilib_foreach_abi multilib_src_install > >- dobin "${dir}"/mumble >+ newdoc README.Linux README >+ dodoc CHANGES > dobin scripts/mumble-overlay > > insinto /usr/share/services >@@ -118,8 +140,6 @@ src_install() { > > doman man/mumble-overlay.1 > doman man/mumble.1 >- >- dolib.so "${dir}"/libmumble.so* "${dir}"/libcelt0.so* "${dir}"/plugins/lib*.so* > } > > pkg_preinst() { >-- >2.22.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267441
:
189402
|
189404
| 580154