about summary refs log tree commit diff
path: root/scripts/generate-gtk3
blob: bf57ff50fc001f415e2b807c2ca886149fffb461 (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
#!/bin/sh

BIND=./gi
NS=gi::

mkdir -p "$BIND"/glib "$BIND"/gobject "$BIND"/gio "$BIND"/gmodule "$BIND"/atk \
	"$BIND"/gdkpixbuf "$BIND"/freetype "$BIND"/harfbuzz "$BIND"/cairo \
	"$BIND"/pango "$BIND"/gdk "$BIND"/xlib "$BIND"/gtk

exec ./hare-gi -B \
	-m GLib,${NS}glib,"$BIND"/glib/_generated.ha \
	-m GObject,${NS}gobject,"$BIND"/gobject/_generated.ha \
	-m Gio,${NS}gio,"$BIND"/gio/_generated.ha \
	-m GModule,${NS}gmodule,"$BIND"/gmodule/_generated.ha \
	-m Atk,${NS}atk,"$BIND"/atk/_generated.ha \
	-m GdkPixbuf,${NS}gdkpixbuf,"$BIND"/gdkpixbuf/_generated.ha \
	-m freetype2,${NS}freetype,"$BIND"/freetype/_generated.ha \
	-m HarfBuzz,${NS}harfbuzz,"$BIND"/harfbuzz/_generated.ha \
	-m cairo,${NS}cairo,"$BIND"/cairo/_generated.ha \
	-m Pango,${NS}pango,"$BIND"/pango/_generated.ha \
	-m Gdk,${NS}gdk,"$BIND"/gdk/_generated.ha \
	-m xlib,${NS}xlib,"$BIND"/xlib/_generated.ha \
	-m Gtk,${NS}gtk,"$BIND"/gtk/_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/Gdk-3.0.gir \
	/usr/share/gir-1.0/xlib-2.0.gir \
	/usr/share/gir-1.0/Gtk-3.0.gir