diff options
author | Jake Waksbaum <jake.waksbaum@gmail.com> | 2017-03-16 12:21:14 -0400 |
---|---|---|
committer | Jake Waksbaum <jake.waksbaum@gmail.com> | 2017-03-16 12:21:14 -0400 |
commit | 12da885e45c6abe3bad371e70dcd1f2760e40735 (patch) | |
tree | 0978ba98a2bfe5f3a39d7020b78a75c65dfb95b1 /pkgs/applications/misc/pdfpc | |
parent | e3abe9c6faf2b65717867a3ec966667d9e83bfa7 (diff) |
pdfpc: Add darwin support
Diffstat (limited to 'pkgs/applications/misc/pdfpc')
-rw-r--r-- | pkgs/applications/misc/pdfpc/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/misc/pdfpc/default.nix b/pkgs/applications/misc/pdfpc/default.nix index 2f023412faf55..49bcd4fe90a7d 100644 --- a/pkgs/applications/misc/pdfpc/default.nix +++ b/pkgs/applications/misc/pdfpc/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig, vala, gtk3, libgee -, poppler, libpthreadstubs, gstreamer, gst-plugins-base, librsvg }: +, poppler, libpthreadstubs, gstreamer, gst-plugins-base, librsvg, pcre }: stdenv.mkDerivation rec { name = "${product}-${version}"; @@ -15,7 +15,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake pkgconfig vala ]; buildInputs = [ gstreamer gst-plugins-base gtk3 libgee poppler - libpthreadstubs makeWrapper librsvg ]; + libpthreadstubs makeWrapper librsvg pcre ]; + + cmakeFlags = stdenv.lib.optionalString stdenv.isDarwin "-DMOVIES=OFF"; postInstall = '' wrapProgram $out/bin/pdfpc \ @@ -27,7 +29,7 @@ stdenv.mkDerivation rec { homepage = https://pdfpc.github.io/; license = licenses.gpl2Plus; maintainers = with maintainers; [ pSub ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } |