masterpdfeditor: init at 4.2.70
This commit is contained in:
parent
26e4f6f4f8
commit
8e541c08d6
2 changed files with 45 additions and 0 deletions
43
pkgs/applications/misc/masterpdfeditor/default.nix
Normal file
43
pkgs/applications/misc/masterpdfeditor/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ stdenv, fetchurl, glibc, sane-backends, qtbase, qtsvg, libXext, libX11, libXdmcp, libXau, libxcb }:
|
||||
let
|
||||
version = "4.2.70";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "masterpdfeditor-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://get.code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz";
|
||||
sha256 = "0vl5gc1fzsmzl56vd9g3av48557if8a04vhhl5yna8by26h6xz0c";
|
||||
};
|
||||
libPath = stdenv.lib.makeLibraryPath [
|
||||
stdenv.cc.cc
|
||||
glibc
|
||||
sane-backends
|
||||
qtbase
|
||||
qtsvg
|
||||
libXext
|
||||
libX11
|
||||
libXdmcp
|
||||
libXau
|
||||
libxcb
|
||||
];
|
||||
dontStrip = true;
|
||||
installPhase = ''
|
||||
mkdir -pv $out/bin
|
||||
cp -v masterpdfeditor4 $out/bin/masterpdfeditor4
|
||||
cp -v masterpdfeditor4.png $out/bin/masterpdfeditor4.png
|
||||
cp -v -r stamps $out/bin/stamps
|
||||
cp -v -r templates $out/bin/templates
|
||||
cp -v -r lang $out/bin/lang
|
||||
cp -v -r fonts $out/bin/fonts
|
||||
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath $libPath \
|
||||
$out/bin/masterpdfeditor4
|
||||
'';
|
||||
meta = with stdenv.lib; {
|
||||
description = "PDF Editor";
|
||||
homepage = "https://code-industry.net/free-pdf-editor/";
|
||||
license = licenses.unfreeRedistributable;
|
||||
platforms = platforms.linux;
|
||||
maintainers = maintainers.cmcdragonkai;
|
||||
};
|
||||
}
|
|
@ -13669,6 +13669,8 @@ with pkgs;
|
|||
|
||||
adobe-reader = callPackage_i686 ../applications/misc/adobe-reader { };
|
||||
|
||||
masterpdfeditor = libsForQt5.callPackage ../applications/misc/masterpdfeditor { };
|
||||
|
||||
aeolus = callPackage ../applications/audio/aeolus { };
|
||||
|
||||
aewan = callPackage ../applications/editors/aewan { };
|
||||
|
|
Loading…
Reference in a new issue