geeqie: update from 1.1 to 1.2 and adopt it
This commit is contained in:
parent
239760ab98
commit
d156824f48
@ -1,26 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2, lcms
|
||||
, intltool, gettext, libchamplain_0_6, fbida }:
|
||||
{ stdenv, fetchurl, pkgconfig, autoconf, automake, gtk, libpng, exiv2, lcms
|
||||
, intltool, gettext, libchamplain, fbida }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "geeqie-1.1";
|
||||
name = "geeqie-${version}";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/geeqie/${name}.tar.gz";
|
||||
sha256 = "1kzy39z9505xkayyx7rjj2wda76xy3ch1s5z35zn8yli54ffhi2m";
|
||||
url = "https://gitorious.org/geeqie/geeqie/archive/v${version}.tar.gz";
|
||||
sha256 = "13sgf20h0z8dz1075vmyh8vbxgchq30cqrl15zfv9h8hp271vpfj";
|
||||
};
|
||||
|
||||
preConfigure =
|
||||
# XXX: Trick to have Geeqie use the version we have.
|
||||
'' sed -i "configure" \
|
||||
-e 's/champlain-0.4/champlain-0.6/g ;
|
||||
s/champlain-gtk-0.4/champlain-gtk-0.6/g'
|
||||
'';
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
configureFlags = [ "--enable-gps" ];
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig gtk libpng exiv2 lcms intltool gettext
|
||||
libchamplain_0_6
|
||||
[ pkgconfig autoconf automake gtk libpng exiv2 lcms intltool gettext
|
||||
libchamplain
|
||||
];
|
||||
|
||||
postInstall =
|
||||
@ -31,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
-e '1 a export PATH=${exiv2}/bin:${fbida}/bin:$PATH'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Lightweight GTK+ based image viewer";
|
||||
|
||||
longDescription =
|
||||
@ -45,11 +41,11 @@ stdenv.mkDerivation rec {
|
||||
initially based on GQview.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
homepage = http://geeqie.sourceforge.net;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.gnu;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
platforms = platforms.gnu;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user