3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #146643 from mkg20001/sws

This commit is contained in:
Maciej Krüger 2021-11-24 03:29:44 +01:00 committed by GitHub
commit e75245614e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, qt5
, autoPatchelfHook
, unzip
, fetchzip
, portaudio
}:
qt5.mkDerivation {
pname = "soundwire";
version = "3.0";
src = fetchzip {
url = "https://web.archive.org/web/20211120182526/https://georgielabs.net/SoundWire_Server_linux64.tar.gz";
hash = "sha256-TECuQ5WXpeikc9tXEE/wVBnRbdYd0OaIFFhsBRmaukA=";
};
nativeBuildInputs = [
unzip
autoPatchelfHook
];
buildInputs = [
portaudio
];
installPhase = ''
install -D SoundWire-Server.desktop $out/share/applications/SoundWireServer.desktop
install -D SoundWireServer $out/bin/SoundWireServer
install -D sw-icon.xpm $out/share/icons/hicolor/256x256/apps/sw-icon.xpm
'';
meta = with lib; {
description = "Turn your Android device into wireless headphones / wireless speaker";
homepage = "https://georgielabs.net/";
maintainers = with maintainers; [ mkg20001 ];
license = licenses.unfree;
};
}

View file

@ -9604,6 +9604,8 @@ with pkgs;
soundkonverter = libsForQt5.soundkonverter;
soundwireserver = callPackage ../applications/audio/soundwireserver { };
sozu = callPackage ../servers/sozu { };
sparsehash = callPackage ../development/libraries/sparsehash { };