mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 01:57:37 +03:00
sony-headphones-client: init at 1.2
This commit is contained in:
parent
0d1c42d7b2
commit
144a2aefb9
44
pkgs/applications/audio/sony-headphones-client/default.nix
Normal file
44
pkgs/applications/audio/sony-headphones-client/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, bluez, dbus, glew, glfw, imgui, makeDesktopItem, copyDesktopItems }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "SonyHeadphonesClient";
|
||||||
|
version = "1.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Plutoberth";
|
||||||
|
repo = "SonyHeadphonesClient";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-oejXrs9X+R6Jydro0XIw2XifzFA7asDhpobtaE3//Hc=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config copyDesktopItems ];
|
||||||
|
buildInputs = [ bluez dbus glew glfw imgui ];
|
||||||
|
|
||||||
|
sourceRoot = "./source/Client";
|
||||||
|
|
||||||
|
cmakeFlags = [ "-Wno-dev" ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
install -Dm755 -t $out/bin SonyHeadphonesClient
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
desktopItems = [ (makeDesktopItem {
|
||||||
|
name = "SonyHeadphonesClient";
|
||||||
|
exec = "SonyHeadphonesClient";
|
||||||
|
icon = "SonyHeadphonesClient";
|
||||||
|
desktopName = "Sony Headphones Client";
|
||||||
|
comment = "A client recreating the functionality of the Sony Headphones app";
|
||||||
|
categories = "Audio;Mixer;";
|
||||||
|
}) ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A client recreating the functionality of the Sony Headphones app";
|
||||||
|
homepage = "https://github.com/Plutoberth/SonyHeadphonesClient";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ stunkymonkey ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -9776,6 +9776,8 @@ with pkgs;
|
|||||||
|
|
||||||
sonata = callPackage ../applications/audio/sonata { };
|
sonata = callPackage ../applications/audio/sonata { };
|
||||||
|
|
||||||
|
sony-headphones-client = callPackage ../applications/audio/sony-headphones-client { };
|
||||||
|
|
||||||
soundkonverter = libsForQt5.soundkonverter;
|
soundkonverter = libsForQt5.soundkonverter;
|
||||||
|
|
||||||
soundwireserver = callPackage ../applications/audio/soundwireserver { };
|
soundwireserver = callPackage ../applications/audio/soundwireserver { };
|
||||||
|
Loading…
Reference in New Issue
Block a user