Merge pull request #23954 from jbaum98/pdfpc-darwin

pdfpc, libgee_0_8: Add darwin support
This commit is contained in:
Daiderd Jordan 2017-03-17 07:59:41 +01:00 committed by GitHub
commit 6f226a8725
2 changed files with 6 additions and 4 deletions

View file

@ -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;
};
}

View file

@ -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;
};
}