Unverified Commit 411e8cc5 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #329434 from emilazy/push-wswqkpvmtwnt

chiaki4deck: 1.7.3 -> 1.7.4
parents e0c444a0 7dd75b83
Loading
Loading
Loading
Loading
+8 −13
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
, pkg-config
, protobuf
, python3
, ffmpeg_6
, ffmpeg
, libopus
, wrapQtAppsHook
, qtbase
@@ -36,25 +36,16 @@

stdenv.mkDerivation rec {
  pname = "chiaki4deck";
  version = "1.7.3";
  version = "1.7.4";

  src = fetchFromGitHub {
    owner = "streetpea";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-NiShxa49ZKmK/3q8+PHwy7edwjaqtkOqfhd2ncWK5UQ=";
    hash = "sha256-9EF+Mm6nZeo3XYH8KO7e22cJ4e9TWUEinhkm+Z213RU=";
    fetchSubmodules = true;
  };

  patches = [
    # Fix build with miniupnpc 2.2.8
    # https://github.com/streetpea/chiaki4deck/pull/355
    (fetchpatch2 {
      url = "https://github.com/streetpea/chiaki4deck/commit/e5806ae39cc6e8632d0f8cccefb5b7ddd458951a.patch?full_index=1";
      hash = "sha256-0oGhymCZkhckJkvP64WNc4aaEzXlXYI84S7Blq7WgVw=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
@@ -67,7 +58,7 @@ stdenv.mkDerivation rec {
  ];

  buildInputs = [
    ffmpeg_6
    ffmpeg
    libopus
    qtbase
    qtmultimedia
@@ -127,6 +118,10 @@ stdenv.mkDerivation rec {
  meta = with lib; {
    homepage = "https://streetpea.github.io/chiaki4deck/";
    description = "Fork of Chiaki (Open Source Playstation Remote Play) with Enhancements for Steam Deck";
    # Includes OpenSSL linking exception that we currently have no way
    # to represent.
    #
    # See also: <https://github.com/spdx/license-list-XML/issues/939>
    license = licenses.agpl3Only;
    maintainers = with maintainers; [ devusb ];
    platforms = platforms.linux;