commit:     410369f34b474f07658fd8caf94c46b721aa1335
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 12:50:55 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 12:51:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=410369f3

media-sound/bluez-alsa: Synce live ebuild.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild 
b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
index c883ca5ff3e..6c33c4f7d93 100644
--- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
+++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild
@@ -17,10 +17,10 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="aac debug hcitop static-libs"
+IUSE="aac debug hcitop ldac ofono static-libs test"
 
 RDEPEND=">=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}]
-       >=media-libs/alsa-lib-1.0[${MULTILIB_USEDEP}]
+       >=media-libs/alsa-lib-1.1.2[${MULTILIB_USEDEP}]
        >=media-libs/sbc-1.2[${MULTILIB_USEDEP}]
        >=net-wireless/bluez-5.0[${MULTILIB_USEDEP}]
        sys-libs/readline:0=
@@ -28,10 +28,15 @@ RDEPEND=">=dev-libs/glib-2.26[dbus,${MULTILIB_USEDEP}]
        hcitop? (
                dev-libs/libbsd
                sys-libs/ncurses:0=
-       )"
+       )
+       ldac? ( >=media-libs/libldac-2.0.0 )"
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.4.0-ldac_pkgconfig_checks.patch
+)
+
 src_prepare() {
        default
        eautoreconf
@@ -42,8 +47,11 @@ multilib_src_configure() {
                --enable-rfcomm
                $(use_enable aac)
                $(use_enable debug)
+               $(use_enable ofono)
                $(use_enable static-libs static)
+               $(use_enable test)
                $(multilib_native_use_enable hcitop)
+               $(multilib_native_use_enable ldac)
        )
        ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }

Reply via email to