commit 66b8b63438566461d879265cfe0f6b3549a1a253
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun May 20 22:44:54 2018 +0100
Try fix f27 (#4775) use compat-wxGTK3-gtk2-devel
Add BR xz-devel to dectect LibLZMA
Remove manually-specified variables were not used by the project
Add DISABLE_ADVANCE_SIMD=TRUE, recomended by upstream
OpenGL_GL_PREFERENCE=GLVND to not use legacy OpenGL
pcsx2.spec | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/pcsx2.spec b/pcsx2.spec
index 467dc13..f55bdf1 100644
--- a/pcsx2.spec
+++ b/pcsx2.spec
@@ -1,6 +1,6 @@
Name: pcsx2
Version: 1.4
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: A Sony Playstation2 emulator
License: GPLv3
URL:
https://github.com/PCSX2/pcsx2
@@ -32,7 +32,7 @@ BuildRequires: gtk2-devel
#BuildRequires: gtk3-devel
BuildRequires: portaudio-devel
BuildRequires: sparsehash-devel
-%if (0%{?fedora} >= 28)
+%if (0%{?fedora} >= 27)
BuildRequires: compat-wxGTK3-gtk2-devel
%else
BuildRequires: wxGTK-devel
@@ -41,6 +41,7 @@ BuildRequires: wxGTK-devel
BuildRequires: soundtouch-devel
BuildRequires: libaio-devel
BuildRequires: lzma-devel
+BuildRequires: xz-devel
# for /usr/bin/perl
%if 0%{?rhel} && 0%{?rhel} < 8
BuildRequires: perl
@@ -82,23 +83,22 @@ sed -i 's/@PCSX2_MENU_CATEGORIES@/Game;Emulator;GTK;/g'
linux_various/PCSX2.desk
# Extensive testing will is therefore needed. See rpmfusion bug #2455
%cmake . -DPACKAGE_MODE=TRUE \
- -DGLSL_SHADER_DIR=%{_libdir}/pcsx2 \
-DBUILD_REPLAY_LOADERS=FALSE \
-DXDG_STD=TRUE \
-DGLSL_API=TRUE \
- -DFORCE_INTERNAL_SOUNDTOUCH=FALSE \
- -DFORCE_INTERNAL_SDL=FALSE \
-DPLUGIN_DIR=%{_libdir}/pcsx2 \
-DGAMEINDEX_DIR=%{_datadir}/pcsx2 \
-DCMAKE_BUILD_STRIP=FALSE \
-DGTK3_API=FALSE \
-%if (0%{?fedora} >= 28)
+%if (0%{?fedora} >= 27)
-DWX28_API=FALSE \
%else
-DWX28_API=TRUE \
%endif
-DEXTRA_PLUGINS=FALSE \
-DSDL2_API=FALSE \
+ -DDISABLE_ADVANCE_SIMD=TRUE \
+ -DOpenGL_GL_PREFERENCE=GLVND \
-DCMAKE_BUILD_TYPE=Release
@@ -159,6 +159,13 @@ fi
%changelog
+* Sun May 20 2018 Sérgio Basto <sergio(a)serjux.com> - 1.4-8
+- Try fix f27 (#4775) use compat-wxGTK3-gtk2-devel
+- Add BR xz-devel to dectect LibLZMA
+- Remove manually-specified variables were not used by the project
+- Add DISABLE_ADVANCE_SIMD=TRUE, recomended by upstream
+- OpenGL_GL_PREFERENCE=GLVND to not use legacy OpenGL
+
* Fri Mar 02 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
1.4-7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild