![Mateusz Kowalczyk](/assets/img/avatar_default.png)
The fix involves using imlib2 built with giflib instead of a libungif. Initially I split imlib2 into two but other distros seem to build imlib2 with giflib already and everything still builds with giflib version so I migrated imlib2 to giflib all together. Closes #4622
26 lines
753 B
Nix
26 lines
753 B
Nix
{ stdenv, fetchgit, libX11, imlib2, giflib, libexif }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3-git";
|
|
name = "sxiv-${version}";
|
|
|
|
src = fetchgit {
|
|
url = "git@github.com:muennich/sxiv.git";
|
|
rev = "f55d9f4283f7133ab5a137fc04ee19d1df62fafb";
|
|
sha256 = "85f734f40fdc837514b72694de12bac92fe130286fa6f1dc374e94d575ca8280";
|
|
};
|
|
|
|
postUnpack = ''
|
|
substituteInPlace $sourceRoot/Makefile \
|
|
--replace /usr/local $out
|
|
'';
|
|
|
|
buildInputs = [ libX11 imlib2 giflib libexif ];
|
|
meta = {
|
|
description = "Simple X Image Viewer";
|
|
homepage = "https://github.com/muennich/sxiv";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
|
};
|
|
}
|