Unverified Commit 93a55c87 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

chiaki: 2.2.0 -> 2.2.0-unstable-2026-01-04 (#487683)

parents 9c09b2e1 bae6dd10
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  fetchgit,
  cmake,
  pkg-config,
  ffmpeg_7,
  ffmpeg,
  libopus,
  SDL2,
  libevdev,
@@ -15,13 +15,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "chiaki";
  version = "2.2.0";
  version = "2.2.0-unstable-2026-01-04";

  src = fetchgit {
    url = "https://git.sr.ht/~thestr4ng3r/chiaki";
    tag = "v${finalAttrs.version}";
    rev = "ab55cf4c95f7723faae08a546fbe14e0f6bddf45";
    fetchSubmodules = true;
    hash = "sha256-mLx2ygMlIuDJt9iT4nIj/dcLGjMvvmneKd49L7C3BQk=";
    hash = "sha256-GYhbq3QCyykMu5K1ITJ+XqNU593Gn3eBTM9coKmh/Vk=";
  };

  nativeBuildInputs = [
@@ -30,14 +30,8 @@ stdenv.mkDerivation (finalAttrs: {
    libsForQt5.wrapQtAppsHook
  ];

  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail \
    'cmake_minimum_required(VERSION 3.2)' \
    'cmake_minimum_required(VERSION 3.5)'
  '';

  buildInputs = [
    ffmpeg_7 # needs avcodec_close which was removed in ffmpeg 8
    ffmpeg
    libopus
    libsForQt5.qtbase
    libsForQt5.qtmultimedia