summaryrefslogtreecommitdiff
path: root/community/dolphin-emu
diff options
context:
space:
mode:
Diffstat (limited to 'community/dolphin-emu')
-rw-r--r--community/dolphin-emu/Dolphin_Logo.pngbin0 -> 62052 bytes
-rw-r--r--community/dolphin-emu/PKGBUILD43
-rw-r--r--community/dolphin-emu/dolphin-emu.desktop11
3 files changed, 54 insertions, 0 deletions
diff --git a/community/dolphin-emu/Dolphin_Logo.png b/community/dolphin-emu/Dolphin_Logo.png
new file mode 100644
index 000000000..63450da00
--- /dev/null
+++ b/community/dolphin-emu/Dolphin_Logo.png
Binary files differ
diff --git a/community/dolphin-emu/PKGBUILD b/community/dolphin-emu/PKGBUILD
new file mode 100644
index 000000000..1dbe03bb0
--- /dev/null
+++ b/community/dolphin-emu/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: schuay <jakob.gruber@gmail.com>
+# Contributor: Jeremy Newton (Mystro256)
+
+pkgname=dolphin-emu
+pkgver=4.0.2
+pkgrel=1
+epoch=1
+pkgdesc='A Gamecube / Wii / Triforce emulator'
+arch=('i686' 'x86_64')
+url='http://dolphin-emu.org'
+license=('GPL2')
+
+makedepends=('cmake' 'git' 'opencl-headers')
+depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'miniupnpc' 'openal' 'portaudio' 'sdl2' 'soundtouch' 'wxgtk2.9')
+optdepends=('pulseaudio: PulseAudio backend')
+
+source=("${pkgname%-*}::git+https://code.google.com/p/dolphin-emu/#tag=${pkgver}"
+ 'dolphin-emu.desktop'
+ 'Dolphin_Logo.png')
+
+# TODO: Drop the custom icon and .desktop file, apparently dolphin ships these now.
+
+build() {
+ cd "${srcdir}/${pkgname%-*}"
+
+ mkdir build && cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.9
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname%-*}/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=('SKIP'
+ 'feed4580c2e6bfbc7f6c67dad861daae'
+ 'd15c51f547b4bd47e510faac40bcc9d6')
diff --git a/community/dolphin-emu/dolphin-emu.desktop b/community/dolphin-emu/dolphin-emu.desktop
new file mode 100644
index 000000000..96317d168
--- /dev/null
+++ b/community/dolphin-emu/dolphin-emu.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Dolphin
+Categories=Game;Emulator;GTK;
+GenericName=GameCube and Wii Emulator
+Comment=An emulator for the GameCube and Wii consoles
+Exec=dolphin-emu
+Icon=dolphin-emu
+StartupNotify=false
+Name[en_US]=Dolphin