From 83c0d8576cc90e9fe8fba83b974a9ab965ff892c Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 9 Jan 2016 15:18:36 -0300 Subject: pcsx2-1.4.0-1.parabola1: updating version --- .../pcsx2/0001-common-fix-gcc-5.0-issue.patch | 89 ---------------------- libre-multilib/pcsx2/PKGBUILD | 24 +++--- 2 files changed, 9 insertions(+), 104 deletions(-) delete mode 100644 libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch (limited to 'libre-multilib/pcsx2') diff --git a/libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch b/libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch deleted file mode 100644 index 706fd722c..000000000 --- a/libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch +++ /dev/null @@ -1,89 +0,0 @@ -From 87bcb465c6c2238137dbf99890e9032930a5f6cd Mon Sep 17 00:00:00 2001 -From: Gregory Hainaut -Date: Wed, 27 May 2015 18:20:06 +0200 -Subject: [PATCH] common: fix gcc 5.0 issue - -Don't use const for variable object - -Close issue #560 ---- - common/include/Utilities/Console.h | 8 ++++---- - common/src/Utilities/Console.cpp | 14 +++++++------- - 2 files changed, 11 insertions(+), 11 deletions(-) - -diff --git a/common/include/Utilities/Console.h b/common/include/Utilities/Console.h -index a4fb75f..3cec159 100644 ---- a/common/include/Utilities/Console.h -+++ b/common/include/Utilities/Console.h -@@ -236,7 +236,7 @@ public: - virtual ~ConsoleAttrScope() throw(); - }; - --extern const IConsoleWriter Console; -+extern IConsoleWriter Console; - - extern void Console_SetActiveHandler( const IConsoleWriter& writer, FILE* flushfp=NULL ); - extern const wxString& ConsoleBuffer_Get(); -@@ -249,9 +249,9 @@ extern const IConsoleWriter ConsoleWriter_Assert; - extern const IConsoleWriter ConsoleWriter_Buffered; - extern const IConsoleWriter ConsoleWriter_wxError; - --extern const NullConsoleWriter NullCon; -+extern NullConsoleWriter NullCon; - --extern const IConsoleWriter DevConWriter; -+extern IConsoleWriter DevConWriter; - extern bool DevConWriterEnabled; - - #ifdef PCSX2_DEVBUILD -@@ -261,7 +261,7 @@ extern bool DevConWriterEnabled; - #endif - - #ifdef PCSX2_DEBUG --extern const IConsoleWriter DbgConWriter; -+extern IConsoleWriter DbgConWriter; - # define DbgCon DbgConWriter - #else - # define DbgCon 0&&NullCon -diff --git a/common/src/Utilities/Console.cpp b/common/src/Utilities/Console.cpp -index 956a295..3ff0469 100644 ---- a/common/src/Utilities/Console.cpp -+++ b/common/src/Utilities/Console.cpp -@@ -55,11 +55,11 @@ void Console_SetActiveHandler( const IConsoleWriter& writer, FILE* flushfp ) - writer.DoWriteLn( ConsoleBuffer_Get() ); - } - -- const_cast(Console) = writer; -- const_cast(DevConWriter) = writer; -+ Console = writer; -+ DevConWriter = writer; - - #ifdef PCSX2_DEBUG -- const_cast(DbgCon) = writer; -+ DbgCon = writer; - #endif - } - -@@ -597,15 +597,15 @@ ConsoleAttrScope::~ConsoleAttrScope() throw() - // - #define _DefaultWriter_ ConsoleWriter_Stdout - --const IConsoleWriter Console = _DefaultWriter_; --const IConsoleWriter DevConWriter = _DefaultWriter_; -+IConsoleWriter Console = _DefaultWriter_; -+IConsoleWriter DevConWriter = _DefaultWriter_; - bool DevConWriterEnabled = false; - - #ifdef PCSX2_DEBUG --const IConsoleWriter DbgConWriter = _DefaultWriter_; -+IConsoleWriter DbgConWriter = _DefaultWriter_; - #endif - --const NullConsoleWriter NullCon = {}; -+NullConsoleWriter NullCon = {}; - - // -------------------------------------------------------------------------------------- - // ConsoleLogSource (implementations) --- -2.5.3 - diff --git a/libre-multilib/pcsx2/PKGBUILD b/libre-multilib/pcsx2/PKGBUILD index 0258ff7f8..7096d0e3b 100644 --- a/libre-multilib/pcsx2/PKGBUILD +++ b/libre-multilib/pcsx2/PKGBUILD @@ -1,43 +1,37 @@ -# $Id: PKGBUILD 150115 2015-12-07 20:42:05Z fyan $ +# $Id: PKGBUILD 155777 2016-01-09 09:38:19Z alucryd $ # Maintainer (Arch): Maxime Gauduin # Contributor (Arch): josephgbr # Contributor (Arch): vEX # Maintainer: Márcio Silva pkgname=pcsx2 -pkgver=1.3.1 -pkgrel=6.parabola1 +pkgver=1.4.0 +pkgrel=1.parabola1 pkgdesc='A Sony PlayStation 2 emulator, without nonfree nvidia-cg-toolkit support' arch=('i686' 'x86_64') url='http://www.pcsx2.net' license=('GPL2' 'GPL3' 'LGPL2.1' 'LGPL3') depends_i686=('glew' 'libaio' 'libcanberra' 'libjpeg-turbo' - 'portaudio' 'sdl' 'soundtouch' 'wxgtk') + 'portaudio' 'sdl2' 'soundtouch' 'wxgtk') depends_x86_64=('lib32-glew' 'lib32-libaio' 'lib32-libcanberra' 'lib32-libjpeg-turbo' - 'lib32-portaudio' 'lib32-sdl' 'lib32-soundtouch' 'lib32-wxgtk') -makedepends=('cmake') + 'lib32-portaudio' 'lib32-sdl2' 'lib32-soundtouch' + 'lib32-wxgtk') +makedepends=('cmake' 'png++') makedepends_x86_64=('gcc-multilib') optdepends_x86_64=('lib32-gtk-engines: GTK2 engines support' - 'lib32-gtk-engine-murrine: Murrine GTK3 engine support' 'lib32-gtk-engine-unico: Unico GTK2 engine support') conflicts=("${pkgname}-libre") replaces=("${pkgname}-libre") options=('!emptydirs') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PCSX2/${pkgname}/archive/v${pkgver}.tar.gz" - '0001-common-fix-gcc-5.0-issue.patch') -sha256sums=('60ba9f7f85bf4337ca6962f9b437d549f16fc04ea0b6b261d7521e0416c2b8c9' - 'dc3bdfaea2e024da1d16dd6142030b13b3e2a4540ba1685399e3109d026866c4') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PCSX2/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('2c8a986e2b6514d7018f6cfd39c4f2a72229b9b4ab06ca6b1d3466dfd9c33005') prepare() { cd ${pkgname}-${pkgver} # Remove zzogl and zerogs plugins (depends nonfree nvidia-cg-toolkit) rm -vr plugins/{zerogs,zzogl-pg} sed -i '\|zz_res =|,+4 d' linux_various/glsl2h.pl - - # Fix startup crash with GCC 5.1 - # https://github.com/PCSX2/pcsx2/issues/560 - patch -Np1 -i ../0001-common-fix-gcc-5.0-issue.patch } build() { -- cgit v1.2.3