diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-30 22:05:53 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-30 22:05:53 -0200 |
commit | 537f9d5031b8bc5e9fa98ab5622dd58e49a8c4a2 (patch) | |
tree | e460cc762e36554180d63be4f1d3614b5358c01e /libre/pcsx2-libre/PKGBUILD | |
parent | 8380ccd621a2b80aa6b80356bb0c1ded26800d8a (diff) | |
download | abslibre-537f9d5031b8bc5e9fa98ab5622dd58e49a8c4a2.tar.gz abslibre-537f9d5031b8bc5e9fa98ab5622dd58e49a8c4a2.tar.bz2 abslibre-537f9d5031b8bc5e9fa98ab5622dd58e49a8c4a2.zip |
move pcsx2-libre from [libre] to [libre-multilib]
Diffstat (limited to 'libre/pcsx2-libre/PKGBUILD')
-rw-r--r-- | libre/pcsx2-libre/PKGBUILD | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/libre/pcsx2-libre/PKGBUILD b/libre/pcsx2-libre/PKGBUILD deleted file mode 100644 index 9331100aa..000000000 --- a/libre/pcsx2-libre/PKGBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# $Id: PKGBUILD 103474 2014-01-06 14:09:29Z alucryd $ -# Maintainer: Maxime Gauduin <alucryd@gmail.com> -# Contributor: josephgbr <rafael.f.f1@gmail.com> -# Contributor: vEX <vex@niechift.com> - -_pkgname=pcsx2 -pkgname=$_pkgname-libre -pkgver=1.1.0.r5797 -pkgrel=1 -pkgdesc='A Sony PlayStation 2 emulator, without nonfree nvidia-cg-toolkit support' -arch=('i686' 'x86_64') -url='http://www.pcsx2.net' -license=('GPL') -makedepends=('cmake' 'sparsehash' 'svn') -if [[ $CARCH == "i686" ]]; then - depends=('glew' 'libaio' 'libcanberra' 'libjpeg-turbo' 'portaudio' 'sdl2' 'soundtouch' 'wxgtk2.8') -elif [[ $CARCH == "x86_64" ]]; then - makedepends+=('gcc-multilib' 'lib32-glew' 'lib32-libaio' 'lib32-libcanberra' 'lib32-libjpeg-turbo' 'lib32-mesa-libgl' 'lib32-portaudio' 'lib32-sdl2' 'lib32-soundtouch' 'lib32-wxgtk2.8') -fi -provides=("$_pkgname=$pkgver") -conflicts=("$_pkgname") -replaces=("$_pkgname") -options=('!emptydirs') -source=("${_pkgname}::svn+http://pcsx2.googlecode.com/svn/trunk/#revision=${pkgver#*r}") -sha256sums=('SKIP') - -build() { - cd ${_pkgname} - - if [[ -d build ]]; then - rm -rf build - fi - mkdir build && cd build - - if [[ $CARCH == "i686" ]]; then - cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release' -D{GLSL_API,PACKAGE_MODE,REBUILD_SHADER,SDL2_API,XDG_STD}=TRUE -DPLUGIN_DIR='/usr/lib/pcsx2' -DGAMEINDEX_DIR='/usr/share/pcsx2' -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8' - elif [[ $CARCH == "x86_64" ]]; then - export CC='gcc -m32' - export CXX='g++ -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release' -D{GLSL_API,PACKAGE_MODE,REBUILD_SHADER,SDL2_API,XDG_STD}=TRUE -DPLUGIN_DIR='/usr/lib32/pcsx2' -DGAMEINDEX_DIR='/usr/share/pcsx2' -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config32-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc32-2.8' -DCMAKE_LIBRARY_PATH='/usr/lib32' - fi - - make -} - -package() { - cd ${_pkgname}/build - - if [[ $CARCH == "x86_64" ]]; then - depends=('lib32-glew' 'lib32-libaio' 'lib32-libcanberra' 'lib32-libjpeg-turbo' 'lib32-portaudio' 'lib32-sdl2' 'lib32-soundtouch' 'lib32-wxgtk2.8') - fi - - make DESTDIR="${pkgdir}" install -} - -# vim: ts=2 sw=2 et: |