Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592310 - media-sound/bluez-alsa-1.1.0: Bluetooth Audio ALSA Backend
Summary: media-sound/bluez-alsa-1.1.0: Bluetooth Audio ALSA Backend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/Arkq/bluez-alsa
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2016-08-28 12:38 UTC by Arkadiusz Bokowy
Modified: 2016-10-18 08:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Initial ebuild (bluez-alsa-1.0.0.ebuild,587 bytes, text/plain)
2016-08-28 12:38 UTC, Arkadiusz Bokowy
Details
files/bluealsa-init.d (bluealsa-init.d,521 bytes, text/plain)
2016-08-28 12:39 UTC, Arkadiusz Bokowy
Details
bluez-alsa-1.0.0.ebuild (bluez-alsa-1.0.0.ebuild,719 bytes, text/plain)
2016-08-31 12:48 UTC, Arkadiusz Bokowy
Details
bluez-alsa-1.1.0.ebuild (bluez-alsa-1.1.0.ebuild,719 bytes, text/plain)
2016-09-24 10:38 UTC, Arkadiusz Bokowy
Details
bluez-alsa-9999.ebuild (bluez-alsa-9999.ebuild,1.01 KB, text/plain)
2016-10-16 22:27 UTC, Sander Sweers
Details
new init file (bluealsa-init.d,631 bytes, text/plain)
2016-10-16 22:28 UTC, Sander Sweers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arkadiusz Bokowy 2016-08-28 12:38:56 UTC
Created attachment 444320 [details]
Initial ebuild

Bluetooth Audio ALSA Backend

Since Bluez-5, it is not possible to connect Bluetooth headset without PulseAudio. This program brings back this functionality. Currently it is in a very early stage, however the primary goal is fulfilled - it is possible to stream audio to the Bluetooth headset using ALSA PCM device.

Please, review the ebuld file, because it is my fist attempt to create public ebuld.
Comment 1 Arkadiusz Bokowy 2016-08-28 12:39:53 UTC
Created attachment 444324 [details]
files/bluealsa-init.d
Comment 2 Alex Xu (Hello71) 2016-08-31 02:13:50 UTC
1. missing header
2. something not right about variable order, check skel.ebuild
3. src_configure not necessary
Comment 3 Arkadiusz Bokowy 2016-08-31 12:48:51 UTC
Created attachment 444628 [details]
bluez-alsa-1.0.0.ebuild

Updated ebuild file.
Comment 4 Arkadiusz Bokowy 2016-09-24 10:38:27 UTC
Created attachment 447746 [details]
bluez-alsa-1.1.0.ebuild

Version bump.
Comment 5 Sander Sweers 2016-10-16 22:27:17 UTC
Created attachment 450498 [details]
bluez-alsa-9999.ebuild

 * Add bluealsa user and add it to plugdev
 * Adds a new use flags, not aac is git master only
 * Requires a new init file (follows)

bluealsa does not require to be run as root. It only needs access to the restricted bluez dbus methods and the existence of a directory in /var/run/.
Comment 6 Sander Sweers 2016-10-16 22:28:22 UTC
Created attachment 450500 [details]
new init file

This is a modified init file that runs bluealsa as the bluealsa user and makes sure to create the directory in /var/run
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-10-18 08:10:24 UTC
commit 948ee771c65417ab41ec2d41fbe32a12a7673dd8
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Oct 18 10:09:18 2016

    media-sound/bluez-alsa: Initial commit (bug #592310).

    Kudos to Arkadiusz Bokowy (bug, ebuild, init script) and to
    Sander Sweers (ebuild, init script).

    Package-Manager: portage-2.3.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>