From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7154D138334 for ; Sun, 30 Jun 2019 11:23:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C73FE0883; Sun, 30 Jun 2019 11:23:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33334E0883 for ; Sun, 30 Jun 2019 11:23:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1AF5B346D0F for ; Sun, 30 Jun 2019 11:23:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F3892A5 for ; Sun, 30 Jun 2019 11:23:01 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1561893765.63c71bc43e8f10e5c3cfca31cf64716b00c34da6.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-modules-bt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild X-VCS-Directories: media-sound/pulseaudio-modules-bt/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 63c71bc43e8f10e5c3cfca31cf64716b00c34da6 X-VCS-Branch: master Date: Sun, 30 Jun 2019 11:23:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ea1018f4-8067-4cb4-911e-35b14c7e3d74 X-Archives-Hash: b3c45cfddf565224c561e5771f975141 commit: 63c71bc43e8f10e5c3cfca31cf64716b00c34da6 Author: Pacho Ramos gentoo org> AuthorDate: Sun Jun 30 10:35:12 2019 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Jun 30 11:22:45 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c71bc4 media-sound/pulseaudio-modules-bt: Add info about extra configuration needed User will need to ensure that default.pa still loads needed modules, this is needed because as we need to build pulseaudio with USE -bluetooth to not collide, the newly generated default.pa file with remove that needed lines. See https://github.com/EHfive/pulseaudio-modules-bt/issues/33 Signed-off-by: Pacho Ramos gentoo.org> Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Pacho Ramos gentoo.org> .../pulseaudio-modules-bt-9999.ebuild | 30 +++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild index 23b537c2088..3e6f061a1f3 100644 --- a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild +++ b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit git-r3 cmake-utils +inherit git-r3 cmake-utils readme.gentoo-r1 DESCRIPTION="PulseAudio modules for LDAC, aptX, aptX HD, and AAC for Bluetooth (alongside SBC and native+ofono headset)" HOMEPAGE="https://github.com/EHfive/pulseaudio-modules-bt" @@ -32,3 +32,31 @@ BDEPEND="" CMAKE_MAKEFILE_GENERATOR="emake" mycmakeargs=( -DFORCE_NOT_BUILD_LDAC=ON ) + +DISABLE_AUTOFORMATTING="no" +DOC_CONTENTS=" +After getting media-sound/pulseaudio merged without its bluetooth +support (to not collide with this) you may have removed the loading +of bluetooth modules in default.pa config file, leading to failure +to use your bluetooth device (see +https://github.com/EHfive/pulseaudio-modules-bt/issues/33). +Please ensure you have this lines present in your /etc/pulse/default.pa +file: + +.ifexists module-bluetooth-policy.so +load-module module-bluetooth-policy +.endif + +.ifexists module-bluetooth-discover.so +load-module module-bluetooth-discover +.endif +" + +src_install() { + cmake-utils_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}