blob: 44d483aa6251399ba2abb2b3b14e9648f2b61621 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Jeremy Newton (Mystro256)
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
_pkgname=dolphin-emu
pkgname=dolphin-emu-libre
pkgver=3.5
pkgrel=4
epoch=1
pkgdesc='A Gamecube / Wii / Triforce Emulator, without nonfree nvidia-cg-toolkit'
arch=('i686' 'x86_64' 'mips64el')
url='http://dolphin-emu.org'
license=('GPL2')
makedepends=('cmake' 'glproto' 'opencl-headers')
depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'libgl' 'libxxf86vm' 'lsb-release' 'lzo2' 'mesa' \
'openal' 'portaudio' 'sdl' 'wxgtk2.9')
optdepends=('pulseaudio')
replaces=$_pkgname
conflicts=$_pkgname
provides=$_pkgname=$pkgver
source=("http://dolphin-emu.googlecode.com/files/dolphin-${pkgver}-src.zip"
'dolphin-emu.desktop'
'Dolphin_Logo.png'
'gcc48fix.patch')
build() {
cd "${srcdir}/dolphin-${pkgver}"
# 'u32 __rold' redeclared as different kind of symbol
# Patch merged upstream, remove with next release (> 3.5)
patch -lNp1 < "${srcdir}/gcc48fix.patch"
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.9
make
}
package() {
cd "${srcdir}/dolphin-${pkgver}/build"
make DESTDIR=${pkgdir} install
install -Dm644 "${srcdir}/dolphin-emu.desktop" \
"${pkgdir}/usr/share/applications/dolphin-emu.desktop"
install -Dm644 "${srcdir}/Dolphin_Logo.png" "${pkgdir}/usr/share/pixmaps/dolphin-emu.png"
}
md5sums=('4d0429f1e10f0862256e0b4c4e2f44a3'
'feed4580c2e6bfbc7f6c67dad861daae'
'd15c51f547b4bd47e510faac40bcc9d6'
'ddeddc2a65042486565b4b78ad739a80')
|