about summary refs log tree commit diff
path: root/generate4
blob: de2eb6f2e4b3b8157925a584d94780caed6e7261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh

BIND=./bindings

mkdir -p "$BIND"/glib "$BIND"/gobject "$BIND"/gio "$BIND"/gmodule "$BIND"/atk \
	"$BIND"/gdkpixbuf "$BIND"/freetype "$BIND"/harfbuzz "$BIND"/cairo \
	"$BIND"/pango "$BIND"/pangocairo "$BIND"/gdk4 "$BIND"/xlib "$BIND"/graphene \
	"$BIND"/gsk "$BIND"/gtk4

hare build cmd/hare-gi && exec ./hare-gi -B \
	-m GLib,glib,"$BIND"/glib/_generated.ha \
	-m GObject,gobject,"$BIND"/gobject/_generated.ha \
	-m Gio,gio,"$BIND"/gio/_generated.ha \
	-m GModule,gmodule,"$BIND"/gmodule/_generated.ha \
	-m Atk,atk,"$BIND"/atk/_generated.ha \
	-m GdkPixbuf,gdkpixbuf,"$BIND"/gdkpixbuf/_generated.ha \
	-m freetype2,freetype,"$BIND"/freetype/_generated.ha \
	-m HarfBuzz,harfbuzz,"$BIND"/harfbuzz/_generated.ha \
	-m cairo,cairo,"$BIND"/cairo/_generated.ha \
	-m Pango,pango,"$BIND"/pango/_generated.ha \
	-m PangoCairo,pangocairo,"$BIND"/pangocairo/_generated.ha \
	-m Gdk,gdk4,"$BIND"/gdk4/_generated.ha \
	-m xlib,xlib,"$BIND"/xlib/_generated.ha \
	-m Graphene,graphene,"$BIND"/graphene/_generated.ha \
	-m Gsk,gsk,"$BIND"/gsk/_generated.ha \
	-m Gtk,gtk4,"$BIND"/gtk4/_generated.ha \
	/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 \
	/usr/share/gir-1.0/freetype2-2.0.gir \
	/usr/share/gir-1.0/HarfBuzz-0.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 \
	/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