summaryrefslogtreecommitdiff
path: root/Ports/SDL2
AgeCommit message (Collapse)Author
2022-09-17Ports: Make SDL2 build since recent `GL::create_context` changesJelle Raaijmakers
We also directly invoke `::present` on `GLContext` instead of going through the static method `GL::present_context`.
2022-09-03Ports: Support `SDL_WINDOWEVENT_CLOSE` in SDL2Jelle Raaijmakers
This allows PrBoom+ to properly quit the application when closing the main window.
2022-08-31Ports: Support "restarts" in SDL2Jelle Raaijmakers
SDL2 applications are prone to reinitializing the SDL components when, for example, changing the display resolution. This would lead to crashes since we were doing things in the wrong order. * We now decouple `GLContext` from `SDL_Window` a bit more, allowing the window to be destroyed before the GLContext. * Do not quit the `GUI::Application`, let our event loop handle exiting These changes allow changing the display resolution in the Quake3 port.
2022-08-28Ports: Disable libsamplerate dependency for SDL2Valtteri Koskivuori
On Arch Linux, the build was picking up the system libsamplerate, which is undesirable. Unlikely that it is needed on Serenity, so disabling it is a good workaround.
2022-08-23Ports/SDL2: Update to 2.24.0Tim Schumacher
2022-08-23Ports/SDL2: Do an out-of-tree buildTim Schumacher
SDL 2.24.0 starts having include loops if we try to do an in-tree build against its wishes, so let's not do that anymore.
2022-07-23Ports/SDL2: Rename LibAudio connection to ConnectionToServerTim Schumacher
2022-07-16Ports/SDL2: Update for the recent `StringView` changesTim Schumacher
2022-06-10Ports/SDL2: Implement a basic keyboard focusTim Schumacher
Some SDL applications will not process inputs that they receive without ensuring that they have the keyboard input focus.
2022-06-08Ports: Format patches without numbering, commit hash or version numberTim Schumacher
2022-05-25Ports: Update SDL2 to 2.0.22Tim Schumacher
2022-05-25Ports: Return SDL2 to upstreamTim Schumacher
2022-04-29Ports: Compile SDL2 against LibAudioJelle Raaijmakers
2021-10-16Ports: Fix dependencies for SDL2Tim Schumacher
We are doing nonstandard stuff with our headers, so SDL assumed that both iconv and dlopen are available inside LibC, which they aren't. Fix that by adding a dependency on libiconv and adding additional linker flags.
2021-10-05Ports: Make array-like settings actual arraysTim Schumacher
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
2021-09-15Ports: Use new CMakeToolchain.txt located in the build directoryAndrew Kaster
Now that we're generating the CMake toolchain file in the build directory, we need to redirect the ports that use CMake to the new location. Looking into this showed that there's still a bunch of work to do in general to make the ports agnostic to which toolchain they're using, there's a lot of hard-coded ${ARCH}-pc-serenity-gcc assumptions still here.
2021-08-30Ports: Update relocated portsAndreas Kling
Port repos have been moved to the new SerenityPorts organization on GitHub, to declutter the main SerenityOS organization.
2021-04-23Ports: Fix version numbers for some of the portsGunnar Beutner
2021-04-20Ports: Improve consistency and quality of portsPanagiotis Vasilopoulos
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
2021-04-20Ports: Remove auth_type for our own packagesGunnar Beutner
Otherwise we'd have to update them in this repository every time something changes.
2021-04-20Everywhere: Replace SERENITY_ROOT with SERENITY_SOURCE_DIRPanagiotis Vasilopoulos
2021-04-16Ports: SDL2: Use correct CMAKE_TOOLCHAIN_FILE in configoptsBrendan Coles
2021-04-16Ports: Add auth_type verification to all package.sh filesBrendan Coles
2021-04-16Toolchain+Ports: Move the CMake toolchain file into a subdirectoryGunnar Beutner
2021-03-27Ports: Switch to new SDL2 portAndreas Kling
I've rebased the SDL2 port on top of the latest SDL2 main branch. This patch simply points the SDL2 port scripts to the new branch.
2021-01-22Meta: Get building on NixOS (#5005)Jonathan Turner
2020-02-10Ports: Disable JACK for SDL2 in `configopts`Jesse Buhagiar
This is causing build errors for myself and a few other people. This config option disables the SDL2 port from trying to compile with the JACK audio server (which we don't need).
2020-02-06Ports: Added checksums / signature files and other fixesEmanuel Sprung
* Use ${version} instead of explicit version numbers in urls/filenames * Move -L option to port script, as this is always good * Fix some various other stuff
2019-12-25Ports: Fix SDL2 install stepAndreas Kling
Ports using CMake already install into the right place, so we don't need to do the usual port system DESTDIR override.
2019-11-03Ports: Undo POSIX sh compliance changes for nowAndreas Kling
Partial revert of 704f48d7f3a1a88047a64b4e2939878d6d4fafb8. These changes made the ports system unusable.
2019-11-03POSIX compliance: (most) shell scripts converted to generic shellGeorge Pickering
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh have been left largely untouched due to use of Bash-exclusive functions and variables such as $BASH_SOURCE, pushd and popd.
2019-09-24Ports: Switch to new ports system (#594)Larkin
Much redundancy is removed from package scripts with this system. It also supports simple dependency management, uninstalling (through BSD ports style plist files), cleaning up after itself (with clean, clean_dist, clean_all commands), etc.
2019-07-01Ports: Fix SDL2 port trying to build against PulseAudio for some reason.Andreas Kling
I didn't look into why, but for some reason the SDL2 cmake build system thinks it should build against PulseAudio which we definitely don't have. So just tell it explicitly not to do that. Fixes #265.
2019-06-05Ports: Remove bashisms and switch all scripts to /bin/sh.Larkin Nickle
2019-05-28Move everything to a subdirectoryRobin Burchell
Also don't run cd for the initial git clone (DERP!), and other bash port fixes.