ladybird/Ports/SDL2/SDL2.sh
Andreas Kling 2daf89e2f7 Ports: Fix SDL2 port trying to build against PulseAudio for some reason.
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-07-01 14:08:15 +02:00

16 lines
244 B
Bash
Executable file

#!/bin/sh
PORT_DIR=SDL
fetch() {
run_fetch_git "https://github.com/SerenityOS/SDL"
}
configure() {
CMAKEOPTS="-DPULSEAUDIO=OFF"
run_configure_cmake
}
build() {
run_make
}
install() {
run_make_install
}
. ../.port_include.sh