diff --git a/srcpkgs/gobject-introspection/template b/srcpkgs/gobject-introspection/template index fded42b243..7f576b4f8f 100644 --- a/srcpkgs/gobject-introspection/template +++ b/srcpkgs/gobject-introspection/template @@ -1,7 +1,7 @@ # Template file for 'gobject-introspection' pkgname=gobject-introspection version=1.64.0 -revision=3 +revision=4 build_style=meson pycompile_dirs="usr/lib/${pkgname}/giscanner" hostmakedepends="flex pkg-config" @@ -45,7 +45,11 @@ post_install() { # For cross builds copy the not installed tests subdirectory if [ "$CROSS_BUILD" ]; then 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 # modify the pkg-config files to respect ${pc_sysrootdir} for variables that are