glade3: rebuild for Python 3.10, update to 3.38.2.
This commit is contained in:
parent
ce1fbec7c0
commit
9c562f9b6e
2 changed files with 27 additions and 11 deletions
23
srcpkgs/glade3/patches/meson.build.patch
Normal file
23
srcpkgs/glade3/patches/meson.build.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
Circumvent an attempt to run cross-compiled executables during configuration.
|
||||
|
||||
--- ./meson.build
|
||||
+++ ./meson.build
|
||||
@@ -215,6 +215,10 @@
|
||||
glade_datadir,
|
||||
)
|
||||
|
||||
+if meson.is_cross_build()
|
||||
+ # On cross, the test program can't be run, so just assume tls_backend_support
|
||||
+ tls_backend_support = 'true'
|
||||
+else
|
||||
tls_backend_support_src = '''
|
||||
#include <stdio.h>
|
||||
#include <gio/gio.h>
|
||||
@@ -225,6 +229,7 @@
|
||||
}
|
||||
'''
|
||||
tls_backend_support = cc.run(tls_backend_support_src, dependencies: gio_dep).stdout()
|
||||
+endif
|
||||
|
||||
output = '\nConfiguration:\n\n'
|
||||
output += '\tCompiler: ' + cc.get_id() + '\n'
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'glade3'
|
||||
pkgname=glade3
|
||||
version=3.38.1
|
||||
version=3.38.2
|
||||
revision=1
|
||||
wrksrc="glade-${version}"
|
||||
build_style=meson
|
||||
|
@ -15,22 +15,15 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="http://glade.gnome.org/"
|
||||
distfiles="${GNOME_SITE}/glade/${version%.*}/glade-${version}.tar.xz"
|
||||
checksum=171a50be4930d4806fc8ce7f5ce3a75b49e9916f9d3037a5b50d35799bd0cfcd
|
||||
checksum=98fc87647d88505c97dd2f30f2db2d3e9527515b3af11694787d62a8d28fbab7
|
||||
lib32disabled=yes
|
||||
# Requires running an xserver
|
||||
make_check=no
|
||||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
build_options_default="gir"
|
||||
|
||||
post_patch() {
|
||||
vsed -i meson.build -e "/python_dep/s/3.8/3.9/g"
|
||||
}
|
||||
|
||||
do_check() {
|
||||
# Require running xserver
|
||||
:
|
||||
}
|
||||
|
||||
libgladeui3_package() {
|
||||
depends="python3-gobject"
|
||||
short_desc="GTK+ User Interface Build core library"
|
||||
|
|
Loading…
Reference in a new issue