- Use system libusb

OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=56
This commit is contained in:
Yunhe Guo 2023-04-17 13:27:48 +00:00 committed by Git OBS Bridge
parent aa95d99f3a
commit 4b37d92752
4 changed files with 17 additions and 10 deletions

View File

@ -7,6 +7,7 @@
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
<param name="exclude">3rdparty/ffmpeg</param>
<param name="exclude">3rdparty/libusb</param>
<param name="exclude">3rdparty/llvm</param>
<param name="exclude">3rdparty/XAudio2Redist</param>
<param name="exclude">*.bat</param>
@ -35,4 +36,3 @@
</service>
<service name="download_files" mode="localonly"/>
</services>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9dc0a1e4991e44b05797ed22cb057d663bf4370be826b3791a3ea34c2b06c90
size 62398748
oid sha256:fc02d1ef8881857d88a9f3fe50696526afd461f53934d398877d6fe6eae5e295
size 62151248

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 17 13:20:09 UTC 2023 - Yunhe Guo <i@guoyunhe.me>
- Use system libusb
-------------------------------------------------------------------
Mon Apr 17 13:07:12 UTC 2023 - i@guoyunhe.me

View File

@ -34,6 +34,7 @@ BuildRequires: pkgconfig(libedit)
BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(yaml-cpp)
BuildRequires: pkgconfig(zlib)
@ -129,13 +130,14 @@ cd ../%{name}_build
-DITTAPI_SOURCE_DIR="${ITTAPI_DIR}" \
-DUSE_PCH=OFF \
-DENABLE_PCH=OFF \
-DSKIP_PRECOMPILE_HEADERS="ON" \
-DUSE_PRECOMPILED_HEADERS="OFF" \
-DUSE_SYSTEM_CURL="ON" \
-DUSE_SYSTEM_FFMPEG="ON" \
-DUSE_SYSTEM_LIBPNG="ON" \
-DUSE_SYSTEM_ZLIB="ON" \
-DUSE_NATIVE_INSTRUCTIONS="OFF" \
-DSKIP_PRECOMPILE_HEADERS=ON \
-DUSE_PRECOMPILED_HEADERS=OFF \
-DUSE_SYSTEM_CURL=ON \
-DUSE_SYSTEM_FFMPEG=ON \
-DUSE_SYSTEM_LIBPNG=ON \
-DUSE_SYSTEM_LIBUSB=ON \
-DUSE_SYSTEM_ZLIB=ON \
-DUSE_NATIVE_INSTRUCTIONS=OFF \
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DCMAKE_INSTALL_LIBEXEC="%{_libexecdir}" \
-DCMAKE_BUILD_TYPE="Release" \