Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/glib2/glib-compile-schemas.hook
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-04-08 13:32:48 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-04-08 13:32:48 +0300
commit3270e3252a6b89e1d0a85619e79d3f746bdcaf29 (patch)
treee777e078d2e8ec3c0fa268d20f230391192c82b8 /build-support/glib2/glib-compile-schemas.hook
parentb43ded72a692ff76968fe6be1d93a495924a7e67 (diff)
build-support: Add glib2 without introspection
Diffstat (limited to 'build-support/glib2/glib-compile-schemas.hook')
-rw-r--r--build-support/glib2/glib-compile-schemas.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/build-support/glib2/glib-compile-schemas.hook b/build-support/glib2/glib-compile-schemas.hook
new file mode 100644
index 00000000..93d1ed53
--- /dev/null
+++ b/build-support/glib2/glib-compile-schemas.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/glib-2.0/schemas/*.xml
+Target = usr/share/glib-2.0/schemas/*.override
+
+[Action]
+Description = Compiling GSettings XML schema files...
+When = PostTransaction
+Exec = /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas