Merge pull request #17888 from lazka/gobject-introspection-pyc
gobject-introspection: generate pyc files
This commit is contained in:
@@ -6,7 +6,7 @@ pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
"${MINGW_PACKAGE_PREFIX}-${_realname}-runtime")
|
||||
pkgver=1.76.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
|
||||
url="https://live.gnome.org/GObjectIntrospection"
|
||||
@@ -85,6 +85,9 @@ package_gobject-introspection() {
|
||||
rm "${pkgdir}${MINGW_PREFIX}/bin/libgirepository"*.dll
|
||||
rm "${pkgdir}${MINGW_PREFIX}/lib/libgirepository"*.a
|
||||
rm -R "${pkgdir}${MINGW_PREFIX}/lib/girepository-1.0"
|
||||
|
||||
MSYS2_ARG_CONV_EXCL="-p" \
|
||||
python -m compileall -o 0 -o 1 -q -s"${pkgdir}" -p"/" "${pkgdir}${MINGW_PREFIX}/lib"
|
||||
}
|
||||
|
||||
package_gobject-introspection-runtime() {
|
||||
|
||||
Reference in New Issue
Block a user