summaryrefslogtreecommitdiffstats
path: root/abs/extra/dolphin-emu
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-02-19 21:10:18 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-02-19 21:10:18 (GMT)
commit2648e999d277eac5c3d331a3609bcc73fafbea71 (patch)
tree40951fb8e7fdbe28a0baa324ae615055203f1e2e /abs/extra/dolphin-emu
parentc759b5e0c4aa6fc37412b4dee2cf9ad993fd376d (diff)
parent7e6f7ca174e1af67178dc5293a312a4a733eb095 (diff)
downloadlinhes_pkgbuild-2648e999d277eac5c3d331a3609bcc73fafbea71.zip
linhes_pkgbuild-2648e999d277eac5c3d331a3609bcc73fafbea71.tar.gz
linhes_pkgbuild-2648e999d277eac5c3d331a3609bcc73fafbea71.tar.bz2
Merge branch 'testing'
# By James Meyer (1091) and others # Via James Meyer (5) and others * testing: (1148 commits) LinHES-config: during install don't kill off lirc. This keeps the remote active all the way to the finish Change version numbers to 8.0 to match the release number. LinHES-conifg LinHES-system mythdb-initial runit-scripts supplemental-web LinHES-conifig: mv_install.py for the last partition don't go all the way to the end. Gotta leave room for gpt tables. xf86-video-ati: xorg ati driver. LinHES-config: timezip.py add syncing up of parental lvl passwords and starting level with MBE. LinHES-system: correct the logic for breaking out of the wmctrl loop. As written it would break out of the inner loop..but not the 60 iteration loop. e16_theme_settings: remove slide-in prop for new windows. For whatever reason this was preventing mplayer from being positioned correctly for appletrailers. LinHES-config, mythinstall: change case of hd_pvr and serial to all lower refs #902 zilog-firmware: firmware for TX support of the hdpvr and pvr-150 In general I can't recommend anybody using these transmitters but including the firmware just in case someone really wants to linhes-udev-rules: added hdprv_lirc rule. All of these lirc rules are limited to exactly one device. If more then one device is present then only the last device in init will get the symlink runit-scripts: fix logging for igdeamon, add support to remote init script so that the blaster is always the first device in the chain. added support specificly for hd_pvr LinHES-system: add lh_system_restore and lh_system_backup. These scripts are called from the mythmenu. refs #900 iguanair: rebuild with python 2.7 LinHES-system: msg_daemon.py fix init and nasty bug related to timeout. In a nutshell timeout wouldn't work unless a msg without a timeout was called first. linhes-udev-rules: add rules for mce,streamzap,serial lirc devices. mythinstall: recompile for matching libs mythtv: latest .25-fixes and change mythbackup/restore call lh_system_$op to replace mythbackup/mythrestore. mythbackup no longer works correctly with the new windowmanager linhes-scripts: myth2mp3, myth2x264, myth2xvid: use mythutil to get cutlist LinHES-config, supplimental-web: Fix proxy numbering for Ceton infiniTV linhes-system: add additional stuff to the system backup and also introduced an exclude file. The exclude/include files are locate in /home/mythtv/backup_config/ ...
Diffstat (limited to 'abs/extra/dolphin-emu')
-rw-r--r--abs/extra/dolphin-emu/Dolphin_Logo.pngbin0 -> 62052 bytes
-rw-r--r--abs/extra/dolphin-emu/PKGBUILD92
-rw-r--r--abs/extra/dolphin-emu/__changelog5
-rw-r--r--abs/extra/dolphin-emu/dolphin-emu.desktop11
-rw-r--r--abs/extra/dolphin-emu/dolphin-emu.install11
-rw-r--r--abs/extra/dolphin-emu/dolphin-emu.xml18
-rw-r--r--abs/extra/dolphin-emu/dolphin-emu_games.xml7
-rw-r--r--abs/extra/dolphin-emu/dolphin-emu_scan.sh46
-rw-r--r--abs/extra/dolphin-emu/dolphin_emu.confcd0
-rw-r--r--abs/extra/dolphin-emu/gen_lib_dolphin-emu.conf7
-rw-r--r--abs/extra/dolphin-emu/unistd.diff11
11 files changed, 208 insertions, 0 deletions
diff --git a/abs/extra/dolphin-emu/Dolphin_Logo.png b/abs/extra/dolphin-emu/Dolphin_Logo.png
new file mode 100644
index 0000000..63450da
--- /dev/null
+++ b/abs/extra/dolphin-emu/Dolphin_Logo.png
Binary files differ
diff --git a/abs/extra/dolphin-emu/PKGBUILD b/abs/extra/dolphin-emu/PKGBUILD
new file mode 100644
index 0000000..04547f2
--- /dev/null
+++ b/abs/extra/dolphin-emu/PKGBUILD
@@ -0,0 +1,92 @@
+# Maintainer: schuay <jakob.gruber@gmail.com>
+# Contributor: Jeremy Newton (Mystro256)
+# Special thanks to the contributors of dolphin-emu-svn: for the icon, desktop file and some lines from the PKGBUILD
+# Thanks to all that contributed! :)
+
+pkgname=dolphin-emu
+pkgver=3.0
+pkgrel=12
+epoch=1
+pkgdesc="A GameCube and Wii emulator (stable git branch)"
+arch=('i686' 'x86_64')
+url="http://www.dolphin-emulator.com/"
+license=('GPL2')
+
+makedepends=('git' 'cmake' 'glproto' 'opencl-headers')
+depends=('sdl' 'libxxf86vm' 'libao' 'wxgtk' 'wiiuse' 'nvidia-cg-toolkit' \
+ 'glew' 'mesa' 'libgl' 'openal' 'lzo2')
+ #'glew' 'mesa' 'libgl' 'openal' 'portaudio' 'lzo2')
+
+# Cannot be BUILT with sfml later than 1.6
+# IF YOU NEED SFML>=1.7 FOR SOMETHING ELSE, TRY REMOVING THE CONFLICT
+# BELOW AND ONLY TEMPORARY UNINSTALLING SFML TO BUILD/INSTALL DOLPHIN
+conflicts=('dolphin-emu-git' 'sfml>=1.7' 'sfml-git')
+install="${pkgname}.install"
+source=('dolphin-emu.desktop'
+ 'unistd.diff'
+ 'Dolphin_Logo.png'
+ 'dolphin-emu.xml'
+ 'dolphin-emu_games.xml'
+ 'dolphin-emu_scan.sh'
+ 'gen_lib_dolphin-emu.conf')
+
+_gitroot=https://code.google.com/p/dolphin-emu/
+_gitname=dolphin-emu-3.0
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [[ -d "$_gitname" ]]; then
+ cd "$_gitname" && git pull origin 3.0
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+# msg "Checking out at stable 3.0 branch"
+# git checkout 3.0
+
+ msg "GIT checkout done or server timeout"
+
+ patch -Np2 < ${srcdir}/unistd.diff
+
+ mkdir build && cd build
+ export CXXFLAGS="$CXXFLAGS -fpermissive"
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/dolphin-emu-3.0-build/build"
+
+ make DESTDIR=${pkgdir} install
+
+ mkdir -p "${pkgdir}"/usr/share/mythtv/themes/defaultmenu
+ mkdir -p "${pkgdir}"/usr/LH/bin
+
+ 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"
+ cp "${srcdir}/dolphin-emu.xml" "${pkgdir}/usr/share/mythtv/themes/defaultmenu"
+ cp "${srcdir}/dolphin-emu_games.xml" "${pkgdir}/usr/share/mythtv/themes/defaultmenu"
+ install -m755 "${srcdir}/dolphin-emu_scan.sh" "${pkgdir}/usr/LH/bin"
+ #add in file for gen_game.xml
+ install -D -m0744 ${srcdir}/gen_lib_dolphin-emu.conf ${pkgdir}/etc/gen_game_xml.d/dolphin-emu.conf
+}
+
+# vim:set ts=2 sw=2 et:
+
+md5sums=('feed4580c2e6bfbc7f6c67dad861daae'
+ 'a463b96d02462b5f6b0894f6ced821ab'
+ 'd15c51f547b4bd47e510faac40bcc9d6'
+ 'ab7a9b9cfe03db65c881134c0f02bda0'
+ '1d03499e0abab56285bc97176d311bf1'
+ 'af44dd20626ce26d0a07dadc37c20233'
+ '9884a9769c1954ab9dcb0727c8c81984')
diff --git a/abs/extra/dolphin-emu/__changelog b/abs/extra/dolphin-emu/__changelog
new file mode 100644
index 0000000..113934d
--- /dev/null
+++ b/abs/extra/dolphin-emu/__changelog
@@ -0,0 +1,5 @@
+6/9/12 -chw-
+Added install file, and mythtv menu files.
+removed portaudio because it drug in jack
+
+--converted .install file to use gen_game_xml.py
diff --git a/abs/extra/dolphin-emu/dolphin-emu.desktop b/abs/extra/dolphin-emu/dolphin-emu.desktop
new file mode 100644
index 0000000..96317d1
--- /dev/null
+++ b/abs/extra/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
diff --git a/abs/extra/dolphin-emu/dolphin-emu.install b/abs/extra/dolphin-emu/dolphin-emu.install
new file mode 100644
index 0000000..84b587f
--- /dev/null
+++ b/abs/extra/dolphin-emu/dolphin-emu.install
@@ -0,0 +1,11 @@
+post_install() {
+ gen_game_xml.py
+}
+
+post_upgrade() {
+ gen_game_xml.py
+}
+
+post_remove() {
+ gen_game_xml.py
+}
diff --git a/abs/extra/dolphin-emu/dolphin-emu.xml b/abs/extra/dolphin-emu/dolphin-emu.xml
new file mode 100644
index 0000000..5aaf1a1
--- /dev/null
+++ b/abs/extra/dolphin-emu/dolphin-emu.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<mythmenu name="GAME">
+
+ <button>
+ <type>GAME</type>
+ <text>Scan for games</text>
+ <description></description>
+ <action>EXEC /usr/LH/bin/dolphin-emu_scan.sh</action>
+ </button>
+
+ <button>
+ <type>GAME</type>
+ <text>Play Dolphin Games</text>
+ <description>Play video games</description>
+ <action>MENU dolphin-emu_games.xml</action>
+ </button>
+
+</mythmenu>
diff --git a/abs/extra/dolphin-emu/dolphin-emu_games.xml b/abs/extra/dolphin-emu/dolphin-emu_games.xml
new file mode 100644
index 0000000..fdd19d9
--- /dev/null
+++ b/abs/extra/dolphin-emu/dolphin-emu_games.xml
@@ -0,0 +1,7 @@
+<mythmenu name="DOLPHIN">
+ <button>
+ <type>MENU_DOLPHIN</type>
+ <text>Please scan for games</text>
+ <action>UPMENU</action>
+ </button>
+</mythmenu>
diff --git a/abs/extra/dolphin-emu/dolphin-emu_scan.sh b/abs/extra/dolphin-emu/dolphin-emu_scan.sh
new file mode 100644
index 0000000..804553e
--- /dev/null
+++ b/abs/extra/dolphin-emu/dolphin-emu_scan.sh
@@ -0,0 +1,46 @@
+#!/bin/bash
+#----------------------------------------------------------------------------
+. /etc/osd_cat.cfg || {
+ color=yellow
+ outline=2
+ outlinecolour=black
+ shadow=0
+ shadowcolour=black
+ font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*"
+}
+#----------------------------------------------------------------------------
+EXTNS=('[eE][lL][fF]' '[dD][oO][lL]' '[gG][cC][mM]' '[iI][sS][oO]' '[cC][iI][sS][oO]' '[gG][cC][zZ]' '[wW][aA][dD]')
+DIR=/myth/games/dolphin-emu/roms
+rm -fr /tmp/dolphin*
+echo -e "Scanning for games." | osd_cat --pos=middle --align=center --delay=2 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font &
+for EXT in ${EXTNS[@]}
+do
+ if [ -d "$DIR" ]; then
+ cd $DIR
+ ls *.$EXT >> /tmp/dolphin-emu.games
+ fi
+done
+sleep 3
+if [ -s /tmp/dolphin-emu.games ]; then
+ echo -e "Creating menu." | osd_cat --pos=middle --align=center --delay=2 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font &
+ sleep 3
+else
+ echo -e "No games detected. Ensure you have your files in $DIR." | osd_cat --pos=middle --align=center --delay=4 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font &
+ sleep 5
+ exit 0
+fi
+
+echo "<mythmenu name=\"DOLPHIN\">" > /tmp/dolphin-emu_games.xml
+
+while read line
+do
+ echo " <button>" >> /tmp/dolphin-emu_games.xml
+ echo " <type>MENU_DOLPHIN</type>" >> /tmp/dolphin-emu_games.xml
+ echo " <text>$(echo "$line" | sed 's/.\{4\}$//')</text>" >> /tmp/dolphin-emu_games.xml
+ echo " <action>EXEC /usr/bin/dolphin-emu -b -e $DIR/$(echo "$line" | sed "s/'/\\\\'/g" | sed 's/ /\\ /g')</action>" >> /tmp/dolphin-emu_games.xml
+ echo " </button>" >> /tmp/dolphin-emu_games.xml
+done < /tmp/dolphin-emu.games
+echo "</mythmenu>" >> /tmp/dolphin-emu_games.xml
+sudo mv /tmp/dolphin-emu_games.xml /usr/share/mythtv/themes/defaultmenu/
+echo -e "Menu created." | osd_cat --pos=middle --align=center --delay=2 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font &
+sleep 2
diff --git a/abs/extra/dolphin-emu/dolphin_emu.confcd b/abs/extra/dolphin-emu/dolphin_emu.confcd
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/abs/extra/dolphin-emu/dolphin_emu.confcd
diff --git a/abs/extra/dolphin-emu/gen_lib_dolphin-emu.conf b/abs/extra/dolphin-emu/gen_lib_dolphin-emu.conf
new file mode 100644
index 0000000..51b89d0
--- /dev/null
+++ b/abs/extra/dolphin-emu/gen_lib_dolphin-emu.conf
@@ -0,0 +1,7 @@
+<!--#Dolphin-Emu-->
+ <button>
+ <type>MENU_GAME</type>
+ <text>Dolphin Emulator</text>
+ <action>MENU dolphin-emu.xml</action>
+ </button>
+<!--#Dolphin-Emu-->
diff --git a/abs/extra/dolphin-emu/unistd.diff b/abs/extra/dolphin-emu/unistd.diff
new file mode 100644
index 0000000..2b39063
--- /dev/null
+++ b/abs/extra/dolphin-emu/unistd.diff
@@ -0,0 +1,11 @@
+--- src/dolphin-emu-3.0/Source/Core/Common/Src/CommonFuncs.h 2012-04-07 10:47:47.595151504 +0200
++++ src/dolphin-emu-3.0-build/Source/Core/Common/Src/CommonFuncs.h 2012-04-07 10:53:25.371113081 +0200
+@@ -18,6 +18,8 @@
+ #ifndef _COMMONFUNCS_H_
+ #define _COMMONFUNCS_H_
+
++#include <unistd.h>
++
+ #ifdef _WIN32
+ #define SLEEP(x) Sleep(x)
+ #else