* Added gqview.

svn path=/nixpkgs/trunk/; revision=497
This commit is contained in:
Eelco Dolstra 2003-11-11 16:13:13 +00:00
parent ee09ff00ff
commit 5ce30ac868
5 changed files with 43 additions and 0 deletions

View file

@ -84,6 +84,8 @@ ELSE IF it's an APPLICATION:
./applications/version-management
ELSE IF it's for VIDEO playback/etc:
./applications/video
ELSE IF it's for GRAPHICS viewing/editing/etc:
./applications/graphics
ELSE IF it's for NETWORKING:
IF it's a MAILREADER:
./applications/networking/mailreaders

View file

@ -0,0 +1,10 @@
#! /bin/sh
buildinputs="$pkgconfig $gtk $libpng"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd gqview-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View file

@ -0,0 +1,22 @@
{stdenv, fetchurl, pkgconfig, gtk, libpng}:
assert !isNull pkgconfig && !isNull gtk && !isNull png;
# Note that we cannot just copy gtk's png attribute, since gtk might
# not be linked against png.
assert libpng == gtk.libpng;
derivation {
name = "gqview-1.3.5";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/gqview/gqview-1.3.5.tar.gz;
md5 = "c44687bdd636ea6e5133fb936abf880a";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
libpng = libpng;
}

View file

@ -384,4 +384,12 @@
alsa = alsaLib;
};
gqview = (import ../applications/graphics/gqview) {
fetchurl = fetchurl;
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
libpng = libpng;
};
}

View file

@ -16,6 +16,7 @@
pkgs.sylpheed
pkgs.firebird
pkgs.MPlayer
pkgs.gqview
];
# Create a user environment.