Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions projects/libsdl.org/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,37 @@ versions:
dependencies:
linux:
# all since v3.2.0
alsa-project.org/alsa-lib: '>=1.0.11'
x.org/x11: '*'
x.org/xcursor: '*'
x.org/xi: '*'
x.org/xrandr: '*'
x.org/xfixes: '*'
x.org/xrender: '*'
x.org/xscrnsaver: '*'
x.org/exts: '*'
alsa-project.org/alsa-lib: ">=1.0.11"
x.org/x11: "*"
x.org/xcursor: "*"
x.org/xi: "*"
x.org/xrandr: "*"
x.org/xfixes: "*"
x.org/xrender: "*"
x.org/xscrnsaver: "*"
x.org/exts: "*"

build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/autoconf: "*"
gnu.org/automake: "*"
gnu.org/libtool: 2
cmake.org: ^3
script:
- run:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
if: <3.2
- run:
- if test "{{hw.platform}}" = "linux"; then
- export CMAKE_ARGS="$CMAKE_ARGS -DSDL_X11_XTEST=OFF"
- fi
if: ">=3.4"
- run:
- cmake -S .. $CMAKE_ARGS
- cmake --build .
- cmake --install .
if: '>=3.2'
if: ">=3.2"
working-directory: build

# often stuff expects SDL.h to be directly in the include-path
Expand All @@ -44,7 +49,7 @@ build:
working-directory: ${{prefix}}/include

- run: find . -name '*.la' -exec rm -f {} \;
working-directory: '{{prefix}}/lib'
working-directory: "{{prefix}}/lib"

env:
ARGS:
Expand Down
Loading