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 E89C81382C5 for ; Sat, 6 Jun 2020 18:19:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A565E0957; Sat, 6 Jun 2020 18:19:17 +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 03181E0957 for ; Sat, 6 Jun 2020 18:19:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9F07A34F33A for ; Sat, 6 Jun 2020 18:19:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5774A283 for ; Sat, 6 Jun 2020 18:19:14 +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: <1591467549.bc59cd01fbeee390d9e3d8629d32921024f67429.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/Manifest media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild X-VCS-Directories: media-sound/pulseaudio-modules-bt/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: bc59cd01fbeee390d9e3d8629d32921024f67429 X-VCS-Branch: master Date: Sat, 6 Jun 2020 18:19:14 +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: d97c780d-e72d-4389-a146-fa670b36249c X-Archives-Hash: ab976a0370e178e2c90424b650505323 commit: bc59cd01fbeee390d9e3d8629d32921024f67429 Author: Pacho Ramos gentoo org> AuthorDate: Sat Jun 6 18:13:22 2020 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Jun 6 18:19:09 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc59cd01 media-sound/pulseaudio-modules-bt: Bump to 1.4 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Pacho Ramos gentoo.org> media-sound/pulseaudio-modules-bt/Manifest | 1 + .../pulseaudio-modules-bt-1.4.ebuild | 81 ++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/media-sound/pulseaudio-modules-bt/Manifest b/media-sound/pulseaudio-modules-bt/Manifest index f2495fdf809..189ea5903d3 100644 --- a/media-sound/pulseaudio-modules-bt/Manifest +++ b/media-sound/pulseaudio-modules-bt/Manifest @@ -1,2 +1,3 @@ DIST pulseaudio-13.0.tar.xz 1901768 BLAKE2B 651a80f54525f196bcb036d893fedd4d9f34e10459918281397a45f498c31bff0d0c836f4e64aab5ac2612ffd5a0cab1a41ea710bbee5fd34dfc9ea1236deea9 SHA512 d445b8ccd43029a0ca0e456fc9291a79d3434d6496ead7eb329ab348d5249235e8bde6cf2be68765d8f761452dbe1486fb10c739e40b1e67ed75787bbd24ac0c DIST pulseaudio-modules-bt-1.3.tar.gz 85802 BLAKE2B ea7e5141d07c1d3b19372cbae2aa9a5b6049509a12bb2470f47f231f85cc66ef4a74e70bdc91d3554d57e9c26b64129f87b2a3a55e16fbf0c6fe1b5ce7721074 SHA512 094c4205c1c71326efd42053a1bc9f131633c9e28fde177f1c08a290395864b76b8f60f79ffec2fbb8445186aa5c85aafabc47908fd302beb5b278ebcac98558 +DIST pulseaudio-modules-bt-1.4.tar.gz 87558 BLAKE2B 98b21d8fced5b88d59e45ca4fa2505d3606616a8a09dd95eb91e30b0d31c8a0ec7e52e4c2fd1b601130f69a997871064849fa0c8847ec0686fb42a2ccd7ac43b SHA512 390b6ad0931b464a546c6624bec38cc5b6da7084e4defe2045f4164b0c910a9dd6d4327466eb0e53fcfbc78c995cf2e3634a75b67ee2a14f38ed18e31b5d2bce diff --git a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild new file mode 100644 index 00000000000..56a66ff8e9e --- /dev/null +++ b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild @@ -0,0 +1,81 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-utils 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="13.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] +" +# 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_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-utils_src_configure +} + +src_prepare() { + cmake-utils_src_prepare + + # pulseaudio headers needed to build + rmdir pa/ || die + ln -s ../pulseaudio-${PULSE_VER}/ pa || die +} + +src_install() { + cmake-utils_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}