From dc33785e02e846dc061b06a349a1d6033e333d35 Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Mon, 7 Dec 2009 19:11:11 -0500 Subject: Add script to automate building (someone should do this without autofoo) --- sources/build-mono-bindings.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 sources/build-mono-bindings.sh 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 -- cgit v1.2.3