zathura: 0.4.1 -> 0.4.3, new features and plugin
Update to 0.4.3, compile it with more features and add CB plugin
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, appstream-glib, desktop-file-utils, python3
|
||||
, gtk, girara, gettext, libxml2
|
||||
, sqlite, glib, texlive, libintl, libseccomp
|
||||
, file, librsvg
|
||||
, gtk-mac-integration, synctexSupport ? true
|
||||
}:
|
||||
|
||||
@@ -11,15 +12,25 @@ with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zathura-core-${version}";
|
||||
version = "0.4.1";
|
||||
version = "0.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pwmt.org/projects/zathura/download/zathura-${version}.tar.xz";
|
||||
sha256 = "1znr3psqda06xklzj8mn452w908llapcg1rj468jwpg0wzv6pxfn";
|
||||
sha256 = "0hgx5x09i6d0z45llzdmh4l348fxh1y102sb1w76f2fp4r21j4ky";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "man" "dev" "out" ];
|
||||
|
||||
# Flag list:
|
||||
# https://github.com/pwmt/zathura/blob/master/meson_options.txt
|
||||
mesonFlags = [
|
||||
"-Dsqlite=enabled"
|
||||
"-Dmagic=enabled"
|
||||
# "-Dseccomp=enabled"
|
||||
"-Dmanpages=enabled"
|
||||
"-Dconvert-icon=enabled"
|
||||
] ++ optional synctexSupport "-Dsynctex=enabled";
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkgconfig appstream-glib desktop-file-utils python3.pkgs.sphinx
|
||||
gettext makeWrapper libxml2
|
||||
@@ -27,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
gtk girara libintl libseccomp
|
||||
sqlite glib
|
||||
sqlite glib file librsvg
|
||||
] ++ optional synctexSupport texlive.bin.core
|
||||
++ optional stdenv.isDarwin [ gtk-mac-integration ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user