3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #73848 from mmilata/libreoffice-headers

libreoffice: add dev output with headers
This commit is contained in:
Michael Raskin 2019-11-21 13:27:32 +00:00 committed by GitHub
commit 403b208462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -65,6 +65,8 @@ in stdenv.mkDerivation rec {
inherit (primary-src) src;
outputs = [ "out" "dev" ];
# For some reason librdf_redland sometimes refers to rasqal.h instead
# of rasqal/rasqal.h
NIX_CFLAGS_COMPILE = [ "-I${librdf_rasqal}/include/rasqal" ] ++ lib.optional stdenv.isx86_64 "-mno-fma";
@ -276,6 +278,9 @@ in stdenv.mkDerivation rec {
cp -r sysui/desktop/icons "$out/share"
sed -re 's@Icon=libreoffice(dev)?[0-9.]*-?@Icon=@' -i "$out/share/applications/"*.desktop
mkdir -p $dev
cp -r include $dev
'';
configureFlags = [

View file

@ -65,6 +65,8 @@ in stdenv.mkDerivation rec {
inherit (primary-src) src;
outputs = [ "out" "dev" ];
# For some reason librdf_redland sometimes refers to rasqal.h instead
# of rasqal/rasqal.h
NIX_CFLAGS_COMPILE = [ "-I${librdf_rasqal}/include/rasqal" ];
@ -276,6 +278,9 @@ in stdenv.mkDerivation rec {
cp -r sysui/desktop/icons "$out/share"
sed -re 's@Icon=libreoffice(dev)?[0-9.]*-?@Icon=@' -i "$out/share/applications/"*.desktop
mkdir -p $dev
cp -r include $dev
'';
configureFlags = [