1 # Maintainer: Jeremy Newton (Mystro256)
2 # Contributor: Jeremy Newton (Mystro256)
3 # Special thanks to the contributors of dolphin-emu-svn: for the icon, desktop file and some lines from the PKGBUILD
4 # Thanks to all that contributed! :)
9 pkgdesc="A GameCube and Wii emulator (stable git branch)"
10 arch=('i686' 'x86_64')
11 url="http://www.dolphin-emulator.com/"
14 makedepends=('git' 'cmake' 'glproto' 'opencl-headers')
15 depends=('sdl' 'libxxf86vm' 'libao' 'wxgtk' 'wiiuse' 'nvidia-cg-toolkit' 'glew1.6' 'mesa' 'libgl')
16 provides=("dolphin-emu=${pkgver}-${pkgrel}")
18 # Cannot be BUILT with sfml later than 1.6
19 # IF YOU NEED SFML>=1.7 FOR SOMETHING ELSE, TRY REMOVING THE CONFLICT
20 # BELOW AND ONLY TEMPORARY UNINSTALLING SFML TO BUILD/INSTALL DOLPHIN
21 conflicts=('dolphin-emu-no-svn-config-dir-svn' 'dolphin-emu-git' 'dolphin-emu-svn' 'dolphin-emu-svn-bin' 'dolphin-emu-svn-bin' 'sfml>=1.7' 'sfml-git')
23 source=('dolphin-emu.desktop'
26 md5sums=('feed4580c2e6bfbc7f6c67dad861daae'
27 'd15c51f547b4bd47e510faac40bcc9d6')
32 msg "Checking git...."
33 if [ -d dolphin-emu-3.0 ] ; then
34 # To avoid any conflict, grab a fresh clone
35 msg "Removing old files"
36 rm -R -f dolphin-emu-3.0
39 msg "Cloning from GIT"
40 git clone https://code.google.com/p/dolphin-emu/ dolphin-emu-3.0
43 #Checkout at the STABLE 3.0 Branch of the git
44 msg "Checking out at stable 3.0 branch"
47 msg "GIT checkout done or server timeout"
49 mkdir Build && cd Build
50 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
54 cd "${srcdir}/dolphin-emu-3.0/Build"
56 make DESTDIR=${pkgdir} install
58 install -Dm644 "${srcdir}/dolphin-emu.desktop" "${pkgdir}/usr/share/applications/dolphin-emu.desktop"
59 install -Dm644 "${srcdir}/Dolphin_Logo.png" "${pkgdir}/usr/share/pixmaps/dolphin-emu.png"