diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | retroarch-standalone.xinitrc | 15 |
3 files changed, 19 insertions, 7 deletions
@@ -1,13 +1,14 @@ pkgbase = retroarch-standalone-service pkgdesc = Systemd service and user to run Retroarch in stand-alone mode pkgver = 2 - pkgrel = 13 + pkgrel = 14 install = retroarch-standalone.install arch = x86_64 arch = i686 arch = arm arch = armv6h arch = armv7h + arch = aarch64 license = MIT depends = retroarch depends = retroarch-assets-xmb @@ -22,7 +23,7 @@ pkgbase = retroarch-standalone-service sha256sums = 5efc1dcc2d220a33f0d53d6abe4538227f434ff2a00f5165bb209cf6e0bae4a3 sha256sums = 48d9f35b943209764990050a06dea9bd356aa275adccb3e0a835e738e6beb0c6 sha256sums = 4c56ad43f3a5f209b4f3fb433b9ce4e0573b032cee21e587f912d6bc1d851423 - sha256sums = 4eb68b4b61e812d7047cf52ebd14c590637bb2b0594b13a288134a827a8429c1 + sha256sums = 72f004ed449fdf3949ed78cd8031dcc3d35630bf5897d760f159fa62cd0782ef pkgname = retroarch-standalone-service @@ -1,10 +1,10 @@ # Author: Julian Xhokaxhiu <info@julianxhokaxhiu.com> pkgname=retroarch-standalone-service pkgver=2 -pkgrel=13 +pkgrel=14 pkgdesc="Systemd service and user to run Retroarch in stand-alone mode" url="" -arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h') +arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') license=('MIT') depends=('retroarch' 'retroarch-assets-xmb' 'xorg-server' 'xorg-xinit' 'xorg-xset' 'unclutter') install='retroarch-standalone.install' @@ -18,7 +18,7 @@ sha256sums=( '5efc1dcc2d220a33f0d53d6abe4538227f434ff2a00f5165bb209cf6e0bae4a3' '48d9f35b943209764990050a06dea9bd356aa275adccb3e0a835e738e6beb0c6' '4c56ad43f3a5f209b4f3fb433b9ce4e0573b032cee21e587f912d6bc1d851423' - '4eb68b4b61e812d7047cf52ebd14c590637bb2b0594b13a288134a827a8429c1' + '72f004ed449fdf3949ed78cd8031dcc3d35630bf5897d760f159fa62cd0782ef' ) package() { diff --git a/retroarch-standalone.xinitrc b/retroarch-standalone.xinitrc index 363ecfbf17a7..5d1dc1ea14a2 100644 --- a/retroarch-standalone.xinitrc +++ b/retroarch-standalone.xinitrc @@ -6,10 +6,21 @@ xset -dpms # disable DPMS (Energy Star) features. xset s noblank # don't blank the video device # Hide mouse cursor -unclutter -display :0.0 -noevents -grab -root -reset & +unclutter -display :0.0 -root & # Clean old debug logs rm /home/retroarch/debug.log 2>&1 >&/dev/null # Autostart Retroarch -exec /usr/bin/retroarch --appendconfig=/etc/retroarch-standalone.cfg -v 2>&1 >&/home/retroarch/debug.log +exit_code=1 +while [ "$exit_code" -ne "0" ] +do + /usr/bin/retroarch --appendconfig=/etc/retroarch-standalone.cfg -v --log-file /home/retroarch/debug.log + exit_code=$? +done + +if [ -x "/home/retroarch/.xinit_exit" ] +then + /home/retroarch/.xini_exit +fi + |