Package Details: retroarch-git 1.8.7.r89.7cbb79277d-1

Git Clone URL: (read-only, click to copy)
Package Base: retroarch-git
Description: Reference frontend for the libretro API (Git-latest)
Upstream URL:
Keywords: emulator games libretro retroarch
Licenses: GPL
Conflicts: retroarch
Provides: retroarch
Submitter: Themaister
Maintainer: parkerlreed
Last Packager: parkerlreed
Votes: 81
Popularity: 0.001269
First Submitted: 2012-04-22 13:08 (UTC)
Last Updated: 2020-05-22 18:10 (UTC)

Dependencies (37)

Required by (13)

Sources (3)

Pinned Comments

ProfessorKaos64 commented on 2016-09-20 15:28 (UTC) (edited on 2016-10-21 15:28 (UTC) by ProfessorKaos64)

It is suggested you install retroarch-assets-xmb-git over retroarch-assets-xmb, as the community packages is currently missing assets.

Latest Comments

Neko-san commented on 2021-09-20 21:31 (UTC) (edited on 2021-09-21 04:03 (UTC) by Neko-san)

Compiling RetroArch fails when using Clang with LTO enabled and with the linker set in makepkg.conf as lld, etc :v

LD retroarch
obj-unix/release/input/drivers/linuxraw_input.o: file not recognized: file format not recognized
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:201: retroarch] Error 1
==> ERROR: A failure occurred in build().
error: failed to build 'retroarch-git-1.8.7.r89.7cbb79277d-1'

Vaporeon commented on 2021-09-20 01:20 (UTC) (edited on 2021-09-20 01:23 (UTC) by Vaporeon)

How come jack support is disabled in this package? I enabled it and it works fine.

parkerlreed commented on 2021-07-12 21:51 (UTC)

Currently the Qt bits fail to compile. Either use --disable-qt passed to configure or set the standard flags to c++14 (been unsuccessful with this one so far)

parkerlreed commented on 2020-05-22 18:07 (UTC)

@fuzzbop thanks updated

@Terence Adding it now

Terence commented on 2020-05-09 20:59 (UTC) (edited on 2020-05-09 21:01 (UTC) by Terence)

I think this package needs to depends on perl-net-dbus, otherwise I see this when launching a dolphin game (Mario Kart Double Dash):

Can't locate Net/ in @INC (you may need to install the Net::DBus module) (@INC contains: /usr/lib/perl5/5.30/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.30/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.30/core_perl /usr/share/perl5/core_perl) at -e line 6.
BEGIN failed--compilation aborted at -e line 6.

fuzzbop commented on 2020-05-02 15:06 (UTC)

Building fine with rich presence for me now

parkerlreed commented on 2020-01-22 20:07 (UTC) (edited on 2020-01-22 20:36 (UTC) by parkerlreed)

Currently fails to build due to the Discord integration. Upstream issue here

EDIT: Updated PKGBUILD to disable the Discord integration until that is fixed upstream.

elgabo commented on 2019-02-13 13:52 (UTC)

xorg-xrandr is needed to compile. Please add it thanks! :)

parkerlreed commented on 2018-12-03 23:35 (UTC)

Noticed this was orphaned. Adopted and bumped the pkgver.

parkerlreed commented on 2018-11-28 19:04 (UTC) (edited on 2018-11-28 19:04 (UTC) by parkerlreed)

@khalismur Why is this marked out of date? Commits to master doesn't matter for a git package. It builds and installs fine. If anything, your AUR helper should be checking upstream to see if there are any new updates and not just the PKGVER.

danger89 commented on 2018-11-25 23:09 (UTC)

Ps. you could also try:

bparker commented on 2018-08-18 20:04 (UTC)

Can qt5 be added to optdepends so that the new Qt UI can be used? Also, is there any reason the current packages in "depends" are there? RetroArch can be compiled without any of those.

aaronp commented on 2017-07-18 12:12 (UTC)

Hmm, you should just make nvidia-cg-toolkit an optional I think.

ProfessorKaos64 commented on 2017-04-25 23:31 (UTC)

GeneralFailer, my mistake, will fix.

GeneralFailer commented on 2017-04-22 12:27 (UTC)

ProfessorKaos64, nvm, I just had to uninstall retroarch for some reason.

Griever commented on 2017-04-22 11:47 (UTC)

Any reason you've disabled Cg shader support again? Some GLSL shaders still don't work (anything with multiple shader passes?) and I noticed a lot of shaders fail to convert with cg2glsl.

