From patchwork Sun Dec 18 09:32:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: libsdl 1.2.14: fix packaging Date: Sun, 18 Dec 2011 09:32:11 -0000 From: Koen Kooi X-Patchwork-Id: 17195 Message-Id: <1324200731-10753-1-git-send-email-koen@dominion.thruhere.net> To: openembedded-core@lists.openembedded.org Cc: Koen Kooi 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 --- 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"