mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 10:04:08 +00:00
imv: 4.1.0 -> 4.2.0
* switch build system to wayland * enable all backends by adding the following to buildInputs as meson autodetects which backends are available. * libtiff * libheif * libpng Open questions: * imv prints a warning from the tiff backend everytime a non tiff file is opened: Is this normal? Seems harmless enough though. * Should we make backends configurable / optional? I readded some backends which apparently were removed, but still given as an argument to the derivation. Resolves #108185.
This commit is contained in:
parent
3d2ffa3dbf
commit
a1e9a94785
@ -18,20 +18,30 @@
|
||||
, pkgconfig
|
||||
, stdenv
|
||||
, wayland
|
||||
, meson
|
||||
, ninja
|
||||
, inih
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "imv";
|
||||
version = "4.1.0";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eXeC64";
|
||||
repo = "imv";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gk8g178i961nn3bls75a8qpv6wvfvav6hd9lxca1skaikd33zdx";
|
||||
sha256 = "07pcpppmfvvj0czfvp1cyq03ha0jdj4whl13lzvw37q3vpxs5qqh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ asciidoc cmocka docbook_xsl libxslt ];
|
||||
nativeBuildInputs = [
|
||||
asciidoc
|
||||
cmocka
|
||||
docbook_xsl
|
||||
libxslt
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
freeimage
|
||||
@ -44,12 +54,12 @@ stdenv.mkDerivation rec {
|
||||
pango
|
||||
pkgconfig
|
||||
wayland
|
||||
inih
|
||||
libtiff
|
||||
libheif
|
||||
libpng
|
||||
];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" "CONFIGPREFIX=$(out)/etc" ];
|
||||
|
||||
makeFlags = [ "BACKEND_LIBJPEG=yes" "BACKEND_LIBNSGIF=yes" ];
|
||||
|
||||
postFixup = ''
|
||||
# The `bin/imv` script assumes imv-wayland or imv-x11 in PATH,
|
||||
# so we have to fix those to the binaries we installed into the /nix/store
|
||||
|
Loading…
Reference in New Issue
Block a user