Unverified Commit a0b0d454 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

vobsub2srt: fix build with cmake4

parent fac5e90a
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";