xournal: Allow to build it on darwin with X11 backend
This commit is contained in:
parent
501e485e75
commit
346c1db2ac
@ -13,8 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ghostscript atk gtk2 glib fontconfig freetype
|
ghostscript atk gtk2 glib fontconfig freetype
|
||||||
libgnomecanvas libgnomeprint libgnomeprintui
|
libgnomecanvas
|
||||||
pango libX11 xproto zlib poppler
|
pango libX11 xproto zlib poppler
|
||||||
|
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [
|
||||||
|
libgnomeprint libgnomeprintui
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
|
||||||
@ -47,11 +49,11 @@ stdenv.mkDerivation rec {
|
|||||||
cp $out/share/xournal/pixmaps/xournal.png $out/share/icons
|
cp $out/share/xournal/pixmaps/xournal.png $out/share/icons
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://xournal.sourceforge.net/;
|
homepage = http://xournal.sourceforge.net/;
|
||||||
description = "Note-taking application (supposes stylus)";
|
description = "Note-taking application (supposes stylus)";
|
||||||
maintainers = [ stdenv.lib.maintainers.guibert ];
|
maintainers = [ maintainers.guibert ];
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user