mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gobject-introspection: really fix tests install
Do what the tests/meson.build would have done. It is not run when cross compiling, thus copy the files listed there to their target directory usr/share/gobject-introspection-1.0/tests, omitting the subdirectories where they come from.
This commit is contained in:
parent
088380d350
commit
43be630059
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gobject-introspection'
|
# Template file for 'gobject-introspection'
|
||||||
pkgname=gobject-introspection
|
pkgname=gobject-introspection
|
||||||
version=1.64.0
|
version=1.64.0
|
||||||
revision=3
|
revision=4
|
||||||
build_style=meson
|
build_style=meson
|
||||||
pycompile_dirs="usr/lib/${pkgname}/giscanner"
|
pycompile_dirs="usr/lib/${pkgname}/giscanner"
|
||||||
hostmakedepends="flex pkg-config"
|
hostmakedepends="flex pkg-config"
|
||||||
|
@ -45,7 +45,11 @@ post_install() {
|
||||||
# For cross builds copy the not installed tests subdirectory
|
# For cross builds copy the not installed tests subdirectory
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
vmkdir usr/share/gobject-introspection-1.0
|
vmkdir usr/share/gobject-introspection-1.0
|
||||||
cp -aR ${wrksrc}/tests ${DESTDIR}/usr/share/gobject-introspection-1.0/
|
for f in scanner/annotation.? scanner/drawable.? scanner/foo.? \
|
||||||
|
scanner/regress.? scanner/utility.? scanner/warnlib.? \
|
||||||
|
gimarshallingtests.? gitestmacros.h; do
|
||||||
|
vcopy tests/$f usr/share/gobject-introspection-1.0
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# modify the pkg-config files to respect ${pc_sysrootdir} for variables that are
|
# modify the pkg-config files to respect ${pc_sysrootdir} for variables that are
|
||||||
|
|
Loading…
Add table
Reference in a new issue