[yocto] [meta-mono] [PATCH 02/11] dbus-sharp-glib: use mono.bbclass

Richard Tollerton rich.tollerton at ni.com
Thu Jul 16 16:16:12 PDT 2015


Signed-off-by: Richard Tollerton <rich.tollerton at ni.com>
---
 recipes-mono/dbus-sharp-glib/dbus-sharp-glib.inc | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/recipes-mono/dbus-sharp-glib/dbus-sharp-glib.inc b/recipes-mono/dbus-sharp-glib/dbus-sharp-glib.inc
index 2028609..8be7a65 100644
--- a/recipes-mono/dbus-sharp-glib/dbus-sharp-glib.inc
+++ b/recipes-mono/dbus-sharp-glib/dbus-sharp-glib.inc
@@ -1,11 +1,12 @@
 SUMMARY = "C# implementation of D-Bus GlibC integration module"
 DESCRIPTION = "This is a fork of ndesk-dbus-glib, which provides GLib main loop integration for Managed D-Bus."
 SECTION = "devel/mono"
-DEPENDS = "mono dbus-sharp"
+DEPENDS = "dbus-sharp"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "files://COPYING;md5=ea73672fbe49f67f1c1b44a7e763dab4"
 
 inherit autotools
+inherit mono
 
 def dbus_sharp_glib_download_version(d):
     pvsplit = d.getVar('PV', True).split('.')
@@ -19,16 +20,6 @@ S = "${WORKDIR}/${PN}-${SDIRVER}"
 
 FILESPATH =. "${FILE_DIRNAME}/${PN}-${PV}:"
 
-FILES_${PN} += " \
-  ${libdir}/mono/dbus-sharp-glib-2.0/dbus-sharp-glib.dll \
-  ${libdir}/mono/gac/dbus-sharp-glib/*/*.config \
-  ${libdir}/mono/gac/dbus-sharp-glib/*/*dll \
-"
-
-FILES_${PN}-dbg += " \
-  ${libdir}/mono/gac/dbus-sharp-glib/*/*.mdb \
-"
-
 do_configure_prepend() {
   export DBUS_SHARP_LIBS="/r:${STAGING_LIBDIR}/mono/dbus-sharp-2.0/dbus-sharp.dll"
 }
-- 
2.4.4




More information about the yocto mailing list