[pcsx2] Revert "Dead upstream and FTBFS on F30"
by Leigh Scott
commit 5a1cfcc4385c6fedcaa03abb7927cded78441c1f
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Feb 7 17:10:31 2020 +0000
Revert "Dead upstream and FTBFS on F30"
This reverts commit 7b7036fe5efc926fe6b0ae0ed9348ab3cadf4d06.
.gitignore | 2 +
dead.package | 1 -
download_pcsx2_1.4_tarball.sh | 125 +++++++++++++++++
pcsx2-gcc6.patch | 12 ++
pcsx2-wxWidgets-SDL2.patch | 71 ++++++++++
pcsx2.spec | 314 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
7 files changed, 525 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4d1758c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+v1.2.1.tar.gz
+pcsx2.1.4.tar.gz
diff --git a/download_pcsx2_1.4_tarball.sh b/download_pcsx2_1.4_tarball.sh
new file mode 100755
index 0000000..e507441
--- /dev/null
+++ b/download_pcsx2_1.4_tarball.sh
@@ -0,0 +1,125 @@
+ #!/bin/sh
+# copyright (c) 2011-2014 Gregory Hainaut
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This package is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Modified by Giles Birchley <gbirchey(a)blueyonder.co.uk> 11 Feb 2016
+# Modified to download only branch 1.4
+
+######################################################################
+# Global Parameters
+######################################################################
+
+# Default value
+GIT_SHA1=0;
+BRANCH="1.4.x"
+
+# Directory
+TMP_DIR=/tmp/pcsx2_git
+mkdir -p $TMP_DIR
+
+REMOTE_REPO="https://github.com/PCSX2/pcsx2.git"
+LOCAL_REPO="$TMP_DIR/pcsx2"
+
+
+######################################################################
+# Basic functions
+######################################################################
+date=
+version=
+release=
+get_pcsx2_version()
+{
+ local major=`grep -o "VersionHi.*" $LOCAL_REPO/pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
+ local mid=`grep -o "VersionMid.*" $LOCAL_REPO/pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
+ local minor=`grep -o "VersionLo.*" $LOCAL_REPO/pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
+ release=`grep -o "isReleaseVersion.*" $LOCAL_REPO/pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
+ version="$major.$mid.$minor"
+}
+
+get_git_version()
+{
+ date=`git -C $LOCAL_REPO show -s --format=%ci HEAD | sed -e 's/[\:\-]//g' -e 's/ /./' -e 's/ .*//'`
+}
+
+download_orig()
+{
+ (cd $TMP_DIR && git clone --branch $1 $REMOTE_REPO pcsx2)
+ if [ "$SVN_CO_VERSION" = "1" ] ; then
+ (cd $TMP_DIR/pcsx2 && git checkout $GIT_SHA1)
+ fi
+}
+
+remove_3rdparty()
+{
+ echo "Remove 3rdparty code"
+ rm -fr $LOCAL_REPO/3rdparty
+ rm -fr $LOCAL_REPO/fps2bios
+ rm -fr $LOCAL_REPO/tools
+}
+
+remove_not_yet_free_plugin()
+{
+ echo "Remove non free plugins"
+ # remove also deprecated plugins
+ for plugin in CDVDiso CDVDisoEFP CDVDlinuz CDVDolio CDVDpeops dev9ghzdrk PeopsSPU2 SSSPSXPAD USBqemu xpad zerogs zerospu2
+ do
+ rm -fr $LOCAL_REPO/plugins/$plugin
+ done
+}
+
+remove_remaining_non_free_file()
+{
+ echo "Remove remaining non free file. TODO UPSTREAM"
+ rm -fr $LOCAL_REPO/unfree
+ rm -fr $LOCAL_REPO/plugins/GSdx/baseclasses
+ rm -f $LOCAL_REPO/plugins/zzogl-pg/opengl/Win32/aviUtil.h
+ rm -f $LOCAL_REPO/common/src/Utilities/x86/MemcpyFast.cpp
+}
+remove_dot_git()
+{
+ # To save 66% of the package size
+ rm -fr $LOCAL_REPO/.git
+}
+
+######################################################################
+# Main script
+######################################################################
+download_orig 1.4.x
+remove_3rdparty
+remove_not_yet_free_plugin
+remove_remaining_non_free_file
+
+get_git_version
+get_pcsx2_version
+
+# must be done after getting the git version
+remove_dot_git
+
+# Debian name of package and tarball
+ PKG_NAME="pcsx2-1.4"
+ TAR_NAME="pcsx2.1.4.tar"
+
+
+
+NEW_DIR=${TMP_DIR}/$PKG_NAME
+rm -fr $NEW_DIR
+mv $LOCAL_REPO $NEW_DIR
+
+echo "Build the tar.gz file"
+tar -C $TMP_DIR -cJf ${TAR_NAME}.gz $PKG_NAME
+
+## Clean
+rm -fr $TMP_DIR
+
+exit 0
diff --git a/pcsx2-gcc6.patch b/pcsx2-gcc6.patch
new file mode 100644
index 0000000..25e79f8
--- /dev/null
+++ b/pcsx2-gcc6.patch
@@ -0,0 +1,12 @@
+diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp
+index b318909..38f506d 100644
+--- a/common/src/x86emitter/cpudetect.cpp
++++ b/common/src/x86emitter/cpudetect.cpp
+@@ -16,6 +16,7 @@
+ #include "PrecompiledHeader.h"
+ #include "cpudetect_internal.h"
+ #include "internal.h"
++#include "fxsrintrin.h"
+
+ using namespace x86Emitter;
+
diff --git a/pcsx2-wxWidgets-SDL2.patch b/pcsx2-wxWidgets-SDL2.patch
new file mode 100644
index 0000000..16ec3a2
--- /dev/null
+++ b/pcsx2-wxWidgets-SDL2.patch
@@ -0,0 +1,71 @@
+From 41c49faa81d4970e903e7d85616774c979e103a5 Mon Sep 17 00:00:00 2001
+From: Jonathan Li <jonathan.li(a)hotmail.co.uk>
+Date: Sun, 4 Feb 2018 14:04:17 +0000
+Subject: [PATCH] cmake: Improve wxWidgets and SDL linkage check
+
+If wxWidgets is linked to SDL, check what version it's actually linked
+against instead of assuming it's linked to SDL1.2 (which isn't true on
+Fedora 27).
+---
+ cmake/ApiValidation.cmake | 41 ++++++++++++++++++++++++++++-------------
+ 1 file changed, 28 insertions(+), 13 deletions(-)
+
+--- ./cmake/ApiValidation.cmake.orig 2016-02-11 22:03:53.000000000 +0000
++++ ./cmake/ApiValidation.cmake 2018-07-28 19:02:46.396522565 +0100
+@@ -1,27 +1,42 @@
+ set(wx_sdl_c_code "
+ #include <wx/setup.h>
+
+-#if (wxUSE_LIBSDL != 0)
++#if (wxUSE_LIBSDL == 0)
+ #error cmake_WX_SDL
+ #endif
++
++int main()
++{
++ return 0;
++}
+ ")
+
+ function(WX_vs_SDL)
+ file(WRITE "${CMAKE_BINARY_DIR}/wx_sdl.c" "${wx_sdl_c_code}")
+ enable_language(C)
+
+- try_run(
+- run_result_unused
+- compile_result_unused
+- "${CMAKE_BINARY_DIR}"
+- "${CMAKE_BINARY_DIR}/wx_sdl.c"
+- COMPILE_OUTPUT_VARIABLE OUT
+- CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${wxWidgets_INCLUDE_DIRS}"
+- )
+-
+- if (${OUT} MATCHES "cmake_WX_SDL" AND SDL2_API)
+- message(FATAL_ERROR "WxWidget is linked to SDL (wxUSE_LIBSDL) and it is likely SDL1.2.
+- Unfortunately you try to build PCSX2 with SDL2 support which is not compatible
+- Please use -DSDL2_API=FALSE")
++ try_compile(
++ wx_linked_to_sdl
++ "${CMAKE_BINARY_DIR}"
++ "${CMAKE_BINARY_DIR}/wx_sdl.c"
++ CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${wxWidgets_INCLUDE_DIRS}"
++ LINK_LIBRARIES "${wxWidgets_LIBRARIES}"
++ COPY_FILE "${CMAKE_BINARY_DIR}/wx_sdl"
++ )
++
++ if (NOT wx_linked_to_sdl)
++ return()
++ endif()
++
++ execute_process(
++ COMMAND ldd "${CMAKE_BINARY_DIR}/wx_sdl"
++ COMMAND grep -c SDL2
++ OUTPUT_VARIABLE sdl2_count
++ )
++
++ if (SDL2_API AND sdl2_count STREQUAL "0")
++ message(FATAL_ERROR "wxWidgets is linked to SDL1.2. Please use -DSDL2_API=FALSE.")
++ elseif (NOT SDL2_API AND NOT sdl2_count STREQUAL "0")
++ message(FATAL_ERROR "wxWidgets is linked to SDL2. Please use -DSDL2_API=TRUE")
+ endif()
+ endfunction()
diff --git a/pcsx2.spec b/pcsx2.spec
new file mode 100644
index 0000000..d8480c6
--- /dev/null
+++ b/pcsx2.spec
@@ -0,0 +1,314 @@
+Name: pcsx2
+Version: 1.4
+Release: 12%{?dist}
+Summary: A Sony Playstation2 emulator
+License: GPLv3
+URL: https://github.com/PCSX2/pcsx2
+#github source contains copyrighted material, so downloaded and modified with
+#script download_pcsx2_1.4_tarball.sh contained in Source1
+Source0: pcsx2.1.4.tar.gz
+Source1: download_pcsx2_1.4_tarball.sh
+Patch1: pcsx2-gcc6.patch
+Patch2: pcsx2-wxWidgets-SDL2.patch
+# PCSX2 does not support running as a 64 bit application.
+# http://code.google.com/p/pcsx2/wiki/ChrootAnd64bStatusLinux
+ExclusiveArch: i686
+BuildRequires: gcc gcc-c++
+BuildRequires: desktop-file-utils
+BuildRequires: cmake
+BuildRequires: zlib-devel
+BuildRequires: bzip2-devel
+BuildRequires: freetype-devel
+BuildRequires: gettext
+BuildRequires: glew-devel
+BuildRequires: libGL-devel
+BuildRequires: libGLU-devel
+BuildRequires: libX11-devel
+BuildRequires: libICE-devel
+BuildRequires: libXrandr-devel
+BuildRequires: mesa-libGLES-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: gtk2-devel
+#BuildRequires: gtk3-devel
+BuildRequires: portaudio-devel
+BuildRequires: sparsehash-devel
+%if (0%{?fedora} >= 28)
+BuildRequires: SDL2-devel
+%else
+BuildRequires: SDL-devel
+%endif
+# use SDL that depends wxGTK
+%if (0%{?fedora} >= 27)
+BuildRequires: compat-wxGTK3-gtk2-devel
+%else
+BuildRequires: wxGTK-devel
+%endif
+#BuildRequires: wxGTK3-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
+BuildRequires: perl-version
+%else
+BuildRequires: perl-interpreter
+%endif
+
+Requires: joystick
+Requires: hicolor-icon-theme
+
+%description
+A Playstation 2 emulator. Requires a dump of a real PS2 BIOS (not included)
+WARNING: It requires a CPU with SSE2 instructions. If your CPU does not
+support this instruction set, it does not have enough horsepower to run
+this emulator anyway.
+
+%prep
+%setup -q -n pcsx2-1.4
+%patch1 -p1 -b .gcc6
+%patch2 -p1 -b .SDL2
+
+# To remove executable bits from man, doc and icon files
+chmod -x pcsx2/Docs/GPL.txt pcsx2/Docs/License.txt pcsx2/Docs/readme-Docs.txt pcsx2/Docs/PCSX2_FAQ.doc pcsx2/Docs/PCSX2_Readme.doc bin/docs/PCSX2.1 linux_various/PCSX2.xpm
+
+# Remove DOS encoding errors in txt files
+sed -i 's/\r//' pcsx2/Docs/GPL.txt
+sed -i 's/\r//' pcsx2/Docs/License.txt
+
+#Remove fedora incompatible values
+sed -i 's/@PCSX2_MENU_CATEGORIES@/Game;Emulator;GTK;/g' linux_various/PCSX2.desktop.in
+
+%build
+
+# pcsx2 contains cflags that override Fedora cflags, however
+# a conservative approach has been taken because to quote upsteam "PCSX2 is not
+# an ordinary sofware. Most of the code executed are self-generated by PCSX2
+# itself (aka dynamic recompiler/virtual machine). That means 1/ gcc flags
+# have no much impact on speed 2/ some gcc flags (used to) crash PCSX2"
+# Extensive testing will is therefore needed. See rpmfusion bug #2455
+
+%if 0%{?fedora} == 27
+export WX_CONFIG=wx-config-3.0-gtk2
+%endif
+
+%cmake . -DPACKAGE_MODE=TRUE \
+ -DBUILD_REPLAY_LOADERS=FALSE \
+ -DXDG_STD=TRUE \
+ -DGLSL_API=TRUE \
+ -DPLUGIN_DIR=%{_libdir}/pcsx2 \
+ -DGAMEINDEX_DIR=%{_datadir}/pcsx2 \
+ -DCMAKE_BUILD_STRIP=FALSE \
+ -DGTK3_API=FALSE \
+%if (0%{?fedora} >= 27)
+ -DWX28_API=FALSE \
+%else
+ -DWX28_API=TRUE \
+%endif
+%if (0%{?fedora} >= 28)
+ -DSDL2_API=TRUE \
+%else
+ -DSDL2_API=FALSE \
+%endif
+ -DEXTRA_PLUGINS=FALSE \
+ -DDISABLE_ADVANCE_SIMD=TRUE \
+ -DOpenGL_GL_PREFERENCE=GLVND \
+ -DCMAKE_BUILD_TYPE=Release
+
+
+make %{?_smp_mflags} VERBOSE=1
+
+
+%install
+
+make install DESTDIR=%{buildroot}
+
+# strip extra copies of pdf files, which are now in /doc/pcsx2
+rm -rf %{buildroot}/usr/share/doc/PCSX2
+
+# Install icon
+mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps/
+install -pm 644 %{_builddir}/%{name}-%{version}/linux_various/PCSX2.xpm %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps/
+
+# Install Desktop file
+mv %{_builddir}/%{name}-%{version}/linux_various/PCSX2.desktop.in %{_builddir}/%{name}-%{version}/linux_various/PCSX2.desktop
+desktop-file-install \
+--dir=%{buildroot}/%{_datadir}/applications \
+%{_builddir}/%{name}-%{version}/linux_various/PCSX2.desktop
+
+
+#strip extra copy of icon file, Wrong place for fedora
+rm -rf %{buildroot}/usr/share/pixmaps
+
+# Install man page
+mkdir -p %{buildroot}/%{_mandir}/man1
+install -p -D -m 644 bin/docs/PCSX2.1 %{buildroot}/%{_mandir}/man1
+
+%find_lang pcsx2_Iconized
+%find_lang pcsx2_Main
+
+%post
+/sbin/ldconfig
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f pcsx2_Iconized.lang -f pcsx2_Main.lang
+%doc bin/docs/PCSX2_Readme.pdf bin/docs/PCSX2_FAQ.pdf
+%{_bindir}/PCSX2
+%{_bindir}/PCSX2-linux.sh
+%{_libdir}/pcsx2/
+%{_datadir}/applications/PCSX2.desktop
+%{_datadir}/icons/hicolor/128x128/apps/PCSX2.xpm
+%{_mandir}/man1/PCSX2.*
+%{_datadir}/pcsx2/
+
+
+%changelog
+* Tue Mar 05 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.4-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Sun Aug 19 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.4-11
+- Rebuilt for Fedora 29 Mass Rebuild binutils issue
+
+* Sat Jul 28 2018 Sérgio Basto <sergio(a)serjux.com> - 1.4-10
+- Try fix rfbz #4962
+- Use the same SDL that wxGTK depends on (F27 SDL, F28 SDL2)
+
+* Fri Jul 27 2018 RPM Fusion Release Engineering <sergio(a)serjux.com> - 1.4-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* 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
+
+* Tue Jan 30 2018 Sérgio Basto <sergio(a)serjux.com> - 1.4-6
+- Rebuilt to fix core dump with wxWindow
+
+* Sun Oct 08 2017 Sérgio Basto <sergio(a)serjux.com> - 1.4-5
+- Rebuild for soundtouch 2.0.0
+- Just enable compat-wxGTK3-gtk2, pcsx2 fails to detect wxGTK3
+ therefore SDL2 also is disabled, intructions on
+ https://github.com/PCSX2/pcsx2/wiki/Installing-on-Linux
+- Enable GLSL_API and AVX
+- Fix Perl builroot changes.
+
+* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 1.4-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sun Mar 26 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 1.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Thu Jul 14 2016 Sérgio Basto <sergio(a)serjux.com> - 1.4-2
+- Add gcc6 patch
+
+* Thu Feb 11 2016 Giles Birchley <gbirchley(a)blueyonder.co.uk> -1.4-1
+- Build for new release 1.4
+- Drop patch pcsx2-1.3.1_fedora_cflags_opts.diff - cflag options now streamlined upstream
+- Add dependency for lzma-devel
+- Add dependency for libICE-devel
+- Remove dependency for Cg
+- Remove dependency for libjpeg-turbo-devel
+- Remove dependency for package glew-devel
+- Add build option to retain WxWidget 2.8 -DWX28_API=TRUE
+- Add build option -DGTK3_API=FALSE
+- Add build option -DSDL2_API=FALSE
+- Add build option -DDISABLE_ADVANCE_SIMD=TRUE
+- For now, avoided specifying crosscompile (-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake) as not sure of rpmfusion guideline on this
+- Binary name has been altered to PCSX2 upstream; renamed PCSX2.desktop.in, PCSX2.xpm and PCSX2.1
+- Added new launcher script PCSX2-linux.sh
+
+* Tue Feb 04 2014 Giles Birchley <gbirchey(a)blueyonder.co.uk> -1.2.1-1
+- Updated source to 1.2.1
+- Updated patch1 permissions
+- Source required modification to remove copyrighted files - added Source1
+
+* Tue Feb 04 2014 Giles Birchley <gbirchey(a)blueyonder.co.uk> -1.2.0-1
+- Updated source to 1.2
+- Updated patch1
+- Source required modification to remove copyrighted files - added Source1
+
+* Sat Jul 27 2013 Giles Birchley <gbirchey(a)blueyonder.co.uk> - 1.1.0-5
+- made overlooked change suggested in rpmfusion review (#2455)
+- changed requires from libGL-devel/libGLU-devel instead of mesa-libGL-devel
+
+* Sun Jun 30 2013 Giles Birchley <gbirchey(a)blueyonder.co.uk> - 1.1.0-4
+- made some minor changes suggested in rpmfusion review (#2455)
+- removed backslash in cmake command
+- removed pcsx2-1.1.0-fedora_cflags.diff
+- replaced patch with pcsx2-1.1.0-fedora_cflags_opts.diff
+
+* Tue Jun 25 2013 Giles Birchley <gbirchey(a)blueyonder.co.uk> - 1.1.0-3
+- made some minor changes suggested in rpmfusion review (#2455)
+- fix URL
+
+* Tue Jun 25 2013 Giles Birchley <gbirchey(a)blueyonder.co.uk> - 1.1.0-2
+- made some minor changes suggested in rpmfusion review (#2455):
+- changed icon install permissions
+- changed URL
+- changed description line length
+- reintroduced %%{version} macro to source0
+- removed extra backslash from %%cmake
+- changed line indentations so all are single space
+- removed -DDOC_DIR from %%cmake
+- removed extraneous remove lines
+
+* Sun Jun 09 2013 Giles Birchley <gbirchey(a)blueyonder.co.uk> - 1.1.0-1
+- changes following rpmfusion review (#2455).
+- removed Group tag.
+- updated source to v1.1 (linux fixes)
+- removed pcsx2-1.0.0_helpfile.diff (no longer needed).
+- removed pcsx2-1.0.0_fedora_cmake.diff (Fedora<16 is no longer supported).
+- removed pcsx2-1.1.0_fedora_gcc.diff as this patch is now applied in 1.1.0 source
+- added Requires: hicolor-icon-theme (icons in %%{_datadir}/icons/hicolor/).
+- added BuildRequires: libaio-devel (needed for 1.1.0).
+- added warning about SSE2 to %%description.
+- comment about 64 bit status shortened.
+- version from names of docs removed (unversioned in 1.1.0).
+- fixed omissions in pcsx2.xpm shebang (fix rpmlint error)
+- Use %%{_docdir} instead of %%{_defaultdocdir}.
+- removed some docs that were either misplaced or should not be packaged.
+- removed specification of CMAKE_INSTALL_PREFIX and CMAKE_VERBOSE_MAKEFILE (%%cmake macro already sets them).
+- moved %%find_lang macro to end of %%install.
+- moved shell invocation to line following %%post %%postun (fix rpmlint error)
+
+* Mon May 27 2013 Giles Birchley <gbirchey(a)blueyonder.co.uk> - 1.0.0-2
+- further changes to comply with rpmfusion review (#2455):
+- libGL-devel/libGLU-devel instead of mesa-libGL-devel
+- Remove BuildRequires: libCg (redundant with Cg)
+- Use %%{_prefix} instead of /usr for CMAKE install prefix
+- add Gregory Hainaut's patch to fix issue with gcc 4.8, for Fedora 19 build
+- Changed cmake option of DBUILD_REPLAY_LOADERS to false and changed %%files accrdingly
+
+* Tue Mar 05 2013 Giles Birchley <gbirchey(a)blueyonder.co.uk>
+- bleeding edge build, altered package name
+- added pcsx2 as a conflict
+
+* Mon Oct 15 2012 Giles Birchley <gbirchey(a)blueyonder.co.uk> - 1.0.0-1
+- Build of official 1.0.0 Release
+- Significant modifications to script to comply with Fedora/RPMFusion packaging requirements
+- Removed redundant BuildRequires
+- Added upstream source
+- Added Patch to make CFLAGS compliant
+- Changed DCMAKE_BUILD_STRIP to FALSE to allow rpm debug package to be created
+- Changed document destination in cmake by specifying DDOC_DIR=
+- Changed language detection
+- Changed icon and desktop file installation
+
+* Tue Aug 09 2011 Danger Boy <Danger[dot] Boy [at]necac.tv.idl> - 0.9.8.4851-1
+- initial build
diff --git a/sources b/sources
new file mode 100644
index 0000000..fffb676
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+778691a471d900a3b0cb00c28be66cbc pcsx2.1.4.tar.gz
4 years, 9 months
[mopidy-spotify] Initial RPM Release
by gir
commit 0105a9f91bbf2067a63638326bd000064ea30bbd
Author: Tobias Girstmair <t-rpmfusion(a)girst.at>
Date: Fri Feb 7 15:52:10 2020 +0100
Initial RPM Release
.gitignore | 1 +
mopidy-spotify.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..834a45d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Mopidy-Spotify-4.0.1.tar.gz
diff --git a/mopidy-spotify.spec b/mopidy-spotify.spec
new file mode 100644
index 0000000..c136fa1
--- /dev/null
+++ b/mopidy-spotify.spec
@@ -0,0 +1,51 @@
+%global srcname Mopidy-Spotify
+
+Name: mopidy-spotify
+Version: 4.0.1
+Release: 1%{?dist}
+Summary: Mopidy extension for playing music from Spotify
+
+License: ASL 2.0
+URL: https://mopidy.com/ext/spotify/
+Source0: %{pypi_source}
+
+ExclusiveArch: i686 x86_64 armv7hl
+
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: mopidy
+BuildRequires: python3-pytest
+BuildRequires: python3-responses
+BuildRequires: python3-pyspotify
+Requires: mopidy
+Requires: python3-pyspotify
+
+
+%description
+Mopidy extension for playing music from Spotify.
+
+
+%prep
+%autosetup -n %{srcname}-%{version}
+rm MANIFEST.in
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%check
+%{__python3} -m pytest
+
+%files
+%license LICENSE
+%doc README.rst
+%{python3_sitelib}/Mopidy_Spotify-*.egg-info/
+%{python3_sitelib}/mopidy_spotify/
+
+
+%changelog
+* Mon Dec 23 2019 Tobias Girstmair <t-rpmfusion(a)girst.at> - 4.0.1-1
+- Initial RPM Release
+
diff --git a/sources b/sources
index e69de29..36091e0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (Mopidy-Spotify-4.0.1.tar.gz) = b0f439d24530aafa62e423466b3c096e54b09fdb712b07623319d490da39c6eba9c2bbd897231ea00bec9d090bd16e7e90e1c4649b943ec7c643b0c283cbb20f
4 years, 9 months
[plex-media-player] Update to 2.50.0
by Leigh Scott
commit 4f71b2c52188374fc3d4cc90af8e9f75dc71bba9
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Feb 7 12:29:17 2020 +0000
Update to 2.50.0
...4-39a91721b12c68.cmake => buildid-166-78faf811b12c68.cmake | 4 ++--
plex-media-player.spec | 11 +++++++----
sources | 6 +++---
web-client-desktop-3.104.2-1b12c68.tar.xz.sha1 | 2 +-
web-client-tv-4.21.1-39a9172.tar.xz.sha1 | 1 -
web-client-tv-4.23.1-78faf81.tar.xz.sha1 | 1 +
6 files changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/buildid-164-39a91721b12c68.cmake b/buildid-166-78faf811b12c68.cmake
similarity index 69%
rename from buildid-164-39a91721b12c68.cmake
rename to buildid-166-78faf811b12c68.cmake
index 71ad31f..ede9812 100644
--- a/buildid-164-39a91721b12c68.cmake
+++ b/buildid-166-78faf811b12c68.cmake
@@ -1,3 +1,3 @@
-set(DESKTOP_VERSION 3.104.2-1b12c68)
-set(TV_VERSION 4.21.1-39a9172)
+set(TV_VERSION 4.23.1-78faf81)
set(TV-OLD_VERSION 3.13.3-5401c32)
+set(DESKTOP_VERSION 3.104.2-1b12c68)
diff --git a/plex-media-player.spec b/plex-media-player.spec
index ab559c9..53023b7 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -1,11 +1,11 @@
-%global plex_hash 2.49.0.1041-bf8608f7
-%global clients_hash 164-39a91721b12c68
+%global plex_hash 2.50.0.1045-37e9e857
+%global clients_hash 166-78faf811b12c68
%global web_client_desktop 3.104.2-1b12c68
-%global web_client_tv 4.21.1-39a9172
+%global web_client_tv 4.23.1-78faf81
%global arti_url https://artifacts.plex.tv/web-client-pmp
Name: plex-media-player
-Version: 2.49.0
+Version: 2.50.0
Release: 1%{?dist}
Summary: Plex Media Player
@@ -207,6 +207,9 @@ exit 0
%{_unitdir}/%{name}.target
%changelog
+* Fri Feb 07 2020 Leigh Scott <leigh123linux(a)googlemail.com> - 2.50.0-1
+- Update to 2.50.0
+
* Sun Jan 26 2020 Leigh Scott <leigh123linux(a)googlemail.com> - 2.49.0-1
- Update to 2.49.0
diff --git a/sources b/sources
index b4afc4c..91f23ce 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (plex-media-player-2.49.0.1041-bf8608f7.tar.gz) = 39bf307befd3d8f59b3d12d673ac11ab2ffed8c6e7f6750f65909e9387bbb3aa9270a6f2b8bf15f7bcbaf430181028aa4ba4c09c88e51c89d1e30428e051587f
-SHA512 (web-client-desktop-3.104.2-1b12c68.tar.xz) = 168ea49bb95f3cd51fed48419bfe5ae2adbc5ed5d24602c1199278e1583f12e5d9fb16a7310a53843abde14628aa75447b014aa28fe297677bb7f085d7d0ad86
-SHA512 (web-client-tv-4.21.1-39a9172.tar.xz) = c77aaf91c5b34208621e622cd9fa0854118490fb4f5fd106ca86f584176c03f190f2ee05ae2ffb77884106946b1b00818a7e5c08d59dc6b92b0d0d9620921b73
+SHA512 (web-client-tv-4.23.1-78faf81.tar.xz) = 03b4de99eded5e8a6169750f287e7e21c5d87febe44394c3ebad27bb39096cff267c753561976c3695f0dabeb949f5beea07af5a1a0ef6b55bb91c3e826a88a9
+SHA512 (web-client-desktop-3.104.2-1b12c68.tar.xz) = 66a37f9288837efe15859bf97772894181ee9807f6fa29b88320b675ea97f1d4557ab39b652cd83f5d94dcdc4bf22b7efdc6ef9b9ee4ad39b009f7f4670fc32d
+SHA512 (plex-media-player-2.50.0.1045-37e9e857.tar.gz) = 3ccbe5b71bb55c9aca5b457364812ee784cf1388f737d27dec82d1fc0fcc4dbe5caa437dea4ed8596c8dd36d73a7387eac8a621961aedfd65627c30bdeb9e410
diff --git a/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1 b/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1
index d531c01..9ae652e 100644
--- a/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1
+++ b/web-client-desktop-3.104.2-1b12c68.tar.xz.sha1
@@ -1 +1 @@
-be08ce49540612cfb83897a86818327e9d13b926
\ No newline at end of file
+56cf62a2aab0669c04193549f4cd53dfd420c222
\ No newline at end of file
diff --git a/web-client-tv-4.23.1-78faf81.tar.xz.sha1 b/web-client-tv-4.23.1-78faf81.tar.xz.sha1
new file mode 100644
index 0000000..879b7fb
--- /dev/null
+++ b/web-client-tv-4.23.1-78faf81.tar.xz.sha1
@@ -0,0 +1 @@
+3342c3e956ef145d927d57a5bec3eeb15e9eca82
\ No newline at end of file
4 years, 9 months