mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 19:20:36 -04:00
Use trigger to compile glib schemas, and generate gio modules cache PR: 262567 Reviewed by: tcberner Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D34564
16 lines
323 B
Text
16 lines
323 B
Text
path: "%%PREFIX%%/lib/gio/modules"
|
|
cleanup: {
|
|
type: lua
|
|
sandbox: false
|
|
script: <<EOS
|
|
os.remove("%%PREFIX%%/lib/gio/modules/giomodule.cache")
|
|
EOS
|
|
}
|
|
trigger: {
|
|
type: lua
|
|
sandbox: false
|
|
script: <<EOS
|
|
print("Generating GIO modules cache")
|
|
pkg.exec({"%%PREFIX%%/bin/gio-querymodules", "%%PREFIX%%/lib/gio/modules"})
|
|
EOS
|
|
}
|