Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=68d8fbfbc3c87692f25c4b97778006917cf797ab

commit 68d8fbfbc3c87692f25c4b97778006917cf797ab
Author: kikadf <[email protected]>
Date:   Thu Apr 24 16:00:39 2014 +0200

pcsx2-1.2.2-1-x86_64

* Version bump
* Build with glew-1.10

diff --git a/source/games-extra/pcsx2/FrugalBuild 
b/source/games-extra/pcsx2/FrugalBuild
index 81cbdf2..0feba15 100644
--- a/source/games-extra/pcsx2/FrugalBuild
+++ b/source/games-extra/pcsx2/FrugalBuild
@@ -1,30 +1,37 @@
# Compiling Time: 0 SBU
# Maintainer: James Buren <[email protected]>

+options+=('asneeded')
+
pkgname=pcsx2
-pkgver=1.0.0
+pkgver=1.2.2
pkgrel=1
pkgdesc="A Playstation 2 emulator."
url="http://pcsx2.net";
depends=('wxgtk' 'soundtouch' 'portaudio' 'nvidia-cg-toolkit' 'glew')
makedepends=('7zip' 'google-sparsehash' 'subversion')
-Finclude cmake
+_F_github_author="PCSX2"
+_F_github_name="pcsx2"
+_F_github_tag="yes"
+_F_fw32build_desktop_icon="$_F_fw32_dir/usr/share/pixmaps/$pkgname.xpm"
+Finclude github cmake fw32build
groups=('games-extra')
-archs=('i686' '!x86_64')
-up2date="lynx -dump $url/downloads.php | sed -n 's|PCSX2 \([0-9A-Za-z.]\+\) 
Source Code|\1|p'"
-source=(http://forums.pcsx2.net/attachment.php?aid=40054 
$pkgname-1.0.0-compile.patch)
+archs=('i686' 'x86_64')
+up2date="$up2date | sed 's/v//'"
+source=(https://github.com/PCSX2/pcsx2/archive/v$pkgver.tar.gz)
_F_cmake_confopts='-DFORCE_INTERNAL_SDL=FALSE -DFORCE_INTERNAL_ZLIB=FALSE 
-DFORCE_INTERNAL_SOUNDTOUCH=FALSE -DPACKAGE_MODE=TRUE 
-DGAMEINDEX_DIR=/usr/share/pcsx2 -DGLSL_SHADER_DIR=/usr/share/pcsx2 
-DGLSL_SHADER_DIR=/usr/share/pcsx2 -DXDG_STD=TRUE'
_F_cmake_type='Release'
-_F_cd_path="$pkgname-$pkgver-r5350-sources"
# Disable our optimizations. This package is sensitive to them and defines its 
own.
unset CFLAGS CXXFLAGS
-sha1sums=('060d57c6b06b1752fd5ece9aaf45fa4da508aba4' \
-          '85ff3e3e8e1b8090cffa888d56e4c7412d8065c1')
+sha1sums=('755a054c1dc5727d13f7aad9713d0c4219ef4896')

build()
{
-       Fexec 7z x -y `basename ${source[0]}`
-       CMake_build
+       if [ "$CARCH" == "x86_64" ] ; then
+               Fw32_build
+       else
+               CMake_build
+       fi
}

# optimization OK
diff --git a/source/games-extra/pcsx2/pcsx2-1.0.0-compile.patch 
b/source/games-extra/pcsx2/pcsx2-1.0.0-compile.patch
deleted file mode 100644
index f32e2aa..0000000
--- a/source/games-extra/pcsx2/pcsx2-1.0.0-compile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ur a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt   2012-07-06 09:18:22.000000000 -0500
-+++ b/CMakeLists.txt   2012-10-19 16:41:55.442621077 -0500
-@@ -95,7 +95,7 @@
-     INSTALL(FILES "${PROJECT_SOURCE_DIR}/bin/GameIndex.dbf" DESTINATION 
"${GAMEINDEX_DIR}")
-     INSTALL(FILES "${PROJECT_SOURCE_DIR}/linux_various/pcsx2.desktop" 
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
-     INSTALL(FILES "${PROJECT_SOURCE_DIR}/linux_various/pcsx2.xpm" DESTINATION 
"${CMAKE_INSTALL_PREFIX}/share/pixmaps")
--    INSTALL(FILES "${PROJECT_SOURCE_DIR}/bin/docs/PCSX2_FAQ_0.9.8.pdf" 
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/pcsx2")
--    INSTALL(FILES "${PROJECT_SOURCE_DIR}/bin/docs/PCSX2_Readme_0.9.8.pdf" 
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/pcsx2")
-+    INSTALL(FILES "${PROJECT_SOURCE_DIR}/bin/docs/PCSX2_FAQ_1.0.0.pdf" 
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/pcsx2")
-+    INSTALL(FILES "${PROJECT_SOURCE_DIR}/bin/docs/PCSX2_Readme_1.0.0.pdf" 
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/pcsx2")
-     INSTALL(FILES "${PROJECT_SOURCE_DIR}/bin/docs/pcsx2.1" DESTINATION 
"${CMAKE_INSTALL_PREFIX}/share/man/man1/")
- endif(PACKAGE_MODE)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to