Overview

Request 868 (accepted)

i586 build for pcsx2

Submit package home:phils3r / pcsx2 to package Games / pcsx2

pcsx2.changes Added
x
 
1
@@ -0,0 +1,33 @@
2
+-------------------------------------------------------------------
3
+Thu Feb  6 14:35:45 UTC 2014 - p.seiler@linuxmail.org
4
+
5
+- removed libegl dependency (not working correctly)
6
+
7
+-------------------------------------------------------------------
8
+Thu Feb  6 14:29:16 UTC 2014 - p.seiler@linuxmail.org
9
+
10
+- added libegl dependency
11
+
12
+-------------------------------------------------------------------
13
+Thu Feb  6 13:20:55 UTC 2014 - p.seiler@linuxmail.org
14
+
15
+- removed libCg dependency. Used glsl shaders instead
16
+
17
+-------------------------------------------------------------------
18
+Wed Feb  5 17:02:46 UTC 2014 - p.seiler@linuxmail.org
19
+
20
+- changed binary name
21
+- added shell script to run binary correctly
22
+
23
+-------------------------------------------------------------------
24
+Wed Feb  5 16:31:08 UTC 2014 - p.seiler@linuxmail.org
25
+
26
+- added dependencies for base system and pcsx2 binary
27
+- cleanup -> used cmake to compile
28
+- removed unneeded patch
29
+
30
+-------------------------------------------------------------------
31
+Tue Feb  4 18:01:32 UTC 2014 - p.seiler@linuxmail.org
32
+
33
+- initial commit
34
+
35
pcsx2.spec Added
125
 
