mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
pstoedit: fix pkgconfig file
This commit is contained in:
parent
58a231d944
commit
3ab280808c
@ -13,11 +13,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]
|
||||
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
libiconv ApplicationServices
|
||||
]);
|
||||
|
||||
# '@LIBPNG_LDFLAGS@' is no longer substituted by autoconf (the code is commented out)
|
||||
# so we need to remove it from the pkg-config file as well
|
||||
preConfigure = ''
|
||||
substituteInPlace config/pstoedit.pc.in --replace '@LIBPNG_LDFLAGS@' ""
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Translates PostScript and PDF graphics into other vector formats";
|
||||
homepage = https://sourceforge.net/projects/pstoedit/;
|
||||
|
Loading…
Reference in New Issue
Block a user