- Use system SDL2

OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=58
This commit is contained in:
Yunhe Guo 2023-04-17 14:20:16 +00:00 committed by Git OBS Bridge
parent a86de905ea
commit 285dea13fe
4 changed files with 10 additions and 2 deletions

View File

@ -9,6 +9,7 @@
<param name="exclude">3rdparty/curl/curl</param>
<param name="exclude">3rdparty/ffmpeg</param>
<param name="exclude">3rdparty/libpng/libpng</param>
<param name="exclude">3rdparty/libsdl-org</param>
<param name="exclude">3rdparty/libusb</param>
<param name="exclude">3rdparty/llvm</param>
<param name="exclude">3rdparty/XAudio2Redist</param>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e251e47ae13845b9986a69987fbedfd0fd23e7f6ad2fbfa55f0cfbc02b487bb8
size 57796608
oid sha256:ffa454ca89794b0bd9ce2d6c7b5c5d2b714484155a23eedcbf99e9421c770a48
size 52139112

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 17 14:19:08 UTC 2023 - Yunhe Guo <i@guoyunhe.me>
- Use system SDL2
-------------------------------------------------------------------
Mon Apr 17 13:20:09 UTC 2023 - Yunhe Guo <i@guoyunhe.me>

View File

@ -44,6 +44,7 @@ BuildRequires: pkgconfig(zlib)
##opengl:
BuildRequires: pkgconfig(glew) >= 1.13.0
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(sdl2)
##vulkan:
BuildRequires: pkgconfig(vulkan) >= 1.1.126
@ -136,6 +137,7 @@ cd ../%{name}_build
-DUSE_SYSTEM_FFMPEG=ON \
-DUSE_SYSTEM_LIBPNG=ON \
-DUSE_SYSTEM_LIBUSB=ON \
-DUSE_SYSTEM_SDL=ON \
-DUSE_SYSTEM_ZLIB=ON \
-DUSE_NATIVE_INSTRUCTIONS=OFF \
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \