Merge pull request #77635 from lheckemann/bump-bluez-alsa

bluez-alsa: 1.4.0 -> 2.0.0
This commit is contained in:
Linus Heckemann 2020-02-09 13:42:58 +01:00 committed by GitHub
commit ccaad56a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, alsaLib, bluez, glib, sbc
, alsaLib, bluez, glib, sbc, dbus
# optional, but useful utils
, readline, libbsd, ncurses
@ -13,32 +13,31 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "bluez-alsa";
version = "1.4.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "Arkq";
repo = "bluez-alsa";
rev = "v${version}";
sha256 = "12kc2896rbir8viywd6bjwcklkwf46j4svh9viryn6kmk084nb49";
sha256 = "08mppgnjf1j2733bk9yf0cny6rfxxwiys0s62lz2zd2lpdl6d9lz";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [
alsaLib bluez glib sbc
alsaLib bluez glib sbc dbus
readline libbsd ncurses
]
++ optional aacSupport fdk_aac;
configureFlags = [
"--with-alsaplugindir=\$out/lib/alsa-lib"
"--with-dbusconfdir=\$out/etc/dbus-1"
"--enable-rfcomm"
"--enable-hcitop"
]
++ optional aacSupport "--enable-aac";
doCheck = false; # fails 1 of 3 tests, needs access to ALSA
meta = {
description = "Bluez 5 Bluetooth Audio ALSA Backend";
longDescription = ''
@ -63,7 +62,7 @@ stdenv.mkDerivation rec {
homepage = src.meta.homepage;
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.oxij ];
maintainers = [ maintainers.oxij maintainers.lheckemann ];
};
}