aboutsummaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorJason Smith <jason@t500>2009-12-07 19:11:11 -0500
committerJason Smith <jason@t500>2009-12-07 19:11:11 -0500
commitdc33785e02e846dc061b06a349a1d6033e333d35 (patch)
treeae645b0b425575b674730938abf1ef3e5d04a2be /sources
parent633509804d73121082eaa5f02c361d3f8df510b2 (diff)
downloadayatana-indicator-application-dc33785e02e846dc061b06a349a1d6033e333d35.tar.gz
ayatana-indicator-application-dc33785e02e846dc061b06a349a1d6033e333d35.tar.bz2
ayatana-indicator-application-dc33785e02e846dc061b06a349a1d6033e333d35.zip
Add script to automate building (someone should do this without autofoo)
Diffstat (limited to 'sources')
-rwxr-xr-xsources/build-mono-bindings.sh11
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