mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
d06eef88c9
Also update its dependencies. Update libcdr to 0.1.0 Update libmwaw to 0.3.2 from 0.3.1 Update libvisio to 0.1.0 Update libwpd to 0.10.0 Update libwpg to 0.3.0 These updates are require by LO update and also require each other. Note that many of these libraries now require librevenge. In LibreOffice expression per se: - Note that liborcus is built separately because it wants Boost to be specified in a way that main LO build doesn't ensure. - libixion from 0.7.0 tarball has libixion-0.8 package version. - libgltf is in src/libgltf but listed in download.lst without any comments. - Make variable with the name libreoffice-translations-${version}.tar.xz and the same value is inserted; the same for -help-. Fetching gives a strange error without that. Apparently everyone just builds git checkouts. - There are some conditionals in download.lst that require manual handling. I am not sure there is a simple way to process them in generate-libreoffice-srcs.sh.
23 lines
695 B
Nix
23 lines
695 B
Nix
{ stdenv, fetchurl, libwpg, libwpd, lcms, pkgconfig, librevenge, icu, boost }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcdr-0.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://dev-www.libreoffice.org/src/${name}.tar.bz2";
|
|
sha256 = "1l4glkyyxhzqq6j9n9cc01sf1q7xx8dd97cl3bwj8w4fp06ihv7g";
|
|
};
|
|
|
|
buildInputs = [ libwpg libwpd lcms librevenge icu boost ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
CXXFLAGS="--std=gnu++0x"; # For c++11 constants in lcms2.h
|
|
|
|
meta = {
|
|
description = "A library providing ability to interpret and import Corel Draw drawings into various applications";
|
|
homepage = http://www.freedesktop.org/wiki/Software/libcdr;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|