[OE-core] [PATCH] libsdl 1.2.14: fix packaging
Koen Kooi
koen at dominion.thruhere.net
Sun Dec 18 10:01:16 UTC 2011
Op 18 dec. 2011, om 10:50 heeft Martin Jansa het volgende geschreven:
> On Sun, Dec 18, 2011 at 10:32:11AM +0100, Koen Kooi wrote:
>> 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 <koen at dominion.thruhere.net>
>> ---
>> 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""
>
> Looks like extra quote ^
indeed and I have a better fix for the packaging problem, v2 coming up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111218/733b960d/attachment-0002.sig>
More information about the Openembedded-core
mailing list