Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603200 - multilib support for media-sound/bluez-alsa
Summary: multilib support for media-sound/bluez-alsa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-12-20 15:04 UTC by Sander Sweers
Modified: 2016-12-20 17:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2016-12-20 15:04:08 UTC
Below ebuild diff adds multilib support to bluez-alsa. Bluez-alsa comes in two parts, one is the server bluealsa and the other is an alsa plugin. If people want to use 32bit application with bluealsa then we need to build and install a 32bit alsa plugin.

I only tested the build with the git ebuild.

------------

--- /usr/portage/media-sound/bluez-alsa/bluez-alsa-9999.ebuild	2016-10-19 15:28:38.000000000 +0200
+++ bluez-alsa-9999.ebuild	2016-12-20 15:54:02.014634471 +0100
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=6
-inherit autotools eutils
+inherit autotools eutils multilib-minimal
 
 DESCRIPTION="Bluetooth Audio ALSA Backend"
 HOMEPAGE="https://github.com/Arkq/bluez-alsa"
@@ -36,16 +36,18 @@
 src_prepare() {
 	default
 	eautoreconf
+
+	multilib_copy_sources
 }
 
-src_configure() {
+multilib_src_configure() {
 	econf \
 		$(use_enable aac) \
 		$(use_enable debug) \
 		$(use_enable hcitop)
 }
 
-src_install() {
+multilib_src_install() {
 	default
 	prune_libtool_files --modules
Comment 1 Sander Sweers 2016-12-20 16:21:57 UTC
If people are wondering the reasons see https://github.com/Arkq/bluez-alsa/issues/16 :-)
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-12-20 17:58:38 UTC
commit 81434d56ebbd17a4e38fedbaade9e883d1f6d650
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Dec 20 18:57:21 2016

    media-sound/bluez-alsa: Added multilib support to live ebuild (bug #603200).

    Package-Manager: Portage-2.3.3, Repoman-2.3.1