[oe] [PATCH 1/8] libsdl-gfx: initial add 2.0.25

Khem Raj raj.khem at gmail.com
Thu Oct 4 06:37:30 UTC 2018


Hi Andreas


On 10/3/18 1:56 PM, Andreas Müller wrote:
> On Wed, Oct 3, 2018 at 10:32 PM Khem Raj <raj.khem at gmail.com> wrote:
>>
>> On Wed, Oct 3, 2018 at 12:25 PM Andreas Müller <schnitzeltony at gmail.com> wrote:
>>>
>>> Recipes like this live in in meta-games and meta-game-emulators. Once applied
>>> here, pull requests will go out.
>>>
>>> Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
>>> ---
>>>  meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb | 20 ++++++++++++++++++++
>>>  1 file changed, 20 insertions(+)
>>>  create mode 100644 meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb
>>>
>>> diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb b/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb
>>> new file mode 100644
>>> index 000000000..c9910cb1b
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb
>>> @@ -0,0 +1,20 @@
>>> +SUMMARY = "SDL graphics drawing primitives and other support functions"
>>> +SECTION = "libs"
>>> +LICENSE = "Zlib"
>>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5d1de21f0b70830e299905eac3419084"
>>> +
>>> +DEPENDS = "virtual/libsdl"
>>> +
>>> +SRC_URI = "http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${PV}.tar.gz"
>>> +SRC_URI[md5sum] = "ea24ed4b82ff1304809c363494fa8e16"
>>> +SRC_URI[sha256sum] = "556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0"
>>> +
>>> +S = "${WORKDIR}/SDL_gfx-${PV}"
>>> +
>>> +inherit autotools pkgconfig
>>> +
>>> +EXTRA_OECONF += " \
>>> +    SDL_CONFIG=${STAGING_BINDIR_CROSS}/pkg-config sdl \
>>
>> is the intention to have SDL_CONFIG point to pkg-config here
>>
> I was under the impression it replaces sdl-config (sdl-config supports
> for basic stuff as cflags and libs same arguments as pkg-config). Now
> that you ask I checked and grepping did not show my why I should set
> it (it is mentioned in the doc but...).
> So I tested and it builds fine without setting SDL_CONFIG. So V2 is
> near - thanks for the pointer.

I was thinking it should be

SDL_CONFIG="${STAGING_BINDIR_CROSS}/pkg-config sdl"

> 
> Andreas
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20181003/652e7552/attachment-0002.sig>


More information about the Openembedded-devel mailing list