summaryrefslogtreecommitdiff
path: root/community/dolphin-emu
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/dolphin-emu
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
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