For some reason the -config script was shipped in ${PN} leading to shlibs 
renaming issues:

What we want, and how meta-oe used to do it:
        libsdl-1.2-0_1.2.14-r0.0_armv7a.ipk

Current OE-core status:
        libsdl_1.2.14-r2_armv7a.ipk

With this commit we get both proper shlib renaming and the -dev package now has 
all the dev files

Signed-off-by: Koen Kooi <[email protected]>
---
 meta/recipes-graphics/libsdl/libsdl_1.2.14.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb 
b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
index a28a88a..761995e 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
@@ -15,7 +15,7 @@ PROVIDES = "virtual/libsdl"
 DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', 
d)} virtual/libx11 libxext libxrandr libxrender tslib"
 DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk 
libxrender-nativesdk libxext-nativesdk"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
            file://configure_tweak.patch \
@@ -57,4 +57,6 @@ do_configure_prepend() {
         export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
 }
 
+FILES_${PN}-dev += "${bindir}/sdl-config""
+
 BBCLASSEXTEND = "nativesdk"
-- 
1.7.2.5


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to