From 5cc37e756a2e69d63b3efd9e5e121c40815e8df9 Mon Sep 17 00:00:00 2001 From: Henryk Ploetz Date: Fri, 5 Oct 2007 13:28:15 +0000 Subject: gtk-sharp 2.10: add package --- packages/gtk-sharp/.mtn2git_empty | 0 packages/gtk-sharp/gtk-sharp.inc | 11 +++++ packages/gtk-sharp/gtk-sharp_2.10.2.bb | 84 ++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 packages/gtk-sharp/.mtn2git_empty create mode 100644 packages/gtk-sharp/gtk-sharp.inc create mode 100644 packages/gtk-sharp/gtk-sharp_2.10.2.bb (limited to 'packages/gtk-sharp') diff --git a/packages/gtk-sharp/.mtn2git_empty b/packages/gtk-sharp/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/gtk-sharp/gtk-sharp.inc b/packages/gtk-sharp/gtk-sharp.inc new file mode 100644 index 0000000000..1fc9941f2b --- /dev/null +++ b/packages/gtk-sharp/gtk-sharp.inc @@ -0,0 +1,11 @@ +DESCRIPTION = "GTK bindings for mono" +SECTION = "devel/mono" + +DEPENDS = "mono mono-native gtk+ atk pango cairo glib-2.0 libglade " +RDEPENDS = "mono" + +inherit autotools + +# For some reason the URL template changes from version to version, +# therefore use some variables for the directory and extension +SRC_URI = "http://go-mono.com/sources/gtk-sharp${SDIRVER}/gtk-sharp-${PV}.tar.${SEXT}" diff --git a/packages/gtk-sharp/gtk-sharp_2.10.2.bb b/packages/gtk-sharp/gtk-sharp_2.10.2.bb new file mode 100644 index 0000000000..87865b7aed --- /dev/null +++ b/packages/gtk-sharp/gtk-sharp_2.10.2.bb @@ -0,0 +1,84 @@ +PV = "2.10.2" +PR = "r0" +SDIRVER = "210" +SEXT = "bz2" + +inherit mono +require gtk-sharp.inc + +FILES_libgtk2.0-cil = "/usr/lib/libgtksharpglue-2.so \ + /usr/lib/libgdksharpglue-2.so \ + /usr/lib/libpangosharpglue-2.so \ + /usr/lib/mono/gac/gtk-sharp \ + /usr/lib/mono/gac/gdk-sharp \ + /usr/lib/mono/gac/atk-sharp \ + /usr/lib/mono/gac/pango-sharp \ + /usr/lib/mono/gac/gtk-dotnet \ + /usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll \ + /usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll \ + /usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll \ + /usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll \ + /usr/lib/mono/gtk-sharp-2.0/gtk-dotnet.dll \ + /usr/lib/mono/gac/policy.2.*.gtk-sharp/ \ + /usr/lib/mono/gac/policy.2.*.gdk-sharp/ \ + /usr/lib/mono/gac/policy.2.*.atk-sharp/ \ + /usr/lib/mono/gac/policy.2.*.pango-sharp/ \ + /usr/lib/mono/gac/policy.2.*.gtk-dotnet/ \ + /usr/lib/mono/gtk-sharp-2.0/policy.2.*.gtk-sharp.dll \ + /usr/lib/mono/gtk-sharp-2.0/policy.2.*.gdk-sharp.dll \ + /usr/lib/mono/gtk-sharp-2.0/policy.2.*.atk-sharp.dll \ + /usr/lib/mono/gtk-sharp-2.0/policy.2.*.pango-sharp.dll \ + /usr/lib/mono/gtk-sharp-2.0/policy.2.*.gtk-dotnet.dll \ + " +FILES_libgtk2.0-cil-dev = "/usr/lib/pkgconfig/gtk-sharp-2.0.pc \ + /usr/lib/pkgconfig/gtk-dotnet-2.0.pc \ + /usr/share/gapi-2.0/pango-api.xml \ + /usr/share/gapi-2.0/atk-api.xml \ + /usr/share/gapi-2.0/gdk-api.xml \ + /usr/share/gapi-2.0/gtk-api.xml" +FILES_libgtk2.0-cil-dbg = "/usr/lib/.debug/libgtksharpglue-2.so \ + /usr/lib/.debug/libgdksharpglue-2.so \ + /usr/lib/.debug/libpangosharpglue-2.so" + +FILES_libglib2.0-cil = "/usr/lib/mono/gac/glib-sharp \ + /usr/lib/libglibsharpglue-2.so \ + /usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll \ + /usr/lib/mono/gac/policy.2.*.glib-sharp/ \ + /usr/lib/mono/gtk-sharp-2.0/policy.2.*.glib-sharp.dll" +FILES_libglib2.0-cil-dev = "/usr/lib/pkgconfig/glib-sharp-2.0.pc" +FILES_libglib2.0-cil-dbg = "/usr/lib/.debug/libglibsharpglue-2.so" + +FILES_libglade2.0-cil = "/usr/lib/mono/gac/glade-sharp \ + /usr/lib/libgladesharpglue-2.so \ + /usr/lib/mono/gtk-sharp-2.0/glade-sharp.dll \ + /usr/lib/mono/gac/policy.2.*.glade-sharp/ \ + /usr/lib/mono/gtk-sharp-2.0/policy.2.*.glade-sharp.dll" +FILES_libglade2.0-cil-dev = "/usr/lib/pkgconfig/glade-sharp-2.0.pc \ + /usr/share/gapi-2.0/glade-api.xml" +FILES_libglade2.0-cil-dbg = "/usr/lib/.debug/libgladesharpglue-2.so" + +FILES_gtk-sharp-gapi2 = " \ + /usr/bin/gapi2-* \ + /usr/lib/gtk-sharp-2.0/gapi*" +FILES_gtk-sharp-gapi2-dev = "/usr/lib/pkgconfig/gapi-2.0.pc" + +FILES_gtk-sharp2-glue-dev = "/usr/lib/libgtksharpglue-2.la \ + /usr/lib/libgtksharpglue-2.a \ + /usr/lib/libpangosharpglue-2.la \ + /usr/lib/libpangosharpglue-2.a \ + /usr/lib/libgdksharpglue-2.la \ + /usr/lib/libgdksharpglue-2.a" + +FILES_glade-sharp2-glue-dev = " \ + /usr/lib/libgladesharpglue-2.la \ + /usr/lib/libgladesharpglue-2.a" + +FILES_glib-sharp2-glue-dev = " \ + /usr/lib/libglibsharpglue-2.la \ + /usr/lib/libglibsharpglue-2.a" + +PACKAGES = "libgtk2.0-cil libgtk2.0-cil-dev libgtk2.0-cil-dbg \ + libglib2.0-cil libglib2.0-cil-dev libglib2.0-cil-dbg \ + libglade2.0-cil libglade2.0-cil-dev libglade2.0-cil-dbg \ + gtk-sharp-gapi2 gtk-sharp-gapi2-dev \ + gtk-sharp2-glue-dev glade-sharp2-glue-dev glib-sharp2-glue-dev" -- cgit v1.2.3 From c3846fdef452f755cf133d427aca51b81f969d1d Mon Sep 17 00:00:00 2001 From: Henryk Ploetz Date: Wed, 17 Oct 2007 08:18:23 +0000 Subject: gtk-sharp: Inherit pkconfig to stage .pc files, so other packages can compile against gtk-sharp --- packages/gtk-sharp/gtk-sharp_2.10.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/gtk-sharp') diff --git a/packages/gtk-sharp/gtk-sharp_2.10.2.bb b/packages/gtk-sharp/gtk-sharp_2.10.2.bb index 87865b7aed..ddb209e15c 100644 --- a/packages/gtk-sharp/gtk-sharp_2.10.2.bb +++ b/packages/gtk-sharp/gtk-sharp_2.10.2.bb @@ -1,9 +1,9 @@ PV = "2.10.2" -PR = "r0" +PR = "r1" SDIRVER = "210" SEXT = "bz2" -inherit mono +inherit mono pkgconfig require gtk-sharp.inc FILES_libgtk2.0-cil = "/usr/lib/libgtksharpglue-2.so \ -- cgit v1.2.3