commit:     81434d56ebbd17a4e38fedbaade9e883d1f6d650
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 17:57:21 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 17:57:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81434d56

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

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild 
b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
index 630c8af..263c3be 100644
--- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
+++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
@@ -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";
@@ -20,17 +20,17 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="aac debug hcitop"
 
-RDEPEND=">=dev-libs/glib-2.16[dbus]
-       >=media-libs/alsa-lib-1.0
-       >=media-libs/sbc-1.2
-       >=net-wireless/bluez-5
+RDEPEND=">=dev-libs/glib-2.16[dbus,${MULTILIB_USEDEP}]
+       >=media-libs/alsa-lib-1.0[${MULTILIB_USEDEP}]
+       >=media-libs/sbc-1.2[${MULTILIB_USEDEP}]
+       >=net-wireless/bluez-5[${MULTILIB_USEDEP}]
+       aac? ( >=media-libs/fdk-aac-0.1.1[${MULTILIB_USEDEP}] )
        hcitop? (
                dev-libs/libbsd
                sys-libs/ncurses:0=
        )"
 DEPEND="${RDEPEND}
        net-libs/ortp
-       aac? ( >=media-libs/fdk-aac-0.1.1 )
        virtual/pkgconfig"
 
 src_prepare() {
@@ -38,14 +38,15 @@ src_prepare() {
        eautoreconf
 }
 
-src_configure() {
+multilib_src_configure() {
+       ECONF_SOURCE="${S}" \
        econf \
                $(use_enable aac) \
                $(use_enable debug) \
-               $(use_enable hcitop)
+               $(multilib_native_use_enable hcitop)
 }
 
-src_install() {
+multilib_src_install_all() {
        default
        prune_libtool_files --modules
 

Reply via email to