aboutsummaryrefslogtreecommitdiff
path: root/sources/build-mono-bindings.sh
blob: bca765e30114cfe9fd246afcb8b5d599accf2220 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

gapi2-parser app-indicator.sources.xml

cp libappindicator-api.raw libappindicator-api.xml

gapi2-fixup --api=libappindicator-api.xml --metadata=libappindicator-api.metadata

gapi2-codegen  --outdir=generated `pkg-config --cflags gtk-sharp-2.0` --generate libappindicator-api.xml

gmcs -pkg:gtk-sharp-2.0 -target:library -out:AppIndicator.dll generated/*.cs