1 # sdl pkg-config source file 2 3 prefix=/usr/local/cross-tools/x86_64-w64-mingw32 4 exec_prefix=${prefix} 5 libdir=${exec_prefix}/lib 6 includedir=${prefix}/include 7 8 Name: sdl2 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. 10 Version: 2.0.3 11 Requires: 12 Conflicts: 13 Libs: -L${libdir} -lmingw32 -lSDL2main -lSDL2 -mwindows 14 Libs.private: -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -XCClinker -static-libgcc 15 Cflags: -I${includedir}/SDL2 -Dmain=SDL_main 16