mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
Ports: Use the official release tarball for glu
This commit is contained in:
parent
22b862e9f0
commit
40b9318695
Notes:
sideshowbarker
2024-07-17 10:40:44 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/40b9318695 Pull-request: https://github.com/SerenityOS/serenity/pull/14099 Reviewed-by: https://github.com/linusg
@ -2,29 +2,14 @@
|
||||
port=glu
|
||||
useconfigure="true"
|
||||
version="9.0.2"
|
||||
workdir="glu-glu-${version}"
|
||||
files="https://gitlab.freedesktop.org/mesa/glu/-/archive/glu-${version}/glu-glu-${version}.tar.gz glu-glu-${version}.tar.gz 332d93a16376bc007e8232a8e5534da84e548cf3db9de040442c47a21f4625ba"
|
||||
files="https://archive.mesa3d.org/glu/glu-${version}.tar.gz glu-${version}.tar.gz 24effdfb952453cc00e275e1c82ca9787506aba0282145fff054498e60e19a65"
|
||||
auth_type=sha256
|
||||
depends=("pkgconf")
|
||||
|
||||
export GL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
|
||||
export GL_LIBS="-lgl"
|
||||
|
||||
pre_configure() {
|
||||
export ACLOCAL="aclocal -I${SERENITY_INSTALL_ROOT}/usr/local/lib/pkgconfig"
|
||||
export GL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
|
||||
export GL_LIBS="-lgl"
|
||||
|
||||
run libtoolize
|
||||
run aclocal
|
||||
run autoconf
|
||||
run automake --add-missing
|
||||
|
||||
# Manual config.sub patch
|
||||
run cp config.sub config.sub.contents
|
||||
run mv -f config.sub.contents config.sub
|
||||
run sed -i 's/-haiku/-serenity/' config.sub
|
||||
}
|
||||
|
||||
post_configure() {
|
||||
unset ACLOCAL
|
||||
unset GL_CFLAGS
|
||||
unset GL_LIBS
|
||||
run sed -i 's/haiku/serenity/' config.sub
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user