Merge pull request #304885 from wentasah/pdfpc-markdown3

pdfpc: allow compiling with markdown3
This commit is contained in:
Pascal Wittmann 2024-04-18 14:59:45 +02:00 committed by GitHub
commit 2bc16f69d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -41,9 +41,15 @@ stdenv.mkDerivation rec {
url = "https://github.com/pdfpc/pdfpc/commit/d38edfac63bec54173b4b31eae5c7fb46cd8f714.diff";
hash = "sha256-KC2oyzcwU2fUmxaed8qAsKcePwR5KcXgpVdstJg8KmU=";
})
# Allow compiling with markdown3
# https://github.com/pdfpc/pdfpc/pull/716
(fetchpatch {
url = "https://github.com/pdfpc/pdfpc/commit/08e66b9d432e9598c1ee9a78b2355728036ae1a1.patch";
hash = "sha256-SKH2GQ5/6Is36xOFmSs89Yw/w7Fnma3FrNqwjOlUQKM=";
})
];
cmakeFlags = lib.optional stdenv.isDarwin "-DMOVIES=OFF";
cmakeFlags = lib.optional stdenv.isDarwin (lib.cmakeBool "MOVIES" false);
meta = with lib; {
description = "A presenter console with multi-monitor support for PDF files";