ProfessorKaos64 commented on 2017-04-22 01:48 (UTC)

Fixed build errors. Nothing I saw to do with libass. If you have continued issues, let me know.

ProfessorKaos64 commented on 2017-04-22 01:36 (UTC)

aaronp, can you elaborte? I see some other build errors I need to take a look at as well.

GeneralFailer commented on 2017-04-19 12:39 (UTC)

libass dependency is hindering system update.

ProfessorKaos64 commented on 2017-01-12 14:28 (UTC)

Thank you, I will get to this today.

aaronp commented on 2017-01-12 01:54 (UTC) (edited on 2017-01-12 01:57 (UTC) by aaronp)

PKGBUILD needs an update to build. EDIT: v2 - forgot SRCINFO. From ea7f86e79f3a9319f7530fd13697a350db580cec Mon Sep 17 00:00:00 2001 From: Aaron Paden <> Date: Wed, 11 Jan 2017 19:51:48 -0600 Subject: [PATCH] Use new dsp_filters path. --- .SRCINFO | 4 +++- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a82e382..a96653d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Thu Jan 12 01:55:18 UTC 2017 pkgbase = retroarch-git pkgdesc = Reference frontend for the libretro API (Git-latest) - pkgver = 1.3.6.r1588.2c0d8e8 + pkgver = 1.3.6.r3731.404e60f7e pkgrel = 1 url = install = retroarch-git.install diff --git a/PKGBUILD b/PKGBUILD index 8768278..fceafa8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ # 'git+') pkgname=retroarch-git -pkgver=1.3.6.r1588.2c0d8e8 +pkgver=1.3.6.r3731.404e60f7e pkgrel=1 #epoch=1 _gitname=RetroArch @@ -70,7 +70,7 @@ build() { --disable-oss make make -C gfx/video_filters - make -C audio/audio_filters + make -C libretro-common/audio/dsp_filters } @@ -82,7 +82,7 @@ package() { install -dm 755 "${pkgdir}"/usr/lib/retroarch/filters/{audio,video} install -m 644 gfx/video_filters/*.{filt,so} "${pkgdir}"/usr/lib/retroarch/filters/video/ - install -m 644 audio/audio_filters/*.{dsp,so} "${pkgdir}"/usr/lib/retroarch/filters/audio/ + install -m 644 libretro-common/audio/dsp_filters/*.{dsp,so} "${pkgdir}"/usr/lib/retroarch/filters/audio/ } -- 2.11.0

GeneralFailer commented on 2017-01-10 19:40 (UTC)

Crashes with "make: *** audio/audio_filters: No such file or directory. Stop." for me. Apparently it was moved to libretro-common.

ProfessorKaos64 commented on 2016-12-12 14:41 (UTC) (edited on 2016-12-12 14:42 (UTC) by ProfessorKaos64)

@parkerlreed No, that is how modules are prepared.

parkerlreed commented on 2016-12-09 23:33 (UTC)

Is it just me or is it weird having the external sources cloned as part of the PKGBUILD source AND prepare()? It seems to pull twice making one of them redundant. Could just leave them in the prepare() function and remove them from the source array.

ProfessorKaos64 commented on 2016-09-26 17:29 (UTC)

@parkerlreed, for consistency. I've rethought this, and you are correct, this should not be done. I'll update the PKBUILD to not use this behavior.

parkerlreed commented on 2016-09-25 17:45 (UTC)

Why are the paths being hardcoded? Just consistency for the packages? This breaks the online updater completely.

ProfessorKaos64 commented on 2016-09-20 15:28 (UTC) (edited on 2016-10-21 15:28 (UTC) by ProfessorKaos64)

It is suggested you install retroarch-assets-xmb-git over retroarch-assets-xmb, as the community packages is currently missing assets.

ProfessorKaos64 commented on 2016-09-13 03:01 (UTC) (edited on 2016-09-13 03:02 (UTC) by ProfessorKaos64)

Moved small listing of suggested package cores to "foot note" after install to check the AUR (as there are dozens). See: retroarch-git.install

ProfessorKaos64 commented on 2016-09-11 14:28 (UTC) (edited on 2016-09-11 14:32 (UTC) by ProfessorKaos64)

@Griever, I must have missed it, it will be added back today. Apologies. Edit: should be back.Did a quick makepkg test. Let me know if you or others really want oss/jack back, as I mirrored the Arch Linux community package and figured that would be ok. Not a problem if otherwise.

