# libgvc/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. As of circa release 2.30, this "configure" switch is needed because
default "builds" omit "libgraph.so" and this breaks other packages:

      --with-cgraph=no

#---------------------------------------------------------------------

[buildtimes]

00.03 hours (or 002.07 minutes) - HP EliteBook 8560w 32GB RAM
00.04 hours (or 002.67 minutes) - 2021 dedi
00.05 hours (or 002.80 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.07 hours (or 004.28 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.27 hours (or 016.22 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

#---------------------------------------------------------------------

[settings]
altpkg    = yes
archive   = Same as graphviz
build     = default
exepack   = yes
license   = Same as graphviz
proddir   = $PRODTREE/graphviz
purge     = yes
shareddir = yes
tmpsize   = 384M
unpack    = relaxed

#---------------------------------------------------------------------

[depends]
actools
bison3
cairo
devil
expat
flex
fontconfig
freetype2
gawk
grep
gtk20
gtk30
harfbuzz
jpeg
libgd                           # May not be needed any longer
libpng
lua52                           # Support needs to be checked
perl
pkgconf
python
sed
swig
tcl                             # Not presently used
tk                              # Ditto
xorg
zlib

#---------------------------------------------------------------------

[configure]
MANBASE=$PKGDIR_PROD/man
mkdir -p $MANBASE

if [ -f ./autogen.sh ]; then
        ./autogen.sh NOCONFIG
fi

bash ./configure \
    --prefix=$PKGDIR_PROD          \
    --build=$LACARCHBUILD          \
    --host=$LACARCHHOST            \
    --disable-dependency-tracking  \
    --mandir=$MANBASE              \
\
    --disable-guile                \
    --disable-io                   \
    --disable-java                 \
    --disable-lua                  \
    --disable-ocaml                \
    --disable-php                  \
    --disable-python               \
    --disable-r                    \
    --disable-ruby                 \
    --disable-sharp                \
    --disable-static               \
    --disable-tcl                  \
\
    --enable-go=no                 \
    --enable-guile=no              \
    --enable-io=no                 \
    --enable-java=no               \
    --enable-lua=no                \
    --enable-ocaml=no              \
    --enable-perl=no               \
    --enable-php=no                \
    --enable-python2=no            \
    --enable-python3=no            \
    --enable-python=no             \
    --enable-r=no                  \
    --enable-ruby=no               \
    --enable-shared=yes            \
    --enable-sharp=no              \
    --enable-static=no             \
    --enable-swig=no               \
    --enable-tcl=no                \
\
    --with-expat                   \
    --with-fontconfig              \
    --with-freetype2               \
    --with-sfdp                    \
\
    --with-ann=no                  \
    --with-cgraph=no               \
    --with-devil=no                \
    --with-digcola=no              \
    --with-gdiplus=no              \
    --with-gdk-pixbuf=no           \
    --with-gdk=no                  \
    --with-ghostscript=no          \
    --with-glade=no                \
    --with-glitz=no                \
    --with-glut=no                 \
    --with-gtk=no                  \
    --with-gtkgl=no                \
    --with-gtkglext=no             \
    --with-gts=no                  \
    --with-included-ltdl           \
    --with-ipsepcola=no            \
    --with-lasi=no                 \
    --with-libgd=no                \
    --with-ming=no                 \
    --with-mylibgd=no              \
    --with-ortho=no                \
    --with-pangocairo=no           \
    --with-poppler=no              \
    --with-qt=no                   \
    --with-quartz=no               \
    --with-rsvg=no                 \
    --with-smyrna=no               \
    --with-visio=no                \
    --with-webp=no

#---------------------------------------------------------------------

# Original URLs.  Note:  These  URLs were valid at one point,  but may
# have  died since then.  If you download newer versions  of  tarballs
# [etc.], don't delete the original versions.  You may not  be able to
# replace them.

[urls]
url_debian  = Same as graphviz
url_home    = Ditto
url_lfs     = Ditto
url_tarball = Ditto