chiaki: cleanup package
This commit is contained in:
parent
37c9f30f66
commit
fe1151218c
@ -1,9 +1,21 @@
|
|||||||
{ lib, mkDerivation, fetchgit
|
{ stdenv
|
||||||
, cmake, ffmpeg, libevdev, libopus, udev, qtbase, qtmacextras, qtmultimedia
|
, fetchgit
|
||||||
, qtsvg , pkg-config, protobuf , python3Packages, SDL2, stdenv }:
|
, cmake
|
||||||
|
, pkg-config
|
||||||
|
, protobuf
|
||||||
|
, python3Packages
|
||||||
|
, ffmpeg
|
||||||
|
, libopus
|
||||||
|
, qtbase
|
||||||
|
, qtmultimedia
|
||||||
|
, qtsvg
|
||||||
|
, SDL2
|
||||||
|
, libevdev
|
||||||
|
, udev
|
||||||
|
, qtmacextras
|
||||||
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
stdenv.mkDerivation rec {
|
||||||
mkDerivation rec {
|
|
||||||
pname = "chiaki";
|
pname = "chiaki";
|
||||||
version = "2.0.1";
|
version = "2.0.1";
|
||||||
|
|
||||||
@ -15,18 +27,35 @@ mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake pkg-config protobuf python3Packages.python python3Packages.protobuf
|
cmake
|
||||||
|
pkg-config
|
||||||
|
protobuf
|
||||||
|
python3Packages.protobuf
|
||||||
|
python3Packages.python
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ffmpeg
|
||||||
|
libopus
|
||||||
|
qtbase
|
||||||
|
qtmultimedia
|
||||||
|
qtsvg
|
||||||
|
protobuf
|
||||||
|
SDL2
|
||||||
|
] ++ stdenv.lib.optionals stdenv.isLinux [
|
||||||
|
libevdev
|
||||||
|
udev
|
||||||
|
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
|
qtmacextras
|
||||||
];
|
];
|
||||||
buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ]
|
|
||||||
++ optionals stdenv.hostPlatform.isLinux [ libevdev udev]
|
|
||||||
++ optionals (stdenv.isDarwin) [ qtmacextras ];
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
installCheckPhase = "$out/bin/chiaki --help";
|
installCheckPhase = "$out/bin/chiaki --help";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/thestr4ng3r/chiaki";
|
homepage = "https://git.sr.ht/~thestr4ng3r/chiaki";
|
||||||
description = "Free and Open Source PS4 Remote Play Client";
|
description = "Free and Open Source PlayStation Remote Play Client";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ delroth ];
|
maintainers = with maintainers; [ delroth ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
Loading…
Reference in New Issue
Block a user