# xaos/cfg - "Build" settings for package

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

[technotes]

1. The source tarball used by this package has been renamed.

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

[buildtimes]

00.01 hours (or 000.65 minutes) - Dell Inspiron 1545
00.01 hours (or 000.65 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.02 hours (or 001.28 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.07 hours (or 003.90 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

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

[settings]
exepack    = yes
license    = See "license*.txt" in installed tree
licfile    = COPYING
nls        = disabled

setpaths   = qt6

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

[depends]
brotli
bzip2
cmake
cups
double-conversion
expat
fontconfig
freetype2
graphite2
gtkcore
libb2
libbsd
libicu
libpng
ncurses
pcre2
qt
xorg
zlib
zstd

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

[configure]
mkdir obj && cd obj
cmake \
    -DCMAKE_BUILD_TYPE=Release           \
    -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD  \
    -DCMAKE_INSTALL_LIBDIR=lib           \
    ..

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

[build]
cd obj && smpmake && make install

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

[postbuild]
BINDIR=$PKGDIR_PROD/bin
DOCDIR=$PKGDIR_PROD/doc

mkdir -p        $DOCDIR
cp -p README.md $DOCDIR/

cd $BINDIR
mkdir -p ../xbin/
rm -fr   ../xbin/xaos
mv XaoS  ../xbin/
cp -p $PKGDIR_SPECIAL/xaos.wrapper.in xaos
chmod 755 xaos

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

# Original URLs. 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,  as you may not  be able  to replace
# them.

[urls]
url_debian  = http://packages.debian.org/unstable/source/xaos
url_home    = http://wmi.math.u-szeged.hu/xaos/doku.php
url_lfs     = n/a

url_tarball = https://github.com/xaos-project/XaoS/archive/\
refs/tags/release-4.3.3.tar.gz

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

[history]
241103 Updated from 3.6 to 4.3.3