# gspell/cfg - "Build" settings for package

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

[technotes]

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

[buildtimes]

00.01 hours (or 000.83 minutes) - ThinkPad E540 i7 4x2 16GB RAM

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

[settings]
dontfind = enchant01
license  = See "license*.txt" in installed tree
licfile  = LICENSES/LGPL-2.1-or-later.txt
tmpsize  = 7M

setpaths = enchant02 gspell

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

[depends]
actools
brotli
enchant02
gawk
grep
gtkcore
isocodes
meson
ninja
pkgconf
sed

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

[configure]
PATH=$PRODTREE/python3/bin:$PATH
PP=$PKGDIR_PROD

rm -fr lacobj && mkdir lacobj && cd lacobj
#
meson setup \
    -D prefix=$PP              \
    -D bindir=$PP/bin          \
    -D includedir=$PP/include  \
    -D libdir=$PP/lib          \
    -D mandir=$PP/man          \
    -D buildtype=release       \

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

[build]
BINDIR=$PKGDIR_PROD/bin
DATADIR=$PKGDIR_PROD/data
mkdir -p $BINDIR $DATADIR

cd lacobj && ninja_simple_build

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

[postbuild]
rm -fr $PKGDIR_PROD/lib/libgspell-1.la

cd $PKGDIR_PROD/include
rm -fr gspell
ln -s  gspell-1/gspell .
ls     gspell

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

# 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  = tbd
url_home    = tbd
url_lfs     = tbd

url_tarball = https://download.gnome.org/sources/\
gspell/1.14/gspell-1.14.0.tar.xz

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

[history]
180905 Added package. Started with 1.8.1.
210207 Updated to 1.9.1
240510 Updated to 1.12.2
250706 Updated to 1.14.0