Griever commented on 2016-09-11 14:20 (UTC)

Why did you disable Cg support? Most GLSL shaders have been broken for months.

ProfessorKaos64 commented on 2016-09-10 17:17 (UTC)

Updated and modelled after the Arch Linux community package.

Enverex commented on 2016-07-04 09:25 (UTC) (edited on 2016-07-06 10:51 (UTC) by Enverex)

Just a heads up, commit 6c18c177036b271bb2519935c2be5a4b0b8fff47 broke RetroArch on processors with TSX support (certain Broadwell and newer processors, check cpuinfo for "hle" and "rtm"). You'll get a Segfault (lock elision if you backtrace it) in this scenario. Reverting that specific commit allows RetroArch to work as normal on those processors. More information can be found here - EDIT: Upstream have modified the piece of code that was triggering the SEGFAULT so that it no-longer happens. The rollback is no-longer required. EDIT 2: This is now broken again upstream as of commit 6a9fb1186d8841a899b19b45a04508e027e12632 (which re-reverts the earlier fix).

Enverex commented on 2016-06-15 16:27 (UTC)

Can you add the following lines before configure in the script... git submodule init git submodule update This is needed for Vulkan support to actually work.

chicomag commented on 2015-12-22 16:30 (UTC)

I've found out that "git describe --first-parent --tags" reports the correct version.

chicomag commented on 2015-12-22 16:07 (UTC)

Why does "git describe --long --tags" report "v1.2.1-something" and not "v1.2.2-something"?

slinkygn commented on 2015-11-05 20:02 (UTC)

...on the heels of the last comment: jack2 and openal are dependencies? Why is that?

evilsephiroth commented on 2015-10-30 23:43 (UTC)

hmm, is it normal that I get a conflict between jack and jack2?

chungy commented on 2015-09-28 02:15 (UTC)

I'll remove it for now. Packaging libretro-super might be good but it's fairly complicated.

Brottweiler commented on 2015-09-26 23:34 (UTC)

Or you can remove the super dependency, like the maintainer of "retroarch" did.

Brottweiler commented on 2015-09-26 23:30 (UTC)

The libretro-super-git AUR package doesn't exist as of AUR 4.0, maybe you'd like to take it over?

Holzhaus commented on 2015-03-18 10:31 (UTC)

To get retroarch-joyconfig, you need to add 'install -m755 -t "${pkgdir}/usr/bin" "tools/retroarch-joyconfig"' below the 'make install' directive in the package() function.

Enverex commented on 2015-01-12 18:09 (UTC)

Another request to have armv7h added to the ARCH array...

sylverpyro commented on 2015-01-04 21:07 (UTC)

This may be a quirk of my build environment, but post-compile retroarch now appears to need and, which are provided by ffmpeg-compat-55 (in AUR) and ffmpeg-compat (in the main repos). It doesn't throw any compile-time erros, but does at run-time (after which it exits).

brando56894 commented on 2014-12-12 05:20 (UTC)

Please add armv7h to the ARCH array. Thanks!

wolfanger commented on 2014-11-23 11:12 (UTC)

Is present a script for config joypad as in retropie? i cannot find retroarch-joyconfig in default paths.

prettyvanilla commented on 2014-08-21 12:21 (UTC)

pkg-config is part of base-devel, which is generally assumed to be installed when you want to use the AUR/makepkg.

jchadwick commented on 2014-08-21 03:07 (UTC)

Requires pkg-config to build.

cacplate commented on 2014-05-02 16:50 (UTC)

Everything went smoothly and worked. However, when I try to use retroarch either by just entering: - retroarch Or by directly launching a game like that: - retroarch -L /path/to/emulator /path/to/rom all it does is a core dump. Here is the output: [code]RetroArch [WARN] :: system_directory is not set in config. Assuming system directory is same folder as game: "". RetroArch [ERROR] :: [X11]: Failed to open input method. *** Error in `retroarch': double free or corruption (!prev): 0x0000000001a45400 *** zsh: abort (core dumped) retroarch[/code] I tried various emulators and roms and always have the same output.

tarasian666 commented on 2014-04-27 08:45 (UTC)

raspberry /usr/bin/ld: obj-unix/gfx/context/vc_egl_ctx.o: undefined reference to symbol 'vc_dispmanx_display_get_info' /opt/vc/lib/ error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:426: recipe for target 'retroarch' failed make: *** [retroarch] Error 1

almostalive commented on 2013-08-19 00:26 (UTC)

Cleaned the PKGBUILD up a bit. Also cleaned up the individual libretro-*-git packages and added license info as best as I could.

ledti commented on 2013-07-30 15:16 (UTC)

Hi, I cleaned up the PKGBUILD a bit:

almostalive commented on 2013-07-07 14:35 (UTC)

Adopted the package, updated it for 4.1 and updated upstream url and git source to point to the libretro/RetroArch github page.

Themaister commented on 2013-07-07 08:23 (UTC)

Orphaned, go ahead.

HalosGhost commented on 2013-07-06 15:55 (UTC)

Any plans on updating this for makepkg 4.1 syntax and modern PKGBUILD practices? If not, would you mind orphaning the package so someone else can maintain it? All the best,

Themaister commented on 2013-01-26 16:13 (UTC)

Very late, but added in 'arm' and 'armv6h' arches.

mfussenegger commented on 2012-10-28 07:46 (UTC)

I've added a package for the raspberry (, which is basically the same as yours but the architecture added and the optdepends removed. Do you think it would make sense to merge the two?

Kakashi-sensei commented on 2012-06-01 00:06 (UTC)

Shouldn't this and it's companion packages be tagged as conflicting with ssnes-git and it's own?

Themaister commented on 2012-04-23 16:09 (UTC)

SSNES recently renamed to RetroArch as it's not SNES-only.

drcouzelis commented on 2012-04-22 20:23 (UTC)

"Themaister/SSNES" is apparently now "Themaister/SSNES-core"... maybe? I'm not sure. Anyway, I'm afraid this doesn't compile anymore. :(

Themaister commented on 2012-01-10 16:01 (UTC)


commented on 2012-01-09 02:11 (UTC)

Fails during compilation. This is the error I get: install -m644 ssnes.cfg /tmp/yaourt-tmp-steven/aur-ssnes-git/pkg/etc/ssnes.cfg install: cannot stat `ssnes.cfg': No such file or directory

Themaister commented on 2011-01-06 19:20 (UTC)

Depends on SDL now rather than GLFW.

Themaister commented on 2010-12-30 04:57 (UTC)

Added config file support. :) yay.

Themaister commented on 2010-10-02 11:56 (UTC)

Added 2 player support, and reading roms directly from stdin. :) Should be more bearable now to deal with zipped roms, etc. config.h has been updated.

commented on 2010-10-01 11:15 (UTC)

awesome, thanks :D

Themaister commented on 2010-09-30 15:22 (UTC)

I see. I forgot to update the config.h and included. Should compile now. :)

commented on 2010-09-29 17:56 (UTC)

just felt like playing secret of evermore =] but im getting these errors... ssnes.c: In function ‘set_fast_forward_button’: ssnes.c:98:63: error: ‘audio_sync’ undeclared (first use in this function) ssnes.c:98:63: note: each undeclared identifier is reported only once for each function it appears in ssnes.c: In function ‘init_audio’: ssnes.c:121:9: error: ‘audio_enable’ undeclared (first use in this function) ssnes.c:131:9: error: ‘audio_sync’ undeclared (first use in this function) ssnes.c: In function ‘uninit_audio’: ssnes.c:142:9: error: ‘audio_enable’ undeclared (first use in this function) ssnes.c: In function ‘video_frame’: ssnes.c:241:13: warning: unused variable ‘output_ntsc’ make: *** [ssnes.o] Error 1 Aborting... The build failed.

Themaister commented on 2010-06-06 11:22 (UTC)

Ah, my bad. Had rsound.h in ssnes.c which shouldn't be the case ;) It's fixed in git.

Falstaff commented on 2010-06-06 06:49 (UTC)

Couldn't compile it. There's an issue with rsound.h: remote: Counting objects: 147, done. remote: Compressing objects: 100% (144/144), done. remote: Total 147 (delta 80), reused 0 (delta 0) Receiving objects: 100% (147/147), 32.35 KiB, done. Resolving deltas: 100% (80/80), done. cc -Wall -O3 -fomit-frame-pointer -march=native -s -o ssnes ssnes.c alsa.c gl.c -lsamplerate -lsnes -lasound -lglfw ssnes.c:25:20: erreur fatale: rsound.h : Aucun fichier ou dossier de ce type compilation terminée. make: *** [all] Erreur 1 ==> ERREUR: La compilation a échoué. Abandon...

matthewbauer commented on 2010-05-29 21:41 (UTC)

Requires rsound.