summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/dolphin-emu/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-06-10 09:20:22 (GMT)
committerCecil <knoppmyth@gmail.com>2012-06-10 09:20:22 (GMT)
commit2a94d52b081284e7f8165948fae50b3efabcd625 (patch)
treeffde052c683f889fc73b1865c0ce1d4c3722927e /abs/extra/community/dolphin-emu/PKGBUILD
parent5011a58602b07baa129e2df183f7e0bb8996f092 (diff)
downloadlinhes_pkgbuild-2a94d52b081284e7f8165948fae50b3efabcd625.zip
linhes_pkgbuild-2a94d52b081284e7f8165948fae50b3efabcd625.tar.gz
linhes_pkgbuild-2a94d52b081284e7f8165948fae50b3efabcd625.tar.bz2
dolphin-emu:Added menu entry for Dolphin. Added script that parse directory to create menu entry for games.
Diffstat (limited to 'abs/extra/community/dolphin-emu/PKGBUILD')
-rw-r--r--abs/extra/community/dolphin-emu/PKGBUILD20
1 files changed, 16 insertions, 4 deletions
diff --git a/abs/extra/community/dolphin-emu/PKGBUILD b/abs/extra/community/dolphin-emu/PKGBUILD
index a617981..a75a929 100644
--- a/abs/extra/community/dolphin-emu/PKGBUILD
+++ b/abs/extra/community/dolphin-emu/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=dolphin-emu
pkgver=3.0
-pkgrel=9
+pkgrel=10
epoch=1
pkgdesc="A GameCube and Wii emulator (stable git branch)"
arch=('i686' 'x86_64')
@@ -20,10 +20,13 @@ depends=('sdl' 'libxxf86vm' 'libao' 'wxgtk' 'wiiuse' 'nvidia-cg-toolkit' \
# 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_Logo.png'
+ 'dolphin-emu.xml'
+ 'dolphin-emu_games.xml'
+ 'dolphin-emu_scan.sh')
_gitroot=https://code.google.com/p/dolphin-emu/
_gitname=dolphin-emu-3.0
@@ -63,13 +66,22 @@ 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"
}
# vim:set ts=2 sw=2 et:
md5sums=('feed4580c2e6bfbc7f6c67dad861daae'
'a463b96d02462b5f6b0894f6ced821ab'
- 'd15c51f547b4bd47e510faac40bcc9d6')
+ 'd15c51f547b4bd47e510faac40bcc9d6'
+ 'ab7a9b9cfe03db65c881134c0f02bda0'
+ '1d03499e0abab56285bc97176d311bf1'
+ '4d2304318e82fd9115810b7a13fa5ad0')