diff options
Diffstat (limited to 'generate4')
-rwxr-xr-x | generate4 | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/generate4 b/generate4 index 8fcff42..23061f0 100755 --- a/generate4 +++ b/generate4 @@ -1,10 +1,5 @@ #!/bin/sh -if [ $# -lt 1 ]; then - printf "Usage: generate4 <gobject introspection root>\n" >&2 - exit 1 -fi -GI="$1" BIND=./bindings mkdir -p "$BIND"/glib "$BIND"/gobject "$BIND"/gio "$BIND"/gmodule "$BIND"/atk \ @@ -29,19 +24,19 @@ hare build cmd/hare-gi && ./hare-gi -B \ -m Graphene,graphene,"$BIND"/graphene/_generated.ha \ -m Gsk,gsk,"$BIND"/gsk/_generated.ha \ -m Gtk,gtk4,"$BIND"/gtk4/_generated.ha \ - "$GI"/build/gir/GLib-2.0.gir \ - "$GI"/build/gir/GObject-2.0.gir \ - "$GI"/build/gir/Gio-2.0.gir \ - "$GI"/build/gir/GModule-2.0.gir \ + /usr/share/gir-1.0/GLib-2.0.gir \ + /usr/share/gir-1.0/GObject-2.0.gir \ + /usr/share/gir-1.0/Gio-2.0.gir \ + /usr/share/gir-1.0/GModule-2.0.gir \ /usr/share/gir-1.0/Atk-1.0.gir \ /usr/share/gir-1.0/GdkPixbuf-2.0.gir \ - "$GI"/build/gir/freetype2-2.0.gir \ + /usr/share/gir-1.0/freetype2-2.0.gir \ /usr/share/gir-1.0/HarfBuzz-0.0.gir \ - "$GI"/build/gir/cairo-1.0.gir \ + /usr/share/gir-1.0/cairo-1.0.gir \ /usr/share/gir-1.0/Pango-1.0.gir \ /usr/share/gir-1.0/PangoCairo-1.0.gir \ /usr/share/gir-1.0/Gdk-4.0.gir \ - "$GI"/build/gir/xlib-2.0.gir \ + /usr/share/gir-1.0/xlib-2.0.gir \ /usr/share/gir-1.0/Graphene-1.0.gir \ /usr/share/gir-1.0/Gsk-4.0.gir \ /usr/share/gir-1.0/Gtk-4.0.gir |