From 12da885e45c6abe3bad371e70dcd1f2760e40735 Mon Sep 17 00:00:00 2001 From: Jake Waksbaum Date: Thu, 16 Mar 2017 12:21:14 -0400 Subject: [PATCH 1/2] pdfpc: Add darwin support --- pkgs/applications/misc/pdfpc/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/pdfpc/default.nix b/pkgs/applications/misc/pdfpc/default.nix index 2f023412faf5..49bcd4fe90a7 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; }; } From e022cc6541c6b6b9321e8eed001500671c495d9c Mon Sep 17 00:00:00 2001 From: Jake Waksbaum Date: Thu, 16 Mar 2017 18:13:42 -0400 Subject: [PATCH 2/2] gnome3.libgee: Add for Darwin --- pkgs/desktops/gnome-3/3.22/core/libgee/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome-3/3.22/core/libgee/default.nix b/pkgs/desktops/gnome-3/3.22/core/libgee/default.nix index 7b49af3c50ff..d4697c99a938 100644 --- a/pkgs/desktops/gnome-3/3.22/core/libgee/default.nix +++ b/pkgs/desktops/gnome-3/3.22/core/libgee/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Utility library providing GObject-based interfaces and classes for commonly used data structures"; license = licenses.lgpl21Plus; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = gnome3.maintainers; }; }