Skip to content

Commit

Permalink
media-sound/bluez-alsa: Added multilib support to live ebuild (bug #6…
Browse files Browse the repository at this point in the history
…03200).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
Lars Wendler committed Dec 20, 2016
1 parent 64263f4 commit 81434d5
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions media-sound/bluez-alsa/bluez-alsa-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -20,32 +20,33 @@ 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() {
default
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

Expand Down

0 comments on commit 81434d5

Please sign in to comment.