New package: glib-bootstrap-2.80.0
This commit is contained in:
parent
5c633c231e
commit
f3ccd1d26b
|
@ -0,0 +1 @@
|
||||||
|
../glib/patches
|
|
@ -0,0 +1,46 @@
|
||||||
|
# Template file for 'glib-bootstrap'
|
||||||
|
# keep in sync with glib
|
||||||
|
#
|
||||||
|
# This aloing with gobject-introspection-bootstrap is unfortunately necessary as a part of the
|
||||||
|
# libgirepository-1.0 to libgirepository-2.0 migration.
|
||||||
|
pkgname=glib-bootstrap
|
||||||
|
version=2.80.0
|
||||||
|
revision=1
|
||||||
|
build_style=meson
|
||||||
|
# static version is necessary for qemu-user-static;
|
||||||
|
# also disable LTO, otherwise there are multiple failures when linking qemu
|
||||||
|
configure_args="-Dman=true -Dselinux=disabled
|
||||||
|
--default-library=both -Db_lto=false -Dintrospection=disabled"
|
||||||
|
hostmakedepends="gettext pkg-config libxslt docbook-xsl python3-packaging python3-docutils"
|
||||||
|
makedepends="zlib-devel pcre2-devel libffi-devel dbus-devel elfutils-devel libmount-devel"
|
||||||
|
depends="${makedepends}"
|
||||||
|
checkdepends="desktop-file-utils shared-mime-info dbus python3-pytest"
|
||||||
|
short_desc="GNU library of C routines"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="LGPL-2.1-or-later"
|
||||||
|
homepage="https://wiki.gnome.org/Projects/GLib"
|
||||||
|
#changelog="https://gitlab.gnome.org/GNOME/glib/raw/glib-2-78/NEWS"
|
||||||
|
changelog="https://gitlab.gnome.org/GNOME/glib/raw/main/NEWS"
|
||||||
|
distfiles="${GNOME_SITE}/glib/${version%.*}/glib-${version}.tar.xz"
|
||||||
|
checksum=8228a92f92a412160b139ae68b6345bd28f24434a7b5af150ebe21ff587a561d
|
||||||
|
make_check_pre="dbus-run-session"
|
||||||
|
|
||||||
|
repository=bootstrap
|
||||||
|
conflicts="glib libglib-devel glib-devel"
|
||||||
|
provides="glib-${version}_${revision}"
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
# Timer test is flaky on 32 bit (does float comparisons)
|
||||||
|
if [ "${XBPS_TARGET_WORDSIZE}" = "32" ]; then
|
||||||
|
vsed -e "s/'timer' : {},//" -i glib/tests/meson.build
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_check() {
|
||||||
|
# machine-id is a random, non-zero value
|
||||||
|
echo 'dcb30309cd6c8b7cc20383d85a5c7012' > /etc/machine-id
|
||||||
|
}
|
||||||
|
|
||||||
|
post_check() {
|
||||||
|
rm /etc/machine-id
|
||||||
|
}
|
|
@ -0,0 +1,2 @@
|
||||||
|
pattern="glib-[0-9]+\.[0-9]*[02468]\.[0-9]+"
|
||||||
|
pkgname="glib"
|
Loading…
Reference in New Issue