2024-09-01 12:08:31 +00:00
|
|
|
# SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
|
|
|
# SPDX-License-Identifier: CC-BY-NC-ND-4.0
|
|
|
|
|
2024-08-06 04:12:08 +00:00
|
|
|
name: sdl2
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
builddir: true
|
|
|
|
config-opts:
|
|
|
|
- "-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
- "-DBUILD_SHARED_LIBS=ON"
|
|
|
|
- "-DSDL_SHARED=ON"
|
|
|
|
- "-DSDL_STATIC=OFF"
|
|
|
|
- "-DSDL_TESTS=OFF"
|
|
|
|
build-options:
|
|
|
|
strip: true
|
|
|
|
sources:
|
|
|
|
- type: archive
|
|
|
|
url: "https://github.com/libsdl-org/SDL/releases/download/release-2.30.6/SDL2-2.30.6.tar.gz"
|
|
|
|
sha256: "c6ef64ca18a19d13df6eb22df9aff19fb0db65610a74cc81dae33a82235cacd4"
|
|
|
|
cleanup:
|
|
|
|
- /bin
|
|
|
|
- /include
|
|
|
|
- /lib/*.a
|
|
|
|
- /lib/*.la
|
|
|
|
- /lib/cmake
|
|
|
|
- /lib/pkgconfig
|
|
|
|
- /share/aclocal
|