summaryrefslogtreecommitdiff
path: root/games-emulation/RetroArch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /games-emulation/RetroArch
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'games-emulation/RetroArch')
-rw-r--r--games-emulation/RetroArch/Manifest2
-rw-r--r--games-emulation/RetroArch/RetroArch-1.21.0.ebuild197
-rw-r--r--games-emulation/RetroArch/RetroArch-1.22.2.ebuild194
-rw-r--r--games-emulation/RetroArch/files/RetroArch-1.21.0-fix-no-pipewire-build.patch18
-rw-r--r--games-emulation/RetroArch/metadata.xml48
5 files changed, 0 insertions, 459 deletions
diff --git a/games-emulation/RetroArch/Manifest b/games-emulation/RetroArch/Manifest
deleted file mode 100644
index 8905a27b2472..000000000000
--- a/games-emulation/RetroArch/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST RetroArch-1.21.0.tar.gz 70961877 BLAKE2B 14354bf20bbe453d195443320921718403123f68548d1d7242145d955627960958dcdad92b6484a06b888832a5cb4bfdf463ff21460aa209089d849a6d45d4f3 SHA512 8f6b2cf61687ec534b06aa8c9188df60e56eeeff9fe67e0b266df8e2fe4c1fbdb4cd64a0795202d7c6b20573e49aa4cc60fec7f34209ae4736cc2347df488255
-DIST RetroArch-1.22.2.tar.gz 71629881 BLAKE2B b0349a7d65fd6e42a154098ccb7635eb47618cb4fe2e36807170663ec03466ad733a0b1117e8a008a8f6462412544f2059209ae95208ec4d365cd6c013bd0645 SHA512 59057d3fff3bec3bcb01143a270c3b9e74d148a2f1caa413d52f3533af94564576d2fce6f6273b5c79d11904ef670a6bf7c2c328fe3534a05d160e8a49b9daa1
diff --git a/games-emulation/RetroArch/RetroArch-1.21.0.ebuild b/games-emulation/RetroArch/RetroArch-1.21.0.ebuild
deleted file mode 100644
index 051b2a0a9d2b..000000000000
--- a/games-emulation/RetroArch/RetroArch-1.21.0.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edo flag-o-matic toolchain-funcs xdg
-
-DESCRIPTION="RetroArch is a frontend for emulators, game engines and media players"
-HOMEPAGE="https://www.retroarch.com"
-
-SRC_URI="https://github.com/libretro/RetroArch/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="7zip alsa cg cpu_flags_arm_neon cpu_flags_arm_vfp cpu_flags_x86_sse2 cheevos debug dispmanx +egl filters ffmpeg gles2 gles3 hid jack kms libass libusb materialui network openal +opengl oss +ozone pipewire pulseaudio +rgui sdl +truetype +threads udev v4l2 videocore vulkan wayland X xinerama xmb xv zlib"
-
-REQUIRED_USE="
- || ( opengl sdl vulkan dispmanx )
- || ( materialui ozone rgui xmb )
- alsa? ( threads )
- arm? ( gles2? ( egl ) )
- !arm? (
- egl? ( opengl )
- gles2? ( opengl )
- )
- cg? ( opengl )
- dispmanx? ( videocore arm )
- gles2? ( !cg )
- gles3? ( gles2 )
- kms? ( egl )
- libass? ( ffmpeg )
- libusb? ( hid )
- videocore? ( arm )
- vulkan? ( amd64 )
- wayland? ( egl )
- xinerama? ( X )
- xv? ( X )
-"
-RDEPEND="
- app-arch/xz-utils
- x11-libs/libxkbcommon
- x11-libs/libXScrnSaver
- alsa? ( media-libs/alsa-lib )
- cg? ( media-gfx/nvidia-cg-toolkit:0= )
- arm? ( dispmanx? ( || ( media-libs/raspberrypi-userland:0 media-libs/raspberrypi-userland-bin:0 ) ) )
- ffmpeg? ( >=media-video/ffmpeg-2.1.3:0= )
- jack? ( virtual/jack:= )
- libass? ( media-libs/libass:0= )
- libusb? ( virtual/libusb:1= )
- openal? ( media-libs/openal )
- opengl? ( media-libs/libglvnd )
- pulseaudio? ( media-libs/libpulse )
- pipewire? ( media-video/pipewire:= )
- sdl? ( media-libs/libsdl2[joystick] )
- truetype? (
- media-libs/fontconfig
- media-libs/freetype:2
- )
- udev? ( virtual/udev
- X? ( x11-drivers/xf86-input-evdev:0= )
- )
- v4l2? ( media-libs/libv4l:0= )
- wayland? (
- dev-libs/wayland
- dev-libs/wayland-protocols
- )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrandr
- x11-libs/libXxf86vm
- x11-libs/libxcb:=
- )
- xinerama? ( x11-libs/libXinerama:0= )
- xv? ( x11-libs/libXv )
- zlib? ( virtual/zlib:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- wayland? ( dev-util/wayland-scanner )
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-no-pipewire-build.patch"
-)
-
-src_configure() {
- if use cg; then
- append-ldflags -L"${EPREFIX}/"opt/nvidia-cg-toolkit/$(get_libdir)
- append-cflags -I"${EPREFIX}/"opt/nvidia-cg-toolkit/include
- fi
-
- # Absolute path of the directory containing Retroarch shared libraries.
- export RETROARCH_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/retroarch"
-
- if use filters; then
- # Replace stock defaults with Gentoo-specific defaults.
- sed -i retroarch.cfg \
- -e 's:# \(video_filter_dir =\):\1 "/'${RETROARCH_LIB_DIR}'/filters/video/":' \
- -e 's:# \(audio_filter_dir =\):\1 "/'${RETROARCH_LIB_DIR}'/filters/audio/":' \
- || die '"sed" failed.'
- fi
-
- tc-export CC CXX
-
- # Note that OpenVG support is hard-disabled. (See ${RDEPEND} above.)
- local myconf=(
- --prefix="${EPREFIX}/usr"
- --docdir="${EPREFIX}/usr/share/doc/${PF}"
- --enable-dynamic
- --disable-builtinzlib
- --disable-qt
- --disable-sdl
- --disable-vg
- --disable-osmesa
- $(use_enable 7zip)
- $(use_enable alsa)
- $(use_enable cheevos)
- $(use_enable cg)
- $(use_enable cpu_flags_arm_neon neon)
- $(use_enable cpu_flags_arm_vfp floathard)
- $(use_enable cpu_flags_x86_sse2 sse)
- $(use_enable dispmanx)
- $(use_enable egl)
- $(use_enable ffmpeg)
- $(use_enable gles2 opengles)
- $(use_enable gles3 opengles3)
- $(use_enable hid)
- $(use_enable jack)
- $(use_enable kms)
- $(use_enable libass ssa)
- $(use_enable libusb)
- $(use_enable materialui)
- $(use_enable network networking)
- $(use_enable openal al)
- $(use_enable opengl)
- $(use_enable oss)
- $(use_enable ozone)
- $(use_enable pulseaudio pulse)
- $(use_enable pipewire)
- $(use_enable rgui)
- $(use_enable sdl sdl2)
- $(use_enable threads)
- $(use_enable truetype freetype)
- $(use_enable udev)
- $(use_enable v4l2)
- $(use_enable videocore)
- $(use_enable vulkan)
- $(use_enable wayland)
- $(use_enable X x11)
- $(use_enable xinerama)
- $(use_enable xmb)
- $(use_enable xv xvideo)
- $(use_enable zlib)
- )
-
- edo ./configure "${myconf[@]}"
-}
-
-src_compile() {
- emake V=1 $(usex debug "DEBUG=1" "")
- if use filters; then
- emake $(usex debug "build=debug" "build=release") -C gfx/video_filters/
- emake $(usex debug "build=debug" "build=release") -C libretro-common/audio/dsp_filters/
- fi
-}
-
-src_install() {
- # Install core files and directories.
- emake DESTDIR="${D}" install
-
- # Install documentation.
- dodoc README.md
-
- if use filters; then
- # Install video filters.
- insinto ${RETROARCH_LIB_DIR}/filters/video/
- doins "${S}"/gfx/video_filters/*.so
- doins "${S}"/gfx/video_filters/*.filt
-
- # Install audio filters.
- insinto ${RETROARCH_LIB_DIR}/filters/audio/
- doins "${S}"/libretro-common/audio/dsp_filters/*.dsp
- fi
-}
-
-pkg_postinst() {
- if use oss; then
- ewarn ""
- ewarn "OSS support is enabled, however it is not installed as a dependency."
- ewarn "Make sure you have OSS installed in your system."
- ewarn ""
- fi
-}
diff --git a/games-emulation/RetroArch/RetroArch-1.22.2.ebuild b/games-emulation/RetroArch/RetroArch-1.22.2.ebuild
deleted file mode 100644
index c6c428763cfa..000000000000
--- a/games-emulation/RetroArch/RetroArch-1.22.2.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edo flag-o-matic toolchain-funcs xdg
-
-DESCRIPTION="RetroArch is a frontend for emulators, game engines and media players"
-HOMEPAGE="https://www.retroarch.com"
-
-SRC_URI="https://github.com/libretro/RetroArch/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="7zip alsa cg cpu_flags_arm_neon cpu_flags_arm_vfp cpu_flags_x86_sse2 cheevos debug dispmanx +egl filters ffmpeg gles2 gles3 hid jack kms libass libusb materialui network openal +opengl oss +ozone pipewire pulseaudio +rgui sdl +truetype +threads udev v4l2 videocore vulkan wayland X xinerama xmb xv zlib"
-
-REQUIRED_USE="
- || ( opengl sdl vulkan dispmanx )
- || ( materialui ozone rgui xmb )
- alsa? ( threads )
- arm? ( gles2? ( egl ) )
- !arm? (
- egl? ( opengl )
- gles2? ( opengl )
- )
- cg? ( opengl )
- dispmanx? ( videocore arm )
- gles2? ( !cg )
- gles3? ( gles2 )
- kms? ( egl )
- libass? ( ffmpeg )
- libusb? ( hid )
- videocore? ( arm )
- vulkan? ( amd64 )
- wayland? ( egl )
- xinerama? ( X )
- xv? ( X )
-"
-RDEPEND="
- app-arch/xz-utils
- x11-libs/libxkbcommon
- x11-libs/libXScrnSaver
- alsa? ( media-libs/alsa-lib )
- cg? ( media-gfx/nvidia-cg-toolkit:0= )
- arm? ( dispmanx? ( || ( media-libs/raspberrypi-userland:0 media-libs/raspberrypi-userland-bin:0 ) ) )
- ffmpeg? ( >=media-video/ffmpeg-2.1.3:0= )
- jack? ( virtual/jack:= )
- libass? ( media-libs/libass:0= )
- libusb? ( virtual/libusb:1= )
- openal? ( media-libs/openal )
- opengl? ( media-libs/libglvnd )
- pulseaudio? ( media-libs/libpulse )
- pipewire? ( media-video/pipewire:= )
- sdl? ( media-libs/libsdl2[joystick] )
- truetype? (
- media-libs/fontconfig
- media-libs/freetype:2
- )
- udev? ( virtual/udev
- X? ( x11-drivers/xf86-input-evdev:0= )
- )
- v4l2? ( media-libs/libv4l:0= )
- wayland? (
- dev-libs/wayland
- dev-libs/wayland-protocols
- )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXxf86vm
- x11-libs/libxcb:=
- )
- xinerama? ( x11-libs/libXinerama:0= )
- xv? ( x11-libs/libXv )
- zlib? ( virtual/zlib:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- wayland? ( dev-util/wayland-scanner )
-"
-
-src_configure() {
- if use cg; then
- append-ldflags -L"${EPREFIX}/"opt/nvidia-cg-toolkit/$(get_libdir)
- append-cflags -I"${EPREFIX}/"opt/nvidia-cg-toolkit/include
- fi
-
- # Absolute path of the directory containing Retroarch shared libraries.
- export RETROARCH_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/retroarch"
-
- if use filters; then
- # Replace stock defaults with Gentoo-specific defaults.
- sed -i retroarch.cfg \
- -e 's:# \(video_filter_dir =\):\1 "/'${RETROARCH_LIB_DIR}'/filters/video/":' \
- -e 's:# \(audio_filter_dir =\):\1 "/'${RETROARCH_LIB_DIR}'/filters/audio/":' \
- || die '"sed" failed.'
- fi
-
- tc-export CC CXX
-
- # Note that OpenVG support is hard-disabled. (See ${RDEPEND} above.)
- local myconf=(
- --prefix="${EPREFIX}/usr"
- --docdir="${EPREFIX}/usr/share/doc/${PF}"
- --enable-dynamic
- --disable-builtinzlib
- --disable-qt
- --disable-sdl
- --disable-vg
- --disable-osmesa
- $(use_enable 7zip)
- $(use_enable alsa)
- $(use_enable cheevos)
- $(use_enable cg)
- $(use_enable cpu_flags_arm_neon neon)
- $(use_enable cpu_flags_arm_vfp floathard)
- $(use_enable cpu_flags_x86_sse2 sse)
- $(use_enable dispmanx)
- $(use_enable egl)
- $(use_enable ffmpeg)
- $(use_enable gles2 opengles)
- $(use_enable gles3 opengles3)
- $(use_enable hid)
- $(use_enable jack)
- $(use_enable kms)
- $(use_enable libass ssa)
- $(use_enable libusb)
- $(use_enable materialui)
- $(use_enable network networking)
- $(use_enable openal al)
- $(use_enable opengl)
- $(use_enable oss)
- $(use_enable ozone)
- $(use_enable pulseaudio pulse)
- $(use_enable pipewire)
- $(use_enable rgui)
- $(use_enable sdl sdl2)
- $(use_enable threads)
- $(use_enable truetype freetype)
- $(use_enable udev)
- $(use_enable v4l2)
- $(use_enable videocore)
- $(use_enable vulkan)
- $(use_enable wayland)
- $(use_enable X x11)
- $(use_enable xinerama)
- $(use_enable xmb)
- $(use_enable xv xvideo)
- $(use_enable zlib)
- )
-
- edo ./configure "${myconf[@]}"
-}
-
-src_compile() {
- emake V=1 $(usex debug "DEBUG=1" "")
- if use filters; then
- emake $(usex debug "build=debug" "build=release") -C gfx/video_filters/
- emake $(usex debug "build=debug" "build=release") -C libretro-common/audio/dsp_filters/
- fi
-}
-
-src_install() {
- # Install core files and directories.
- emake DESTDIR="${D}" install
-
- # Install documentation.
- dodoc README.md
-
- if use filters; then
- # Install video filters.
- insinto ${RETROARCH_LIB_DIR}/filters/video/
- doins "${S}"/gfx/video_filters/*.so
- doins "${S}"/gfx/video_filters/*.filt
-
- # Install audio filters.
- insinto ${RETROARCH_LIB_DIR}/filters/audio/
- doins "${S}"/libretro-common/audio/dsp_filters/*.dsp
- fi
-}
-
-pkg_postinst() {
- if use oss; then
- ewarn ""
- ewarn "OSS support is enabled, however it is not installed as a dependency."
- ewarn "Make sure you have OSS installed in your system."
- ewarn ""
- fi
-}
diff --git a/games-emulation/RetroArch/files/RetroArch-1.21.0-fix-no-pipewire-build.patch b/games-emulation/RetroArch/files/RetroArch-1.21.0-fix-no-pipewire-build.patch
deleted file mode 100644
index 3a5143a6fb2b..000000000000
--- a/games-emulation/RetroArch/files/RetroArch-1.21.0-fix-no-pipewire-build.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-https://github.com/libretro/RetroArch/commit/3162b6a4386cee72af5539849d24a35cfe7652a2
-https://bugs.gentoo.org/960043
-Fix build with disable-pipewire on systems with pipewire installed
-
-On systems where pipewire is installed but the build is configured with
---disable-pipewire, HAVE_PIPEWIRE_STABLE is set to 1 while HAVE_PIPEWIRE
-is 0. Checking only HAVE_PIPEWIRE_STABLE leads to a build failure.
---- a/camera/camera_driver.c
-+++ b/camera/camera_driver.c
-@@ -55,7 +55,7 @@ const camera_driver_t *camera_drivers[] = {
- #ifdef HAVE_V4L2
- &camera_v4l2,
- #endif
--#ifdef HAVE_PIPEWIRE_STABLE
-+#if defined(HAVE_PIPEWIRE) && defined(HAVE_PIPEWIRE_STABLE)
- &camera_pipewire,
- #endif
- #ifdef EMSCRIPTEN
diff --git a/games-emulation/RetroArch/metadata.xml b/games-emulation/RetroArch/metadata.xml
deleted file mode 100644
index 057b71a41d9d..000000000000
--- a/games-emulation/RetroArch/metadata.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="7zip">Compile in 7z support</flag>
- <flag name="alsa">ALSA support</flag>
- <flag name="cg">Cg shader support</flag>
- <flag name="cheevos">Retro Achievements</flag>
- <flag name="debug">Enable a debug build</flag>
- <flag name="dispmanx">Dispmanx video support</flag>
- <flag name="egl">EGL context support</flag>
- <flag name="filters">Install audio/video filters</flag>
- <flag name="ffmpeg">FFmpeg support</flag>
- <flag name="gles2">Use GLESv2 instead of desktop GL</flag>
- <flag name="gles3">OpenGLES3 support</flag>
- <flag name="hid">Low-level HID (Human Interface Device) support</flag>
- <flag name="jack">JACK support</flag>
- <flag name="kms">KMS context support</flag>
- <flag name="libass">SSA/ASS for FFmpeg subtitle support</flag>
- <flag name="libusb">Libusb HID support</flag>
- <flag name="materialui">MaterialUI menu</flag>
- <flag name="network">Networking features (recommended)</flag>
- <flag name="openal">OpenAL support</flag>
- <flag name="opengl">OpenGL 2.0 support</flag>
- <flag name="oss">OSS support</flag>
- <flag name="ozone">Ozone menu</flag>
- <flag name="pulseaudio">PulseAudio support</flag>
- <flag name="pipewire">PipeWire support</flag>
- <flag name="rgui">RGUI menu</flag>
- <flag name="sdl">SDL2 support</flag>
- <flag name="truetype">FreeType support</flag>
- <flag name="threads">Threading support</flag>
- <flag name="udev">Udev/Evdev gamepad support</flag>
- <flag name="v4l2">Video4linux2 support</flag>
- <flag name="videocore">Broadcom Videocore 4 support</flag>
- <flag name="vulkan">Vulkan support</flag>
- <flag name="wayland">Wayland support</flag>
- <flag name="X">Everything X11</flag>
- <flag name="xinerama">Xinerama support</flag>
- <flag name="xmb">XMB menu</flag>
- <flag name="xv">XVideo support</flag>
- <flag name="zlib">zlib support (ZIP extract, PNG decoding/encoding)</flag>
- </use>
- <upstream>
- <remote-id type="github">libretro/RetroArch</remote-id>
- </upstream>
-</pkgmetadata>