1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:47:45 +00:00

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.
This commit is contained in:
Jelle Raaijmakers 2024-02-21 16:33:13 +01:00 committed by Tim Schumacher
parent 857ab2e06d
commit b2eaed43e9
24 changed files with 48 additions and 157 deletions

View file

@ -27,7 +27,6 @@ icon_file='icons/scummvm.ico'
export CPPFLAGS='-fvisibility=hidden'
export FREETYPE2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/freetype2"
export OPENGL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
export SDL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
function post_install() {

View file

@ -1,23 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Sun, 9 Jan 2022 23:01:32 +0100
Subject: [PATCH] Teach configure about serenity
---
configure | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure b/configure
index 5c28f7e35038236debbdeb3c396ce65f1189b13d..5bbf819fe31d24ac215d59f730bd64eac69c0bfd 100755
--- a/configure
+++ b/configure
@@ -5843,6 +5843,9 @@ EOF
mingw*)
OPENGL_LIBS="-lopengl32"
;;
+ serenity*)
+ OPENGL_LIBS="-lgl"
+ ;;
*)
OPENGL_LIBS="-lGL"
;;

View file

@ -1,7 +0,0 @@
# Patches for scummvm on SerenityOS
## `0001-Teach-configure-about-serenity.patch`
Teach configure about serenity