djview: update 4.8 -> 4.10.3
Also kill tabs, remove unneeded (and failing) patch. No qt5 yet, unfortunately.
This commit is contained in:
@@ -1,27 +1,29 @@
|
||||
{stdenv, fetchurl, djvulibre, qt4, pkgconfig }:
|
||||
{ stdenv, fetchurl, pkgconfig, djvulibre, qt4, xorg, libtiff }:
|
||||
|
||||
let
|
||||
qt = qt4;
|
||||
# TODO: qt = qt5.base; # should work but there's a mysterious "-silent" error
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "djview-4.8";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
||||
sha256 = "17y8jvbvj98h25qwsr93v24x75famv8d0jbb0h46xjj555y6wx4c";
|
||||
};
|
||||
|
||||
buildInputs = [djvulibre qt4];
|
||||
name = "djview-4.10.3";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
||||
sha256 = "09dbws0k8giizc0xqpad8plbyaply8x1pjc2k3207v2svk6hxf2h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
patches = [ ./djview4-qt-4.8.patch ];
|
||||
buildInputs = [ djvulibre qt xorg.libXt libtiff ];
|
||||
|
||||
passthru = {
|
||||
mozillaPlugin = "/lib/netscape/plugins";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://djvu.sourceforge.net/djview4.html;
|
||||
description = "A new portable DjVu viewer and browser plugin";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
inherit (qt4.meta) platforms;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://djvu.sourceforge.net/djview4.html;
|
||||
description = "A portable DjVu viewer and browser plugin";
|
||||
license = licenses.gpl2;
|
||||
inherit (qt.meta) platforms;
|
||||
maintainers = [ maintainers.urkud ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user