sdl2.pc.in
author Philipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 22 Feb 2015 23:21:32 +0100
changeset 9373 679eb3986e37
parent 7876 d6373384b5ce
permissions -rw-r--r--
Emscripten: Fixed out of range joystick device index after joystick disconnect.

After disconnecting a joystick the remaining kept their original device index.
This was not correct because the device index must be a number between 0 and
SDL_NumJoysticks(). It was fixed with ideas from SDL's joystick implementation
for Android. Some range checks were removed as the caller already checks them.
slouken@1866
     1
# sdl pkg-config source file
slouken@1866
     2
slouken@1866
     3
prefix=@prefix@
slouken@1866
     4
exec_prefix=@exec_prefix@
slouken@1866
     5
libdir=@libdir@
slouken@1866
     6
includedir=@includedir@
slouken@1866
     7
slouken@6250
     8
Name: sdl2
slouken@1866
     9
Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.
slouken@1866
    10
Version: @SDL_VERSION@
slouken@1866
    11
Requires:
slouken@1866
    12
Conflicts:
slouken@7876
    13
Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
slouken@2293
    14
Libs.private: @SDL_STATIC_LIBS@
slouken@6250
    15
Cflags: -I${includedir}/SDL2 @SDL_CFLAGS@