2021-01-22 16:44:05 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2019-09-24 06:56:39 +00:00
|
|
|
port=SDL2
|
|
|
|
version=serenity-git
|
2021-03-27 21:57:08 +00:00
|
|
|
workdir=SDL-main-serenity
|
2019-09-24 06:56:39 +00:00
|
|
|
useconfigure=true
|
2021-04-19 19:49:13 +00:00
|
|
|
files="https://github.com/SerenityOS/SDL/archive/main-serenity.tar.gz SDL2-git.tar.gz"
|
2021-04-20 15:42:04 +00:00
|
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_SOURCE_DIR}/Toolchain/CMake/CMakeToolchain.txt -DPULSEAUDIO=OFF -DJACK=OFF"
|
2019-09-24 06:56:39 +00:00
|
|
|
|
|
|
|
configure() {
|
2019-11-03 09:05:02 +00:00
|
|
|
run cmake $configopts
|
2019-09-24 06:56:39 +00:00
|
|
|
}
|
2019-12-25 22:18:08 +00:00
|
|
|
|
|
|
|
install() {
|
|
|
|
run make install
|
|
|
|
}
|