1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 00:30:47 +00:00
serenity/Ports/glu/package.sh
Jelle Raaijmakers b2eaed43e9 Ports: Remove LibGL workarounds
Now that ports can find our OpenGL headers and shared library, remove
all configuration and patches that was previously needed to make ports
compile with LibGL.
2024-02-22 03:48:08 +01:00

26 lines
544 B
Bash
Executable File

#!/usr/bin/env -S bash ../.port_include.sh
port='glu'
version='9.0.3'
files=(
"https://archive.mesa3d.org/glu/glu-${version}.tar.xz#bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f"
)
useconfigure='true'
configopts=(
"--cross-file=${SERENITY_BUILD_DIR}/meson-cross-file.txt"
"--prefix=${SERENITY_INSTALL_ROOT}/usr/local"
'-Dbuildtype=release'
'-Dgl_provider=gl'
)
configure() {
run meson setup "${configopts[@]}" build
}
build() {
run ninja -C build
}
install() {
run ninja -C build install
}