1
@@ -0,0 +1,123 @@
2
+# Copyright (c) 2008 SuSE Linux Products GmbH, Nuernberg, Germany.
3
+# This file and all modifications and additions to the pristine
4
+# package are under the same license as the package itself.
5
+#
6
+# Please submit bugfixes or comments via http://www.suse.de/feedback/
7
+#
8
+
9
+# norootforbuild
10
+
11
+Name:          pcsx2
12
+License:       GPL-3.0
13
+Group:         System/Emulators
14
+Version:       1.2.1
15
+Release:       0
16
+URL:           http://pcsx2.net/
17
+Summary:       Sony PlayStation 2 Emulator
18
+Group:         System/Emulators/Other
19
+Source:        %{name}-%{version}.tar.bz2
20
+Patch1:        %{name}-desktop.patch
21
+BuildRequires: xorg-x11-Mesa-devel
22
+BuildRequires: wxWidgets-devel
23
+BuildRequires: libaio-devel
24
+BuildRequires: soundtouch-devel
25
+BuildRequires: sparsehash-devel
26
+BuildRequires: portaudio-devel
27
+BuildRequires: libbz2-devel
28
+BuildRequires: libjpeg-devel
29
+BuildRequires: glew-devel
30
+BuildRequires: gcc-c++
31
+BuildRequires: SDL-devel
32
+BuildRequires: cmake
33
+BuildRequires: gtk2-devel
34
+BuildRequires: alsa-devel
35
+BuildRequires: libSDL2-devel
36
+BuildRequires: Mesa-libGLESv2-devel
37
+BuildRequires: fdupes
38
+ExclusiveArch: i586
39
+
40
+# experimental libEGL support
41
+#BuildRequires: Mesa-libEGL-devel
42
+
43
+# non-free library
44
+#BuildRequires: libCg-devel
45
+BuildRoot:     %{_tmppath}/%{name}-%{version}-build
46
+
47
+%description
48
+Sony PlayStation 2 emulator. Requires a BIOS image in %_libdir/%name/bios
49
+or in .%name/bios in your HOME directory (will be created when you first run
50
+PCSX2). Check http://www.pcsx2.net/guide.php#Bios for details on which files
51
+you need and how to obtain them.
52
+
53
+%prep
54
+%setup -q
55
+%patch1 -p1
56
+
57
+%build
58
+mkdir build
59
+cd build
60
+cmake .. -DUSER_CMAKE_C_FLAGS:STRING='%{optflags}' -DUSER_CMAKE_CXX_FLAGS:STRING='%{optflags}' -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release' -DPACKAGE_MODE='TRUE' -DXDG_STD='TRUE' -DSDL2_API='TRUE' -DREBUILD_SHADER='TRUE' -DPLUGIN_DIR='/usr/lib/pcsx2' -DGAMEINDEX_DIR='/usr/share/pcsx2' -DGLSL_API='TRUE'
61
+make
62
+cd ..
63
+
64
+# added as a parameter above (add experimental glsl shading instead of nvidias cg-toolkit(zzogl only)
65
+# -DGLSL_API='TRUE'
66
+# -DEGL_API='TRUE'
67
+
68
+%install
69
+cd build
70
+%makeinstall
71
+cd ..
72
+
73
+mkdir -p %{buildroot}/%{_docdir}/
74
+mv %{buildroot}/%{_datadir}/doc/pcsx2/ %{buildroot}/%{_docdir}/
75
+mv %{buildroot}/%{_bindir}/%{name} %{buildroot}/%{_bindir}/%{name}-bin
76
+cat > %{buildroot}/%{_bindir}/%{name} << EOF
77
+#!/bin/bash
78
+LD_LIBRARY_PATH=/usr/lib/wx-2.8-stl/ /usr/bin/pcsx2-bin
79
+EOF
80
+
81
+%fdupes -s %{buildroot}
82
+
83
+%files
84
+%defattr(-,root,root)
85
+
86
+%dir %{_libdir}/pcsx2
87
+%dir %{_docdir}/pcsx2
88
+%dir %{_datadir}/pcsx2
89
+
90
+%{_bindir}/pcsx2_GSReplayLoader
91
+%attr(755,root,root) %{_bindir}/pcsx2
92
+%{_bindir}/pcsx2-bin
93
+%{_bindir}/pcsx2_ZZReplayLoader
94
+
95
+## only needed when GLSL_API cmake parameter isn't set. For nvidia cg-toolkit
96
+
97
+#%%{_bindir}/pcsx2_ZZCGReplayLoader
98
+#%%{_libdir}/pcsx2/libzzogl-cg-0.3.0.so
99
+#%%{_libdir}/pcsx2/ps2hw.dat
100
+
101
+%{_libdir}/pcsx2/libspu2x-2.0.0.so
102
+%{_libdir}/pcsx2/libzzogl-0.4.0.so
103
+%{_libdir}/pcsx2/libCDVDiso.so
104
+%{_libdir}/pcsx2/libCDVDlinuz.so
105
+%{_libdir}/pcsx2/libCDVDnull.so
106
+%{_libdir}/pcsx2/libFWnull-0.7.0.so
107
+%{_libdir}/pcsx2/libGSdx-0.1.16.so
108
+%{_libdir}/pcsx2/libGSnull.so
109
+%{_libdir}/pcsx2/libPADnull.so
110
+%{_libdir}/pcsx2/libSPU2null.so
111
+%{_libdir}/pcsx2/libUSBnull-0.7.0.so
112
+%{_libdir}/pcsx2/libdev9null-0.5.0.so
113
+%{_libdir}/pcsx2/libonepad-1.1.0.so
114
+
115
+%{_docdir}/pcsx2/PCSX2_FAQ.pdf
116
+%{_docdir}/pcsx2/PCSX2_Readme.pdf
117
+%{_mandir}/man1/pcsx2.1.gz
118
+
119
+%{_datadir}/locale/
120
+%{_datadir}/applications/pcsx2.desktop
121
+%{_datadir}/pcsx2/GameIndex.dbf
122
+%{_datadir}/pcsx2/cheats_ws.zip
123
+%{_datadir}/pixmaps/pcsx2.xpm
124
+
125
pcsx2-desktop.patch Added
16
 
1
@@ -0,0 +1,14 @@
2
+--- pcsx2-1.2.1/linux_various/pcsx2.desktop.bak    2014-02-05 15:49:08.790304735 +0100
3
++++ pcsx2-1.2.1/linux_various/pcsx2.desktop    2014-02-05 15:53:31.278623031 +0100
4
+@@ -1,9 +1,10 @@
5
+ Desktop Entry
6
+ Version=1.0
7
++Terminal=false
8
+ Type=Application
9
+ Name=PCSX2
10
+ GenericName=Playstation 2 Emulator
11
+ Comment=Sony Playstation 2 emulator
12
+ Exec=pcsx2
13
+ Icon=pcsx2
14
+-Categories=Game;Emulator;GTK;
15
++Categories=System;Emulator;
16
pcsx2-1.2.1.tar.bz2 Added
pcsx2-rpmlintrc Added
5
 
1
@@ -0,0 +1,3 @@
2
+addFilter("file-not-in-%lang")
3
+addFilter("file-contains-date-and-time")
4
+addFilter("no-manual-page-for-binary")
5
Refresh
Refresh
Request History
Philipp Seiler's avatar

phils3r created request about 11 years ago

i586 build for pcsx2


Stefan Seyfried's avatar

seife accepted request about 11 years ago

looks good