Add libicns

svn path=/nixpkgs/trunk/; revision=33481
This commit is contained in:
Shea Levy 2012-03-30 01:36:38 +00:00
parent 5fd376da83
commit ef084be97b
3 changed files with 17 additions and 11 deletions

View File

@ -0,0 +1,12 @@
{ stdenv, fetchurl, libpng, openjpeg }:
stdenv.mkDerivation {
name = "libicns-0.8.0";
src = fetchurl {
url = mirror://sourceforge/icns/libicns-0.8.0.tar.gz;
sha256 = "0jh67nm07jr1nfkfjid3jjw7fyw5hvj6a2fqan1bhg6gyr2hswla";
};
buildInputs = [ libpng openjpeg ];
}

View File

@ -1,21 +1,13 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "openjpeg-1.2";
name = "openjpeg-1.5.0";
src = fetchurl {
url = http://www.openjpeg.org/openjpeg_v1_2.tar.gz;
sha256 = "1i72i0hhssgg6vfkaw3gpwf5ld65g9s77ay8pxd4any1xy54qa90";
url = http://openjpeg.googlecode.com/files/openjpeg-1.5.0.tar.gz;
sha256 = "1kja6s9dk0hh7p9064kg69y6vninwyvpqi8cap92waj38jmqz469";
};
patchPhase = ''
sed -i -e 's/-o root -g [^ ]\+//' Makefile Makefile.osx
'';
preInstall = ''
export installFlags="PREFIX=$out"
'';
meta = {
homepage = http://www.openjpeg.org/;
description = "Open-source JPEG 2000 codec written in C language";

View File

@ -4035,6 +4035,8 @@ let
libical = callPackage ../development/libraries/libical { };
libicns = callPackage ../development/libraries/libicns { };
libimobiledevice = callPackage ../development/libraries/libimobiledevice { };
libiodbc = callPackage ../development/libraries/libiodbc {