2016-09-12 00:24:51 +03:00
|
|
|
{ fetchurl, stdenv, pkgconfig, gtk2 }:
|
2009-10-19 16:50:41 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gtkimageview-1.6.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://trac.bjourne.webfactional.com/chrome/common/releases/${name}.tar.gz";
|
|
|
|
sha256 = "1if3yh5z6nkv5wnkk0qyy9pkk03vn5rqbfk23q87kj39pqscgr37";
|
|
|
|
};
|
|
|
|
|
2017-09-06 00:26:13 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 ];
|
2009-10-19 16:50:41 +04:00
|
|
|
|
2015-04-17 17:03:07 +03:00
|
|
|
preConfigure = ''
|
|
|
|
sed '/DEPRECATED_FLAGS/d' -i configure
|
|
|
|
sed 's/-Wall -Werror//' -i configure
|
|
|
|
'';
|
|
|
|
|
2009-10-19 16:50:41 +04:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2018-09-02 02:20:51 +03:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GTK%2B/GtkImageView";
|
2009-10-19 16:50:41 +04:00
|
|
|
|
2019-09-04 01:49:40 +03:00
|
|
|
description = "Image viewer widget for GTK";
|
2009-10-19 16:50:41 +04:00
|
|
|
|
|
|
|
longDescription =
|
2019-09-04 01:49:40 +03:00
|
|
|
'' GtkImageView is a simple image viewer widget for GTK. Similar to
|
2009-10-19 16:50:41 +04:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2009-10-19 16:50:41 +04:00
|
|
|
|
2013-08-17 01:44:33 +04:00
|
|
|
maintainers = [ ];
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-10-19 16:50:41 +04:00
|
|
|
};
|
|
|
|
}
|