summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-04 14:28:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-05 14:33:57 +0100
commit98777950648f4b61f36308c7b1958c2605cf6bae (patch)
tree471d0e644dd94af8554ea76097da38d8a0f79b1f /meta/recipes-graphics
parentb13184ccccad9e1b6df44283a9a439d305033cef (diff)
downloadpoky-98777950648f4b61f36308c7b1958c2605cf6bae.tar.gz
cogl: fix G-I .typelib installation
By default gobject-introspection puts .typelib files into $PN, but the cogl-1.0 recipe doesn't use PN. Installing cogl-1.0 is impossible as libcogl conflicts/replaces with cogl-1.0 due to a previous upgrade. Fix this by putting the .typelib files into the right subpackages, and explicitly setting FILES_${PN} to "" so that nothing accidently ends up in PN. (From OE-Core rev: c5c47bc30be52e3b70d74cf89d5c68adbbb1a402) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/cogl/cogl-1.0.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc
index fc7cffee4b..690ea3b86e 100644
--- a/meta/recipes-graphics/cogl/cogl-1.0.inc
+++ b/meta/recipes-graphics/cogl/cogl-1.0.inc
@@ -61,10 +61,11 @@ do_compile_prepend() {
61 export GIR_EXTRA_LIBS_PATH="${B}/cogl/.libs" 61 export GIR_EXTRA_LIBS_PATH="${B}/cogl/.libs"
62} 62}
63 63
64FILES_${PN} = ""
64FILES_${PN}-examples = "${bindir}/* ${datadir}/cogl/examples-data/*" 65FILES_${PN}-examples = "${bindir}/* ${datadir}/cogl/examples-data/*"
65FILES_libcogl = "${libdir}/libcogl${SOLIBS}" 66FILES_libcogl = "${libdir}/libcogl${SOLIBS} ${libdir}/girepository-1.0/Cogl-*.typelib"
66FILES_libcogl-gles2 = "${libdir}/libcogl-gles2${SOLIBS}" 67FILES_libcogl-gles2 = "${libdir}/libcogl-gles2${SOLIBS}"
67FILES_libcogl-pango = "${libdir}/libcogl-pango${SOLIBS}" 68FILES_libcogl-pango = "${libdir}/libcogl-pango${SOLIBS} ${libdir}/girepository-1.0/CoglPango*.typelib"
68 69
69FILES_libcogl-path = "${libdir}/libcogl-path${SOLIBS}" 70FILES_libcogl-path = "${libdir}/libcogl-path${SOLIBS}"
70 71