cataract: fix broken build
This commit is contained in:
parent
1e056713d5
commit
806dfb3f6a
@ -22,17 +22,21 @@ stdenv.mkDerivation {
|
|||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ glib libxml2 exiv2 imagemagick ];
|
buildInputs = [ glib libxml2 exiv2 imagemagick ];
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
sed -i 's|#include <exiv2/exif.hpp>|#include <exiv2/exiv2.hpp>|' src/jpeg-utils.cpp
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out/{bin,share} -p
|
mkdir $out/{bin,share} -p
|
||||||
cp src/cgg{,-dirgen} $out/bin/
|
cp src/cgg{,-dirgen} $out/bin/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://cgg.bzatek.net/;
|
homepage = "http://cgg.bzatek.net/";
|
||||||
description = "a simple static web photo gallery, designed to be clean and easily usable";
|
description = "A simple static web photo gallery, designed to be clean and easily usable";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
|
maintainers = [ maintainers.matthiasbeyer ];
|
||||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
platforms = with platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user