From cdf49457c7b891280543e3756c6dd88a3e0862d8 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Tue, 12 Nov 2019 23:51:30 -0500 Subject: [PATCH] emulationstation --- src/emulationstation/PKGBUILD | 46 ++++++++++++++++++ src/emulationstation/emulationstation.desktop | 25 ++++++++++ src/emulationstation/emulationstation.install | 11 +++++ src/emulationstation/emulationstation.png | Bin 0 -> 4870 bytes 4 files changed, 82 insertions(+) create mode 100644 src/emulationstation/PKGBUILD create mode 100644 src/emulationstation/emulationstation.desktop create mode 100644 src/emulationstation/emulationstation.install create mode 100644 src/emulationstation/emulationstation.png diff --git a/src/emulationstation/PKGBUILD b/src/emulationstation/PKGBUILD new file mode 100644 index 0000000..febf18c --- /dev/null +++ b/src/emulationstation/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Guillaume Hayot +pkgname=emulationstation +_gitname=EmulationStation +pkgver=2.7.6 +pkgrel=1 +pkgdesc="Emulation Station is a flexible emulator front-end supporting keyboardless navigation and custom system themes." +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +url="https://github.com/RetroPie/EmulationStation" +license=('MIT') +install=emulationstation.install +depends=('vlc' 'alsa-lib' 'sdl2' 'boost-libs' 'freeimage' 'curl' 'libraw') +makedepends=('cmake' 'boost' 'freetype2' 'eigen' 'curl' 'git') +optdepends=('ttf-droid: Fallback fonts for Chinese/Japanese/Korean characters' + 'dolphin-emu: GameCube and Wii support' + 'mupen64plus: Nintendo 64 support' + 'mednafen: NES and GBA support' + 'zsnes: SNES support' + 'stella: Atari 2600 support' + 'ppsspp-headless: PSP support' + 'steam: Steam support') +conflicts=(emulationstation-git) +source=("https://github.com/RetroPie/$_gitname/archive/v$pkgver.tar.gz" + "emulationstation.desktop" + "emulationstation.png") +sha256sums=('f56b4301ddd97beb990aed387d34e021ea1df6a2f1256cf361cf2bcefd1b6247' + '5564803e0a82e132ab507b9cd341b32d1ce5b8be527996fbe13607d90f1dde2c' + 'ac589d9da5c258226f8de76e99afe2b07ac86030ced90d284d31b51193057f9c') + +prepare() { + cd "$_gitname-$pkgver" + rm -rf external/pugixml + git clone https://github.com/zeux/pugixml.git external/pugixml +} + +build() { + cd "$_gitname-$pkgver" + cmake . + make +} + +package() { + install -Dm755 "$srcdir/$_gitname-$pkgver/emulationstation" "$pkgdir/usr/bin/emulationstation" + install -Dm644 "$srcdir/$_gitname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/emulationstation/LICENSE" + install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" + install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" +} diff --git a/src/emulationstation/emulationstation.desktop b/src/emulationstation/emulationstation.desktop new file mode 100644 index 0000000..2c1c366 --- /dev/null +++ b/src/emulationstation/emulationstation.desktop @@ -0,0 +1,25 @@ +[Desktop Entry] +Name=EmulationStation +GenericName=EmulationStation +Comment=Front-end for emulators +Exec=emulationstation +Icon=emulationstation.svg +Terminal=false +Type=Application +StartupNotify=false +Categories=Game;Emulator; + +[Desktop Action Windowed] +Name=Open as window +Exec=emulationstation --windowed +OnlyShowIn=Unity;GNOME; + +[Desktop Action NoExit] +Name=Don't display exit button +Exec=emulationstation --no-exit +OnlyShowIn=Unity;GNOME; + +[Desktop Action Vsync off] +Name=Open in standalone mode +Exec=emulationstation -vsync 0 +OnlyShowIn=Unity;GNOME; diff --git a/src/emulationstation/emulationstation.install b/src/emulationstation/emulationstation.install new file mode 100644 index 0000000..654a313 --- /dev/null +++ b/src/emulationstation/emulationstation.install @@ -0,0 +1,11 @@ +post_install() { + echo "An example systems configuration file will be created at ~/.emulationstation/es_systems.cfg on first run." + echo "See https://github.com/RetroPie/EmulationStation/blob/master/SYSTEMS.md on how to tell EmulationStation" + echo "what systems you have, what platform they correspond to (for scraping), and where the games are located." + echo "" + echo "See https://github.com/RetroPie/EmulationStation#writing-an-es_systemscfg for a configuration file example." + echo "" + echo "Default theme is quite ugly, you can clone one like https://github.com/RetroPie/es-theme-carbon" + echo "in ~/.emulationstation/themes/{theme name} and select it in the settings." + echo "See https://github.com/RetroPie/EmulationStation/blob/master/THEMES.md for documentation." +} diff --git a/src/emulationstation/emulationstation.png b/src/emulationstation/emulationstation.png new file mode 100644 index 0000000000000000000000000000000000000000..251686c0768ce5180bfd3a3b8234f59bd928ad45 GIT binary patch literal 4870 zcmcIoX*ks1+y4$iT2NZ7Bm1t1EMY8R$k>uZhU{bwgDevjq8Mv-vS%wn*OHzPB~%ro?V-aOau)pK3{SLa^Na-VaZ`*VHnJJtlDcY=kB1pt5(aD5#!0D#a$ z2*Aup8*Kc_oM{86|Fv8G=HAZ!D0@FAK-1Ctt`k4p)856&%*oy{*tg5+Dgc}+gX?JC z2pV6_IU2-a@g7F)*X3vUcy=pj;4o@Q4(abUdse~s;%qqoO989Y4(3Lvl5Ar_RY$B2;CAf}5~17mi46`~p1y=dW9 zOdl0;w^luQ6dlG)S|UulgG@?1gC%e^w{t@#%OfnwiTSXJTzsuxX?AZfh5*+SlEi*l zKpGbXs;kty3iSyJ7CD!-jy(Q4(AlU_)J6H}63T@Zt@ODVMNjYKTI$OAtu*fV(lBEA zQ8Z>Z4);~2!89UA)T5rQ>=#Kl0FMd3GvB|yR;=xBj?g_bb*J9y?k}0&9fGvroyV~W zv9Xq`<$OFsr^;#BFc zs>;Gmc6R!-{}58e!bDn{OwM|%x{il2n@Lk~)nDbj^ku90t|+A^iw^Yd*-Y6sT6gn) zR<9a5?*G1Ii=|;}dnxy|&)V5w=P4F=kE8-2oS{4g8)EgaH#B~tr^i=HO?!$ITGe~! zjiw(@fxtt?ypklX;GK?+!I$=GCn>^WGSbPyz7z99pO6M~vA+ch6pXOOny>KbWT^}# zzx>M%J5y9WtKgL(}7(j|3uAw7j-{bQKdr(={R%h0d*}q205dnTXOG5 zx>QBOTI#@+jTEUc#HTM84RJLhKq|;&*hKc-HYrwZ4AFZT+U8cub6stogt3Y!)Y=o3 zzk)>M^dt?|f>iP~7+Q{4%&#Y+red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