2012-02-10 10:13:44 +00:00
|
|
|
{stdenv, fetchurl, djvulibre, qt4, pkgconfig }:
|
2007-11-11 16:52:29 +00:00
|
|
|
|
2012-02-10 10:13:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "djview-4.8";
|
2007-11-11 16:52:29 +00:00
|
|
|
src = fetchurl {
|
2012-02-10 10:13:44 +00:00
|
|
|
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
|
|
|
sha256 = "17y8jvbvj98h25qwsr93v24x75famv8d0jbb0h46xjj555y6wx4c";
|
2007-11-11 16:52:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [djvulibre qt4];
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-02-10 10:13:44 +00:00
|
|
|
|
|
|
|
patches = [ ./djview4-qt-4.8.patch ];
|
|
|
|
|
2011-03-10 21:39:09 +00:00
|
|
|
passthru = {
|
|
|
|
mozillaPlugin = "/lib/netscape/plugins";
|
|
|
|
};
|
|
|
|
|
2007-11-11 16:52:29 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://djvu.sourceforge.net/djview4.html;
|
|
|
|
description = "A new portable DjVu viewer and browser plugin";
|
|
|
|
license = "GPL2";
|
2010-07-05 12:09:38 +01:00
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2007-11-11 16:52:29 +00:00
|
|
|
};
|
|
|
|
}
|