From 205e338a83e2849b3f0a2c2fff2745154b13612f Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Fri, 23 Jan 2015 10:26:00 +0100 Subject: Updating digikam to 4.6.0 and adding libpgf. 4.6.0 fixes the build with current gcc/glibc, and libpgf was a new requirement. (cherry picked from commit 91b63783e1cd28801c69c4c28a0e320de0500787) --- pkgs/development/libraries/libpgf/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/development/libraries/libpgf/default.nix (limited to 'pkgs/development/libraries/libpgf') diff --git a/pkgs/development/libraries/libpgf/default.nix b/pkgs/development/libraries/libpgf/default.nix new file mode 100644 index 00000000000..964896131c9 --- /dev/null +++ b/pkgs/development/libraries/libpgf/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, autoconf, automake, libtool, dos2unix }: + +with stdenv.lib; + +let + version = "6.14.12"; +in +stdenv.mkDerivation { + name = "libpgf-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/libpgf/libpgf-src-${version}.tar.gz"; + sha256 = "1ssqjbh6l5jc04f67n47m9bqcigl46c6lgyabyi6cabnh1frk9dx"; + }; + + buildInputs = [ autoconf automake libtool dos2unix ]; + + preConfigure = "dos2unix configure.ac; sh autogen.sh"; + +# configureFlags = optional static "--enable-static --disable-shared"; + + meta = { + homepage = http://www.libpgf.org/; + description = "Progressive Graphics Format"; + license = stdenv.lib.licenses.lgpl21Plus; + }; +} -- cgit 1.4.1