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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3E9C158086 for ; Mon, 3 Jan 2022 23:36:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24BFAE07C5; Mon, 3 Jan 2022 23:36:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7CB3E07C5 for ; Mon, 3 Jan 2022 23:36:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF1C8342DD3 for ; Mon, 3 Jan 2022 23:36:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12C53233 for ; Mon, 3 Jan 2022 23:36:25 +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: <1641252977.49bf3ef9457c00bf8fad1499bafe23ddcf5c93fe.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-1.4-r2.ebuild X-VCS-Directories: media-sound/pulseaudio-modules-bt/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 49bf3ef9457c00bf8fad1499bafe23ddcf5c93fe X-VCS-Branch: master Date: Mon, 3 Jan 2022 23:36:25 +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: 64b3cef0-58f6-45f2-a6f4-083841c13719 X-Archives-Hash: 31f42ca5c916547d50527f1a70aa77cd commit: 49bf3ef9457c00bf8fad1499bafe23ddcf5c93fe Author: Pacho Ramos gentoo org> AuthorDate: Mon Jan 3 23:36:17 2022 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Mon Jan 3 23:36:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49bf3ef9 media-sound/pulseaudio-modules-bt: Update pulseaudio dependencies Closes: https://bugs.gentoo.org/830351 Bug: https://bugs.gentoo.org/782625 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Pacho Ramos gentoo.org> .../pulseaudio-modules-bt-1.4-r2.ebuild | 82 ++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4-r2.ebuild b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4-r2.ebuild new file mode 100644 index 000000000000..5ce55a2c7a12 --- /dev/null +++ b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4-r2.ebuild @@ -0,0 +1,82 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake readme.gentoo-r1 + +DESCRIPTION="PulseAudio modules for LDAC, aptX, aptX HD, and AAC for Bluetooth" +HOMEPAGE="https://github.com/EHfive/pulseaudio-modules-bt" + +PULSE_VER="15.0" +SRC_URI=" + https://github.com/EHfive/pulseaudio-modules-bt/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PULSE_VER}.tar.xz +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="fdk +ffmpeg +ldac +native-headset ofono-headset" + +DEPEND=" + fdk? ( media-libs/fdk-aac:0= ) + ffmpeg? ( media-video/ffmpeg ) + media-libs/sbc + ldac? ( media-libs/libldac ) + >=net-wireless/bluez-5 + >=sys-apps/dbus-1.0.0 + ofono-headset? ( >=net-misc/ofono-1.13 ) + >=media-sound/pulseaudio-${PULSE_VER}[-bluetooth,daemon(+)] + !media-sound/pulseaudio[bluetooth] +" +# Ordinarily media-libs/libldac should be in DEPEND too, but for now upstream repo is using a ldac submodule instead. +RDEPEND="${DEPEND}" +BDEPEND="" + +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_prepare() { + cmake_src_prepare + + # pulseaudio headers needed to build + rmdir pa/ || die + ln -s ../pulseaudio-${PULSE_VER}/ pa || die +} + +src_configure() { + local mycmakeargs=( + -DCODEC_AAC_FDK=$(usex fdk "ON" "OFF") + -DCODEC_APTX_FF=$(usex ffmpeg "ON" "OFF") + -DCODEC_APTX_HD_FF=$(usex ffmpeg "ON" "OFF") + -DCODEC_LDAC=$(usex ldac "ON" "OFF") + -DNATIVE_HEADSET=$(usex native-headset "ON" "OFF") + -DOFONO_HEADSET=$(usex ofono-headset "ON" "OFF") + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}