Revert "python3-gobject: fix cross"
This reverts commit daf9a7e51b
.
Fix it on the side of gobject-introspection.
This commit is contained in:
parent
ab864165f3
commit
f93fcd070a
1 changed files with 1 additions and 14 deletions
|
@ -7,7 +7,7 @@ build_style=meson
|
|||
build_helper="gir"
|
||||
configure_args="-Dpython=python${py3_ver}"
|
||||
pycompile_module="gi pygtkcompat"
|
||||
hostmakedepends="gobject-introspection pkg-config python3 python3-MarkupSafe"
|
||||
hostmakedepends="pkg-config python3 python3-MarkupSafe"
|
||||
makedepends="libglib-devel python3-cairo-devel python3-devel"
|
||||
depends="gir-freedesktop python3-cairo"
|
||||
short_desc="Python3 bindings for GObject"
|
||||
|
@ -17,19 +17,6 @@ homepage="https://pygobject.readthedocs.io/"
|
|||
distfiles="${GNOME_SITE}/pygobject/${version%.*}/pygobject-${version}.tar.xz"
|
||||
checksum=c39ca2a28364b57fa00549c6e836346031e6b886c3ceabfd8ab4b4fed0a83611
|
||||
|
||||
pre_configure() {
|
||||
if [ ! -s "${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests/gitestmacros.h" ]; then
|
||||
# /usr/share/gobject-introspection-1.0/tests missing in cross builds
|
||||
cp -aR /usr/share/gobject-introspection-1.0/tests \
|
||||
${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# In case it was copied make sure it's removed
|
||||
rm -rf ${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests
|
||||
}
|
||||
|
||||
python3-gobject-devel_package() {
|
||||
depends="libgirepository-devel python3-cairo-devel
|
||||
libglib-devel libffi-devel
|
||||
|
|
Loading…
Reference in a new issue