2021-02-05 17:12:51 +00:00
|
|
|
{ fetchurl, lib, stdenv, pkg-config, gtk2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "gtkimageview";
|
|
|
|
version = "1.6.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "https://sources.archlinux.org/other/packages/${pname}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1wj63af9j9p5i067lpwi9lxvwalamakrmklvl983kvi7s4w1ss2c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gtk2 ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed '/DEPRECATED_FLAGS/d' -i configure
|
|
|
|
sed 's/-Wall -Werror//' -i configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/Archive/gtkimageview";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
description = "Image viewer widget for GTK";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' GtkImageView is a simple image viewer widget for GTK. Similar to
|
|
|
|
the image viewer panes in gThumb or Eye of Gnome. It makes writing
|
|
|
|
image viewing and editing applications easy. Among its features
|
|
|
|
are: mouse and keyboard zooming; scrolling and dragging; adjustable
|
|
|
|
interpolation; GIF animation support.
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
maintainers = [ ];
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|