sdl2-compat: Fix pkg-config file and the sdl2-config script.

From f84c74da17e37d3ea63ddc563482f725b8b2c7ac Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 26 Jul 2023 08:40:50 +0300
Subject: [PATCH] Fix pkg-config file and the sdl2-config script.

Fixes: https://github.com/libsdl-org/sdl2-compat/issues/85
---
 sdl2-config.in    | 2 +-
 sdl2_compat.pc.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdl2-config.in b/sdl2-config.in
index e564bf3..d21b1b2 100755
--- a/sdl2-config.in
+++ b/sdl2-config.in
@@ -50,7 +50,7 @@ while test $# -gt 0; do
       echo @PROJECT_VERSION@
       ;;
     --cflags)
-      echo -I${includedir}/SDL @SDL_CFLAGS@
+      echo -I${includedir}/SDL2 @SDL_CFLAGS@
       ;;
 @ENABLE_SHARED_TRUE@    --libs)
 @ENABLE_SHARED_TRUE@      echo -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
diff --git a/sdl2_compat.pc.in b/sdl2_compat.pc.in
index 3518708..2f0f9c0 100644
--- a/sdl2_compat.pc.in
+++ b/sdl2_compat.pc.in
@@ -8,7 +8,7 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
 Name: sdl2_compat
 Description: An SDL2 compatibility layer that uses SDL3 behind the scenes.
 Version: @PROJECT_VERSION@
-Provides: sdl = @PROJECT_VERSION@
+Provides: sdl2 = @PROJECT_VERSION@
 Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
 @ENABLE_STATIC_TRUE@Libs.private: -L${libdir} @SDL_LIBS@ @SDL_STATIC_LIBS@
 Cflags: -I${includedir}/SDL2 @SDL_CFLAGS@