exiv2: enable docs and po

Also multiout man
This commit is contained in:
worldofpeace 2019-06-27 03:17:57 -04:00
parent cb77f7e227
commit 91a3b41967

View File

@ -7,6 +7,9 @@
, libxml2 , libxml2
, python3 , python3
, gettext , gettext
, doxygen
, graphviz
, libxslt
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -25,11 +28,19 @@ stdenv.mkDerivation rec {
./fix-cmake.patch ./fix-cmake.patch
]; ];
outputs = [ "out" "dev" ]; cmakeFlags = [
"-DEXIV2_BUILD_PO=ON"
"-DEXIV2_BUILD_DOC=ON"
];
outputs = [ "out" "dev" "doc" "man" ];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
doxygen
gettext gettext
graphviz
libxslt
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -43,6 +54,10 @@ stdenv.mkDerivation rec {
which which
]; ];
buildFlags = [
"doc"
];
doCheck = stdenv.isLinux; doCheck = stdenv.isLinux;
# Test setup found by inspecting ${src}/.travis/run.sh; problems without cmake. # Test setup found by inspecting ${src}/.travis/run.sh; problems without cmake.