diff options
Diffstat (limited to 'sources/build-mono-bindings.sh')
-rwxr-xr-x | sources/build-mono-bindings.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sources/build-mono-bindings.sh b/sources/build-mono-bindings.sh new file mode 100755 index 0000000..bca765e --- /dev/null +++ b/sources/build-mono-bindings.sh @@ -0,0 +1,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 |