notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q3
retroarch Cross-platform entertainment system based on libretro API
1.21.0 games on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.21.0Version of this port present on the latest quarterly branch.
Maintainer: dmenelkir@gmail.com search for ports maintained by this maintainer
Port Added: 2025-07-16 12:36:51
Last Update: 2025-07-16 12:35:40
Commit Hash: bb0e9fe
Also Listed In: emulators wayland
License: GPLv3
WWW:
https://github.com/libretro/RetroArch
Description:
RetroArch is the reference frontend for the libretro API. Popular examples of implementations for this API includes videogame system emulators and game engines, but also more generalized 3D programs. These programs are instantiated as dynamic libraries. We refer to these as "libretro cores".
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. /usr/local/share/licenses/RetroArch-1.21.0/catalog.mk
  2. /usr/local/share/licenses/RetroArch-1.21.0/LICENSE
  3. /usr/local/share/licenses/RetroArch-1.21.0/GPLv3
  4. bin/retroarch
  5. bin/retroarch-cg2glsl
  6. @sample etc/retroarch.cfg.sample
  7. share/applications/com.libretro.RetroArch.desktop
  8. share/doc/retroarch/COPYING
  9. share/doc/retroarch/README.md
  10. share/man/man6/retroarch-cg2glsl.6.gz
  11. share/man/man6/retroarch.6.gz
  12. share/metainfo/com.libretro.RetroArch.metainfo.xml
  13. share/pixmaps/com.libretro.RetroArch.svg
  14. @owner
  15. @group
  16. @mode
Collapse this list.
Dependency lines:
  • RetroArch>0:games/retroarch
To install the port:
cd /usr/ports/games/retroarch/ && make install clean
To add the package, run one of these commands:
  • pkg install games/retroarch
  • pkg install RetroArch
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: RetroArch
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1751263047 SHA256 (libretro-RetroArch-v1.21.0_GH0.tar.gz) = 9da17918c10d91d4ebfde9ff402dba0b1ad6660fdbce7656d32f0c0182b3a538 SIZE (libretro-RetroArch-v1.21.0_GH0.tar.gz) = 70961877

Packages (timestamps in pop-ups are UTC):
RetroArch
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest---1.19.1_2----
FreeBSD:13:quarterly1.19.1_21.21.0-1.19.1_21.21.01.16.0.31.16.0.3-
FreeBSD:14:latest1.19.1_21.21.0-1.19.1_21.21.0---
FreeBSD:14:quarterly-1.21.0--1.21.01.16.0.31.16.0.3-
FreeBSD:15:latest1.19.1_2-n/a1.19.1_2n/a1.16.0.3_1--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. vulkan.h : graphics/vulkan-headers
  2. vulkan-loader>0 : graphics/vulkan-loader
  3. v4l_compat>0 : multimedia/v4l_compat
  4. input.h : devel/evdev-proto
  5. kd.h : graphics/svgalib
  6. gmake>=4.4.1 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. python3.11 : lang/python311
  9. sdl2-config : devel/sdl20
  10. xorgproto>=0 : x11/xorgproto
  11. x11.pc : x11/libX11
  12. xcb.pc : x11/libxcb
  13. xext.pc : x11/libXext
  14. xi.pc : x11/libXi
  15. xinerama.pc : x11/libXinerama
  16. xrandr.pc : x11/libXrandr
  17. xscrnsaver.pc : x11/libXScrnSaver
  18. xv.pc : x11/libXv
  19. xxf86vm.pc : x11/libXxf86vm
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. retroarch-assets>0 : games/retroarch-assets
  2. libretro-core-info>0 : games/libretro-core-info
  3. python3.11 : lang/python311
  4. x11.pc : x11/libX11
  5. xcb.pc : x11/libxcb
  6. xext.pc : x11/libXext
  7. xi.pc : x11/libXi
  8. xinerama.pc : x11/libXinerama
  9. xrandr.pc : x11/libXrandr
  10. xscrnsaver.pc : x11/libXScrnSaver
  11. xv.pc : x11/libXv
  12. xxf86vm.pc : x11/libXxf86vm
Library dependencies:
  1. libass.so : multimedia/libass
  2. libdrm.so : graphics/libdrm
  3. libfontconfig.so : x11-fonts/fontconfig
  4. libfribidi.so : converters/fribidi
  5. libxkbcommon.so : x11/libxkbcommon
  6. libavcodec.so : multimedia/ffmpeg
  7. libfreetype.so : print/freetype2
  8. libepoll-shim.so : devel/libepoll-shim
  9. libudev.so : devel/libudev-devd
  10. libv4l2.so : multimedia/libv4l
  11. libwayland-egl.so : graphics/wayland
  12. libopenal.so.1 : audio/openal-soft
  13. libEGL.so : graphics/libglvnd
  14. libgbm.so : graphics/mesa-libs
  15. libGL.so : graphics/libglvnd
  16. libSDL2.so : devel/sdl20
  17. libQt6Core.so : devel/qt6-base
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for RetroArch-1.21.0: ALSA=off: ALSA audio architecture support CACA=off: libcaca graphics library support DOCS=on: Build and/or install documentation FFMPEG=on: On-the-fly recording of gameplay with libavcodec FREETYPE=on: TrueType font rendering support JACK=off: JACK audio server support OPENAL=on: Audio support via OpenAL OPENGL=on: 2D/3D rendering support via OpenGL OSS=on: Open Sound System support PULSEAUDIO=off: PulseAudio sound server support QT=on: Qt based desktop-style GUI SDL=on: Simple Direct Media Layer support UDEV=on: udev device hotplug support V4L=on: Video 4 Linux support WAYLAND=on: Wayland display support X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings
Options name:
games_retroarch
USES:
compiler:c++11-lib cpe gmake pkgconfig python shebangfix ssl openal:soft gl qt:6 sdl xorg
pkg-message:
For install:
RetroArch supports multiple backends for input devices like gamepads: - Kernel driver (iichid): The functionality previously provided by the sysutils/iichid port is now integrated into the FreeBSD base system. For more details, consult the iichid(4) man page. Users may need to adjust access permissions on the appropriate /dev/input/eventN device for their user account to use gamepads. - SDL2, which uses userspace raw USB HID access (you have to grant access permissions on the appropriate /dev/uhidN device to your user account)
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/libretro/RetroArch/tar.gz/v1.21.0?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.21.0
16 Jul 2025 12:35:40
commit hash: bb0e9fe6f1ade6c7146b682a0849038e3ffb8581commit hash: bb0e9fe6f1ade6c7146b682a0849038e3ffb8581commit hash: bb0e9fe6f1ade6c7146b682a0849038e3ffb8581commit hash: bb0e9fe6f1ade6c7146b682a0849038e3ffb8581 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Tilde Joy
games/retroarch: Update 1.19.1 => 1.21.0

Changelogs:
https://github.com/libretro/RetroArch/blob/v1.21.0/CHANGES.md

Improve port:
- Fix RUN_DEPENDS.
- Fix X11_USE.
- Switch from qt:5 to qt:6 - default for upstream.
- Install etc/retroarch.cfg as sample.

PR:		287943
Approved by:	Daniel Menelkir <dmenelkir@gmail.com> (maintainer, timeout 2 weeks,
fix build)
MFH:		2025Q3
Co-authored-by:	Vladimir Druzenko <vvd@FreeBSD.org>

(cherry picked from commit d81332eb57279b166aa50f781ed37a03565e2004)

Number of commits found: 1