glib: update to 2.60.0.
This commit is contained in:
parent
30b573e729
commit
eddfd697e8
|
@ -1,31 +1,29 @@
|
||||||
# Template file for 'glib'
|
# Template file for 'glib'
|
||||||
pkgname=glib
|
pkgname=glib
|
||||||
version=2.58.3
|
version=2.60.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=meson
|
||||||
configure_args="--enable-libelf --disable-fam --with-pcre=system --enable-static"
|
configure_args="-Dfam=false -Dman=true -Dselinux=disabled
|
||||||
hostmakedepends="automake libtool pkg-config python3 libxslt docbook-xsl"
|
-Dgtk_doc=$(vopt_if gtk_doc true false)"
|
||||||
|
hostmakedepends="pkg-config libxslt docbook-xsl $(vopt_if gtk_doc gtk-doc)"
|
||||||
makedepends="zlib-devel pcre-devel libffi-devel dbus-devel elfutils-devel libmount-devel"
|
makedepends="zlib-devel pcre-devel libffi-devel dbus-devel elfutils-devel libmount-devel"
|
||||||
|
checkdepends="desktop-file-utils shared-mime-info tzdata"
|
||||||
short_desc="GNU library of C routines"
|
short_desc="GNU library of C routines"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://wiki.gnome.org/Projects/GLib"
|
homepage="https://wiki.gnome.org/Projects/GLib"
|
||||||
changelog="https://gitlab.gnome.org/GNOME/glib/raw/master/NEWS"
|
changelog="https://gitlab.gnome.org/GNOME/glib/raw/master/NEWS"
|
||||||
distfiles="${GNOME_SITE}/glib/${version%.*}/glib-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/glib/${version%.*}/glib-${version}.tar.xz"
|
||||||
checksum=8f43c31767e88a25da72b52a40f3301fefc49a665b56dc10ee7cc9565cbe7481
|
checksum=20865d8b96840d89d9340fc485b4b1131c1bb24d16a258a22d642c3bb1b44353
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
build_options="gtk_doc"
|
||||||
hostmakedepends+=" glib-devel"
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
desc_option_gtk_doc="Build GTK API docs"
|
||||||
mips*|ppc|ppc-musl) # It seems mips/ppc autoconf cache is not read?
|
|
||||||
configure_args+=" glib_cv_stack_grows=no glib_cv_rtldglobal_broken=no glib_cv_uscore=no" ;;
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
esac
|
build_options_default+=" gtk_doc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
libglib-devel_package() {
|
libglib-devel_package() {
|
||||||
depends="${makedepends} glib>=${version}_${revision}"
|
depends="${makedepends} glib>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
@ -35,7 +33,6 @@ libglib-devel_package() {
|
||||||
vmove usr/lib/glib-2.0
|
vmove usr/lib/glib-2.0
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove "usr/lib/*.a"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue