# libosinfo/cfg - "Build" settings for package

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

[technotes]

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

[buildtimes]

00.02 hours (or 001.10 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.02 hours (or 001.28 minutes) - HP EliteBook 8560w 32GB RAM

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

[settings]
license   = See "license*.txt" in installed tree
licfile   = COPYING
purge     = no
shareddir = yes
tmpsize   = 17M
unpack    = relaxed

setpaths  = json-glib libosinfo libsoup libxml2 libxslt

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

[depends]
actools
cpan-xml-parser
gawk
grep
gtkcore
intltool
json-glib
libcheck
libffi
libsoup
libxml2
libxslt
meson
ninja
osinfo-tools:strict
pciutils
pcre
pkgconf
sed
vala
zlib

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

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

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

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

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

[build]
cd build
ninja_simple_build

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

[postbuild]
DBBALL=`ls $PKGDIR_SPECIAL/osinfo-db-*.tar.xz | tail -1`
osinfo-db-import --system $DBBALL

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

# 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  = https://packages.debian.org/unstable/source/libosinfo
url_home    = https://libosinfo.org/
url_lfs     = n/a when last checked

url_tarball = https://releases.pagure.org/\
libosinfo/libosinfo-1.9.0.tar.xz

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

[history]
180511 Added package. Started with 1.1.0.
180821 Updated to 1.2.0
210128 Updated to 1.8.0
211205 Updated to 1.9.0