/usr/lib/gtk-sharp-2.0 and /usr/share/gapi-2.0 are (AFAIK) only used for
building, and so belong in gtk-sharp-dev.

All other relevant FILES entries have been rolled into mono.bbclass.

Signed-off-by: Richard Tollerton <[email protected]>
---
 recipes-mono/gtk-sharp/gtk-sharp.inc | 23 ++++-------------------
 1 file changed, 4 insertions(+), 19 deletions(-)

diff --git a/recipes-mono/gtk-sharp/gtk-sharp.inc 
b/recipes-mono/gtk-sharp/gtk-sharp.inc
index 45d12b2..e466a8b 100644
--- a/recipes-mono/gtk-sharp/gtk-sharp.inc
+++ b/recipes-mono/gtk-sharp/gtk-sharp.inc
@@ -2,11 +2,11 @@ SUMMARY = "GUI toolkit for Mono"
 DESCRIPTION = "GTK+ bindings for Mono"
 SECTION = "devel/mono"
 BUGTRACKER = "http://bugzilla.xamarin.com";
-RDEPENDS_${PN} = "mono"
 LICENSE = "LGPL-2.1"
 RDEPENDS_${PN}-dev += "perl"
 
 inherit autotools
+inherit mono
 
 # For some reason the URL template changes from version to version,
 # therefore use some variables for the directory and extension
@@ -21,22 +21,7 @@ def gtk_sharp_download_version(d):
 
 FILESPATH =. "${FILE_DIRNAME}/gtk-sharp-${PV}:"
 
-FILES_${PN} = "\
-  ${bindir}/* \
-  ${libdir}/* \
+FILES_${PN}-dev += "\
+  ${libdir}/${PN}*/* \
+  ${datadir}/* \
 "
-
-FILES_${PN}-dbg = "\
-    ${libdir}/.debug \
-    ${datadir}/* \
-    /usr/src/* \
-"
-
-FILES_${PN}-doc = "\
-    ${libdir}/monodoc/* \
-"
-
-FILES_${PN}-dev = "\
-    ${libdir}/pkgconfig \
-"
-
-- 
2.4.4

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to