buildout.cfg 4.5 KB
Newer Older
1 2 3
[buildout]
parts = inkscape
extends =
4
  ../boost-lib/buildout.cfg
5
  ../bzip2/buildout.cfg
6
  ../cmake/buildout.cfg
7
  ../double-conversion/buildout.cfg
8 9
  ../freetype/buildout.cfg
  ../garbage-collector/buildout.cfg
10
  ../gettext/buildout.cfg
11
  ../glibmm/buildout.cfg
12
  ../gtk/buildout.cfg
13 14
  ../gtkmm/buildout.cfg
  ../intltool/buildout.cfg
15 16
  ../lcms/buildout.cfg
  ../libjpeg/buildout.cfg
17 18 19
  ../libpng/buildout.cfg
  ../libsigc/buildout.cfg
  ../libxml2/buildout.cfg
20
  ../libxslt/buildout.cfg
21
  ../patch/buildout.cfg
22 23
  ../perl/buildout.cfg
  ../pkgconfig/buildout.cfg
24
  ../potrace/buildout.cfg
25
  ../python3/buildout.cfg
26 27
  ../popt/buildout.cfg
  ../xorg/buildout.cfg
28
  ../xz-utils/buildout.cfg
29
  ../zlib/buildout.cfg
30 31 32 33
  ../defaults.cfg

[gcc]
max_version = 11
34 35 36

[gsl]
recipe = slapos.recipe.cmmi
37
shared = true
38 39
url = ftp://ftp.gnu.org/gnu/gsl/gsl-2.6.tar.gz
md5sum = bda73a3dd5ff2f30b5956764399db6e7
40 41
configure-options =
  --disable-static
42
environment =
43
  PATH=${glib:location}/bin:${pkgconfig:location}/bin:%(PATH)s
44
  PKG_CONFIG_PATH=${atk:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${glib:pkg_config_depends}:${glibmm:location}/lib/pkgconfig:${libsigc:location}/lib/pkgconfig
45
  LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
46

47 48
[inkscape]
recipe = slapos.recipe.cmmi
49
shared = true
50 51 52 53 54 55 56
url = https://media.inkscape.org/dl/resources/file/inkscape-1.3.2.tar.xz
md5sum = 76ed1f4b13065e80de8b2d77b6427b83
pkg_config_depends = ${freetype:location}/lib/pkgconfig:${gtkmm:location}/lib/pkgconfig:${gtkmm:pkg_config_depends}:${gsl:location}/lib/pkgconfig:${popt:location}/lib/pkgconfig:${garbage-collector:location}/lib/pkgconfig:${libxslt:location}/lib/pkgconfig:${lcms2:location}/lib/pkgconfig:${libsoup:location}/lib/pkgconfig:${libsoup:pkg_config_depends}
pre-configure =
  sed -ie 's,#include <cairo/,#include <,' src/display/control/canvas-item-rect.cpp
  sed -ie 's,#include <harfbuzz/,#include <,' src/libnrtype/font-instance.cpp src/libnrtype/OpenTypeUtil.cpp
  sed -ie 's,#include <libxml2/,#include <,' src/inkscape-version-info.cpp
57
configure-command = ${cmake:location}/bin/cmake
58
configure-options =
59
  -DCMAKE_INSTALL_PREFIX=@@LOCATION@@
60 61 62 63 64 65
  -DENABLE_POPPLER=OFF
  -DWITH_GNOME_VFS=OFF
  -DWITH_IMAGE_MAGICK=OFF
  -DWITH_LIBCDR=OFF
  -DWITH_LIBVISIO=OFF
  -DWITH_LIBWPG=OFF
66
  -DWITH_X11=OFF
67
environment =
68
  PATH=${cmake:location}/bin:${freetype:location}/bin:${gdk-pixbuf:location}/bin:${gettext:location}/bin:${glib:location}/bin:${intltool:location}/bin:${libxml2:location}/bin:${pango:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${python3:location}/bin:${xz-utils:location}/bin:%(PATH)s
69
  PKG_CONFIG_PATH=${:pkg_config_depends}
70 71 72 73
  DEVLIBS_PATH=${potrace:location}
  CMAKE_INCLUDE_PATH=${boost-lib:location}/include:${double-conversion:location}/include:${freetype:location}/include:${garbage-collector:location}/include:${libjpeg:location}/include:${lcms2:location}/include:${libpng:location}/include:${zlib:location}/include
  CMAKE_LIBRARY_PATH=${boost-lib:location}/lib:${double-conversion:location}/lib:${freetype:location}/lib:${garbage-collector:location}/lib:${lcms2:location}/lib:${libjpeg:location}/lib:${libpng:location}/lib:${zlib:location}/lib
  LDFLAGS=-Wl,-rpath=${atk:location}/lib -Wl,-rpath=${atkmm:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${cairo:location}/lib -Wl,-rpath=${cairomm:location}/lib -Wl,-rpath=${double-conversion:location}/lib -Wl,-rpath=${fontconfig:location}/lib -Wl,-rpath=${freetype:location}/lib -L${garbage-collector:location}/lib -Wl,-rpath=${garbage-collector:location}/lib -Wl,-rpath=${gdk-pixbuf:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${glib:location}/lib -Wl,-rpath=${glibmm:location}/lib -L${gsl:location}/lib -Wl,-rpath=${gsl:location}/lib -Wl,-rpath=${gtk-3:location}/lib -Wl,-rpath=${gtkmm:location}/lib -Wl,-rpath=${harfbuzz:location}/lib -Wl,-rpath=${potrace:location}/lib -Wl,-rpath=${lcms2:location}/lib -Wl,-rpath=${libX11:location}/lib -Wl,-rpath=${libXext:location}/lib -Wl,-rpath=${libepoxy:location}/lib -Wl,-rpath=${libjpeg:location}/lib -Wl,-rpath=${libpng:location}/lib -L${libsigc:location}/lib -Wl,-rpath=${libsigc:location}/lib -Wl,-rpath=${libsoup:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${libxslt:location}/lib -Wl,-rpath=${libxslt:location}/lib -Wl,-rpath=${pango:location}/lib -Wl,-rpath=${pangomm:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib -Wl,-rpath=${potrace:location}/lib -Wl,-rpath=${zlib:location}/lib