build: Add a pkg-config file for gdk-sharp-3.0
This allows consumers to specifically require gdk-sharp-3.0 without having to pull in the full gtk-sharp-3.0. Closes issue #101. Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
This commit is contained in:
parent
40b90d2407
commit
dee590926a
4 changed files with 19 additions and 3 deletions
|
@ -242,6 +242,7 @@ atk/Makefile
|
|||
atk/atk-sharp.dll.config
|
||||
atk/glue/Makefile
|
||||
gdk/Makefile
|
||||
gdk/gdk-sharp-3.0.pc
|
||||
gdk/gdk-sharp.dll.config
|
||||
gtk/Makefile
|
||||
gtk/gtk-sharp-3.0.pc
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
pkg = gdk
|
||||
pkgconfigdir=$(libdir)/pkgconfig
|
||||
pkgconfig_DATA=gdk-sharp-3.0.pc
|
||||
|
||||
SYMBOLS = gdk-symbols.xml
|
||||
INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_srcdir)/cairo/cairo-api.xml $(top_builddir)/gio/gio-api.xml $(top_builddir)/pango/pango-api.xml
|
||||
METADATA = Gdk.metadata
|
||||
|
|
12
gdk/gdk-sharp-3.0.pc.in
Normal file
12
gdk/gdk-sharp-3.0.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix=${pcfiledir}/../..
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
gapidir=${prefix}/share/gapi-3.0
|
||||
|
||||
|
||||
Name: Gdk#
|
||||
Description: Gdk# - GDK .NET Binding
|
||||
Version: @VERSION@
|
||||
Cflags: -I:${gapidir}/gdk-api.xml
|
||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gdk-sharp.dll
|
||||
Requires: glib-sharp-3.0
|
|
@ -7,6 +7,6 @@ gapidir=${prefix}/share/gapi-3.0
|
|||
Name: Gtk#
|
||||
Description: Gtk# - GNOME .NET Binding
|
||||
Version: @VERSION@
|
||||
Cflags: -I:${gapidir}/pango-api.xml -I:${gapidir}/atk-api.xml -I:${gapidir}/gdk-api.xml -I:${gapidir}/gtk-api.xml
|
||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/cairo-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/pango-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/atk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gdk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-sharp.dll
|
||||
Requires: glib-sharp-3.0 gio-sharp-3.0
|
||||
Cflags: -I:${gapidir}/pango-api.xml -I:${gapidir}/atk-api.xml -I:${gapidir}/gtk-api.xml
|
||||
Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/cairo-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/pango-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/atk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-sharp.dll
|
||||
Requires: glib-sharp-3.0 gio-sharp-3.0 gdk-sharp-3.0
|
||||
|
|
Loading…
Reference in a new issue