Accepting request 504855 from home:xenonpk

Include removed patch in changes

OBS-URL: https://build.opensuse.org/request/show/504855
OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=2
This commit is contained in:
Klaus Kämpf
2017-06-20 06:26:40 +00:00
committed by Git OBS Bridge
parent 12adcbf93e
commit 2ee547b3d4
6 changed files with 52 additions and 58 deletions

View File

@@ -17,13 +17,12 @@
Name: rpcs3
Version: 0.0.2~git20170611
Version: 0.0.2~git20170618
Release: 0
Summary: PS3 emulator/debugger
License: GPL-2.0
Url: https://rpcs3.net/
Source0: %{name}-%{version}.tar.xz
Patch0: cmake.patch
ExclusiveArch: x86_64
BuildRequires: gcc-c++
@@ -61,9 +60,8 @@ An open-source PlayStation 3 emulator/debugger written in C++.
%prep
%setup -q
%patch0 -p1
#Exclude -lLLVM from linker flags
sed -i 's|set(LLVM_LIBS LLVM)|set(LLVM_LIBS)|g' %{name}/CMakeLists.txt
#Exclude -lLLVM from linker flags and fix Qt5 version limitations
sed -i -e 's|set(LLVM_LIBS LLVM)|set(LLVM_LIBS)|g' -e 's|Qt5 5.8|Qt5|g' -e 's|VERSION_LESS 5.8.0|VERSION_LESS 5.7.1|g' %{name}/CMakeLists.txt
%build
cmake . \
@@ -75,7 +73,7 @@ cmake . \
-DCMAKE_CXX_FLAGS="%{optflags}" \
-DCMAKE_BUILD_TYPE="RelWithDebugInfo" \
-DCMAKE_SKIP_RPATH="YES" \
-DCMAKE_EXE_LINKER_FLAGS="-ldl -lyaml-cpp $(llvm-config --libs mcjit vectorize ipo x86codegen x86disassembler)"
-DCMAKE_EXE_LINKER_FLAGS="$(llvm-config --libs mcjit vectorize ipo x86codegen x86disassembler)"
%make_jobs