parent
86adc4bf3e
commit
9fedd72fb8
@ -52,16 +52,27 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-x"
|
"--with-x"
|
||||||
"--with-tiff"
|
"--with-tiff"
|
||||||
"--disable-nsdejavu" # 2023-11-14: modern browsers have dropped support for NPAPI
|
"--disable-nsdejavu" # 2023-11-14: modern browsers have dropped support for NPAPI
|
||||||
] ++ lib.optional stdenv.hostPlatform.isDarwin "--enable-mac";
|
];
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
let
|
||||||
|
Applications = "$out/Applications";
|
||||||
|
in
|
||||||
|
lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
|
mkdir -p ${Applications}
|
||||||
|
cp -a src/djview.app -t ${Applications}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.hostPlatform.isDarwin;
|
description = "Portable DjVu viewer (Qt5)";
|
||||||
description = "Portable DjVu viewer (Qt5) and browser (nsdejavu) plugin";
|
|
||||||
mainProgram = "djview";
|
mainProgram = "djview";
|
||||||
homepage = "https://djvu.sourceforge.net/djview4.html";
|
homepage = "https://djvu.sourceforge.net/djview4.html";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ Anton-Latukha ];
|
maintainers = with maintainers; [
|
||||||
|
Anton-Latukha
|
||||||
|
bryango
|
||||||
|
];
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
The portable DjVu viewer (Qt5) and browser (nsdejavu) plugin.
|
The portable DjVu viewer (Qt5) and browser (nsdejavu) plugin.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user