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

vobsub2srt: fix build with cmake4 (#453823)

parents 094bbbb0 a0b0d454
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -28,6 +28,11 @@ stdenv.mkDerivation {
  buildInputs = [ libtiff ];
  propagatedBuildInputs = [ tesseract3 ];

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
  '';

  meta = {
    homepage = "https://github.com/ruediger/VobSub2SRT";
    description = "Converts VobSub subtitles into SRT subtitles";