# gobject-intro/cfg - "Build" settings for package

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

[technotes]

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

[buildtimes]

00.01 hours (or 000.78 minutes) - HP EliteBook 8560w 32GB RAM
00.02 hours (or 000.92 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.02 hours (or 000.93 minutes) - HP Pavilion dv8 8GB RAM
00.02 hours (or 000.95 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.04 hours (or 002.12 minutes) - Toshiba Satellite C655 E-300 CPU 4GB
                                  RAM

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

[settings]
compiler  = gcc                 # "clang" produces signal 11
exepack   = no
license   = tbd
proddir   = $PRODTREE/gtkcore
purge     = no
shareddir = yes
strip     = no
tmpsize   = 48M
unpack    = relaxed
uscheck   = C210614, R201003, stopped

setpaths  = gtkcore python3

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

[depends]
actools
brotli
cairo
gawk
glib20:strict
grep
jsonc
libbsd
libffi
lvm2
pcre2
pkgconf
python:strict
python3-core:strict
sed

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

[configure]
makelac freetype2 --force       # Work-around for a "harfbuzz" issue
makelac fontconfig --force

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

PATH=$PRODTREE/python3/bin:$PATH
PP=$PKGDIR_PROD

rm -fr build
mkdir  build
meson  build \
    -D prefix=$PP \
    -D doctool=disabled

cd build
if [ \! -f build.ninja ]; then exit 1; fi
meson configure

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

[build]
cd build
ninja_simple_build

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

[postbuild]
BINDIR=$PKGDIR_PROD/bin
LIBDIR=$PKGDIR_PROD/lib
SHADIR=$PKGDIR_PROD/share

cd $BINDIR
(strip g-ir*      2> /dev/null || true)
(upx --lzma g-ir* 2> /dev/null || true)

cd $LIBDIR
(strip -g libgirepository-*.so* 2> /dev/null || true)

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

# 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  = Not checked yet
url_home    = Unknown

url_lfs     = http://www.linuxfromscratch.org/blfs/view/\
svn/general/gobject-introspection.html

url_tarball = https://ftp.gnome.org/pub/gnome/sources/\
gobject-introspection/1.78/gobject-introspection-1.78.1.tar.xz

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

[history]
170505 updated from 1.47.1 to 1.52.1
170912 updated to 1.54.0
171028 updated to 1.54.1
180317 Updated to 1.56.0
180625 Updated to 1.56.1
181023 Updated to 1.58.0
181223 Updated to 1.58.2
190314 Updated to 1.60.0
190512 Updated to 1.60.1
190830 Updated to 1.60.2
210125 Updated to 1.66.1
210720 Updated to 1.68.0
220802 Updated to 1.72.0
230219 Updated to 1.74.0
230406 Updated to 1.76.0
230706 Updated to 1.76.1
240308 Updated to 1.78.1