Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:mingw:win32:sdr
mingw32-SDL2
mingw32-SDL2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-SDL2.spec of Package mingw32-SDL2
# # spec file for package mingw32-SDL2 # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mingw32-SDL2 %define lname mingw32-libSDL2 Version: 2.30.0 Release: 0 Summary: Simple DirectMedia Layer Library License: Zlib Group: Development/Libraries/X11 URL: http://libsdl.org/ #DL-URL: https://libsdl.org/download-2.0.php Source: https://libsdl.org/release/SDL2-%version.tar.gz Source2: https://libsdl.org/release/SDL2-%version.tar.gz.sig Source3: %name.keyring Patch0: fix-building-with-mingw-header-12.patch BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-pkg-config BuildRequires: nasm BuildArch: noarch %_mingw32_package_header_debug %description This is the "Simple DirectMedia Layer" library. It provides a generic API for access to audio, keyboard, mouse, and display framebuffer across multiple platforms. %package -n %lname Summary: Simple DirectMedia Layer Library for MinGW-i686 Group: System/Libraries Provides: SDL2 = %version-%release %description -n %lname This is the "Simple DirectMedia Layer" library. It provides a generic API for access to audio, keyboard, mouse, and display framebuffer across multiple platforms. %package -n mingw32-libSDL2-devel Summary: SDL2 Library Developer Files Group: Development/Libraries/X11 Provides: mingw32-SDL2-devel = %version-%release %description -n mingw32-libSDL2-devel This package contains files needed for development with the SDL2 library. %_mingw32_debug_package %prep %autosetup -p1 -n SDL2-%version perl -i -pe 's{\r\n}{\n}g' *.txt README.md %build echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache} %_mingw32_configure --disable-directx --disable-static %make_build %install %make_install rm -f %buildroot/%_mingw32_libdir/libSDL2_test.a rm -rf %buildroot/%_mingw32_libdir/cmake %files -n %lname %license LICENSE.txt %doc README.md README-SDL.txt %_mingw32_bindir/SDL2.dll %files -n mingw32-libSDL2-devel %_mingw32_bindir/sdl2-config %_mingw32_libdir/libSDL2.dll.a %_mingw32_libdir/libSDL2main.a %_mingw32_includedir/SDL2/ %_mingw32_datadir/aclocal/ %_mingw32_libdir/pkgconfig/sdl2.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor