Add command to grab latest OSTree-1.0.gir from Fedora Rawhide

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:56 -04:00
1 parent 409527e232
commit 7ef8668f0a
1 file changed
+9 -3
+9 -3
View File
@@ -34,7 +34,8 @@ update-gir-files: \
gir-files \
gir-files/GLib-2.0.gir \
gir-files/Gio-2.0.gir \
gir-files/GObject-2.0.gir
gir-files/GObject-2.0.gir \
gir-files/OSTree-1.0.gir
remove-gir-files:
rm -f gir-files/G*-2.0.gir
@@ -46,5 +47,10 @@ gir-files:
curl -o $@ -L https://github.com/gtk-rs/gir-files/raw/master/${@F}
gir-files/OSTree-1.0.gir:
echo Best to build libostree with all features and use that
exit 1
podman run \
--rm \
-v $(PWD)/gir-files:/gir-files \
fedora:rawhide \
bash -eu -c "\
dnf install -y ostree-devel && \
cp /usr/share/gir-1.0/OSTree-1.0.gir /gir-files/"