forked from mirrors/nixpkgs
Merge pull request #23954 from jbaum98/pdfpc-darwin
pdfpc, libgee_0_8: Add darwin support
This commit is contained in:
commit
6f226a8725
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig, vala, gtk3, libgee
|
{ 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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "${product}-${version}";
|
name = "${product}-${version}";
|
||||||
|
@ -15,7 +15,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig vala ];
|
nativeBuildInputs = [ cmake pkgconfig vala ];
|
||||||
buildInputs = [ gstreamer gst-plugins-base gtk3 libgee poppler
|
buildInputs = [ gstreamer gst-plugins-base gtk3 libgee poppler
|
||||||
libpthreadstubs makeWrapper librsvg ];
|
libpthreadstubs makeWrapper librsvg pcre ];
|
||||||
|
|
||||||
|
cmakeFlags = stdenv.lib.optionalString stdenv.isDarwin "-DMOVIES=OFF";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/pdfpc \
|
wrapProgram $out/bin/pdfpc \
|
||||||
|
@ -27,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = https://pdfpc.github.io/;
|
homepage = https://pdfpc.github.io/;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ pSub ];
|
maintainers = with maintainers; [ pSub ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
|
description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue