From 07fea7a07c766c5ad034200209cd00f48f562450 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 24 May 2021 19:39:52 +0200 Subject: media-sound/bluez-alsa: Added aptx support Bug: https://bugs.gentoo.org/762268 Signed-off-by: Lars Wendler --- media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 7 +++++-- media-sound/bluez-alsa/metadata.xml | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'media-sound/bluez-alsa') diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild index c8620648df98..86a703524a0e 100644 --- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild +++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ fi LICENSE="MIT" SLOT="0" -IUSE="aac debug hcitop lame ldac man mpg123 ofono static-libs test unwind upower" +IUSE="aac aptx debug hcitop lame ldac man mpg123 ofono static-libs test unwind upower" RESTRICT="!test? ( test )" # bluez-alsa does not directly link to upower but @@ -30,6 +30,7 @@ RDEPEND=" sys-apps/dbus[${MULTILIB_USEDEP}] sys-libs/readline:0= aac? ( >=media-libs/fdk-aac-0.1.1:=[${MULTILIB_USEDEP}] ) + aptx? ( media-libs/libopenaptx ) lame? ( media-sound/lame[${MULTILIB_USEDEP}] ) mpg123? ( media-sound/mpg123[${MULTILIB_USEDEP}] ) hcitop? ( @@ -63,10 +64,12 @@ multilib_src_configure() { $(use_enable mpg123) $(use_enable static-libs static) $(use_enable test) + $(multilib_native_use_enable aptx) $(multilib_native_use_enable hcitop) $(multilib_native_use_enable ldac) $(multilib_native_use_enable ofono) $(multilib_native_use_enable upower) + $(multilib_native_use_with aptx libopenaptx) $(use_with unwind libunwind) ) ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" diff --git a/media-sound/bluez-alsa/metadata.xml b/media-sound/bluez-alsa/metadata.xml index 55feec0ee5bc..e23255b68bfd 100644 --- a/media-sound/bluez-alsa/metadata.xml +++ b/media-sound/bluez-alsa/metadata.xml @@ -9,6 +9,7 @@ Arkq/bluez-alsa + aptX (HD) over Bluetooth (many Android compatible headphones) Enable top-like monitoring tool for HCI Enable support for AOSP media-libs/libldac dispatcher Enable support for MPEG audio playback via media-sound/mpg123 -- cgit v1.2.3-65-gdbad