gsettings-desktop-schemas: Build introspection data

This commit is contained in:
Tee KOBAYASHI 2022-10-22 15:28:53 +09:00 committed by xtkoba
parent 22dd44252a
commit 6499189aa9
2 changed files with 20 additions and 3 deletions

View File

@ -4,9 +4,17 @@ TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_MAINTAINER="Yisus7u7 <dev.yisus@hotmail.com>"
_MAJOR_VERSION=43
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gsettings-desktop-schemas/${_MAJOR_VERSION}/gsettings-desktop-schemas-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=5d5568282ab38b95759d425401f7476e56f8cbf2629885587439f43bd0b84bbe
TERMUX_PKG_DEPENDS="dconf"
TERMUX_PKG_RM_AFTER_INSTALL="share/glib-2.0/schemas/gschemas.compiled"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dintrospection=false"
TERMUX_PKG_RECOMMENDS="dconf"
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner"
TERMUX_PKG_DISABLE_GIR=false
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Dintrospection=true
"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_pre_configure() {
termux_setup_gir
}

View File

@ -0,0 +1,9 @@
--- a/meson.build
+++ b/meson.build
@@ -47,6 +47,3 @@
subdir('schemas')
subdir('po')
-# Keep this in sync with post-install.py expected arguments
-meson.add_install_script('build-aux/meson/post-install.py',
- datadir)