mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
pulseaudio-modules-bt: init at unstable-2018-09-11
This commit is contained in:
parent
e8e4e9c248
commit
f384fdb240
63
pkgs/applications/audio/pulseaudio-modules-bt/default.nix
Normal file
63
pkgs/applications/audio/pulseaudio-modules-bt/default.nix
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
{ stdenv
|
||||||
|
, runCommand
|
||||||
|
, fetchFromGitHub
|
||||||
|
, libpulseaudio
|
||||||
|
, pulseaudio
|
||||||
|
, pkgconfig
|
||||||
|
, libtool
|
||||||
|
, cmake
|
||||||
|
, bluez
|
||||||
|
, dbus
|
||||||
|
, sbc
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pulseSources = runCommand "pulseaudio-sources" {} ''
|
||||||
|
mkdir $out
|
||||||
|
tar -xf ${pulseaudio.src}
|
||||||
|
mv pulseaudio*/* $out/
|
||||||
|
'';
|
||||||
|
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "pulseaudio-modules-bt-${version}";
|
||||||
|
version = "unstable-2018-09-11";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "EHfive";
|
||||||
|
repo = "pulseaudio-modules-bt";
|
||||||
|
rev = "9c6ad75382f3855916ad2feaa6b40e37356d80cc";
|
||||||
|
sha256 = "1iz4m3y6arsvwcyvqc429w252dl3apnhvl1zhyvfxlbg00d2ii0h";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libpulseaudio
|
||||||
|
pulseaudio
|
||||||
|
libtool
|
||||||
|
bluez
|
||||||
|
dbus
|
||||||
|
sbc
|
||||||
|
];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
"-L${pulseaudio}/lib/pulseaudio"
|
||||||
|
];
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
rm -r pa
|
||||||
|
ln -s ${pulseSources} pa
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/EHfive/pulseaudio-modules-bt;
|
||||||
|
description = "SBC, Sony LDAC codec (A2DP Audio) support for Pulseaudio";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ adisbladis ];
|
||||||
|
};
|
||||||
|
}
|
@ -13706,6 +13706,8 @@ with pkgs;
|
|||||||
|
|
||||||
bluez5 = callPackage ../os-specific/linux/bluez { };
|
bluez5 = callPackage ../os-specific/linux/bluez { };
|
||||||
|
|
||||||
|
pulseaudio-modules-bt = callPackage ../applications/audio/pulseaudio-modules-bt { };
|
||||||
|
|
||||||
bluez = bluez5;
|
bluez = bluez5;
|
||||||
|
|
||||||
inherit (python3Packages) bedup;
|
inherit (python3Packages) bedup;
|
||||||
|
Loading…
Reference in New Issue
Block a user