diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2022-06-07 13:07:59 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2022-06-08 09:27:41 +0200 |
commit | 08d1835e313475fc70902f197d639828b4238b56 (patch) | |
tree | 20af79224e59006caf96fbde6d970155a23ee6d0 /media-sound/bluez-alsa | |
parent | media-sound/bluez-alsa: Bump to version 4.0.0 (diff) | |
download | gentoo-08d1835e313475fc70902f197d639828b4238b56.tar.gz gentoo-08d1835e313475fc70902f197d639828b4238b56.tar.bz2 gentoo-08d1835e313475fc70902f197d639828b4238b56.zip |
media-sound/bluez-alsa: Synced live ebuild
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/bluez-alsa')
-rw-r--r-- | media-sound/bluez-alsa/bluez-alsa-9999.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild index 80ea97b69dbe..1343401528ab 100644 --- a/media-sound/bluez-alsa/bluez-alsa-9999.ebuild +++ b/media-sound/bluez-alsa/bluez-alsa-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools bash-completion-r1 multilib-minimal systemd DESCRIPTION="Bluetooth Audio ALSA Backend" @@ -17,13 +17,13 @@ fi LICENSE="MIT" SLOT="0" -IUSE="aac aptx debug hcitop lame ldac man mpg123 ofono static-libs test unwind upower" +IUSE="aac aptx debug hcitop lame ldac man mpg123 ofono static-libs systemd test unwind upower" RESTRICT="!test? ( test )" # bluez-alsa does not directly link to upower but # is using the upower interface via dbus calls. RDEPEND=" - >=dev-libs/glib-2.26[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.32[${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}] @@ -39,11 +39,15 @@ RDEPEND=" ) ldac? ( >=media-libs/libldac-2.0.0 ) ofono? ( net-misc/ofono ) + systemd? ( sys-apps/systemd ) unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] ) upower? ( sys-power/upower ) " DEPEND="${RDEPEND} - test? ( dev-libs/check )" + test? ( + dev-libs/check + media-libs/libsndfile + )" BDEPEND=" virtual/pkgconfig man? ( app-text/pandoc ) @@ -57,6 +61,7 @@ src_prepare() { multilib_src_configure() { local myeconfargs=( --enable-cli + --enable-faststream --enable-rfcomm --with-bash-completion="$(get_bashcompdir)" $(use_enable aac) @@ -65,7 +70,9 @@ multilib_src_configure() { $(use_enable man manpages) $(use_enable mpg123) $(use_enable static-libs static) + $(use_enable systemd) $(use_enable test) + $(use_with systemd systemdsystemunitdir $(systemd_get_systemunitdir)) $(multilib_native_use_enable aptx) $(multilib_native_use_enable hcitop) $(multilib_native_use_enable ldac) @@ -83,7 +90,7 @@ multilib_src_install_all() { newinitd "${FILESDIR}"/bluealsa-init.d bluealsa newconfd "${FILESDIR}"/bluealsa-conf.d-2 bluealsa - systemd_dounit "${FILESDIR}"/bluealsa.service + #systemd_dounit "${FILESDIR}"/bluealsa.service # Add config file to alsa datadir as well to preserve changes in /etc insinto "/usr/share/alsa/alsa.conf.d/" |