aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-09-21 16:45:17 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-09-21 16:45:17 +0900
commit99de15ae983f5e9d6d6f38ab60a2083279f84cb3 (patch)
tree2d57b65420525401f3dd1858938a5c19c7bec2e0 /games-emulation
parentgames-emulation/RetroArch: add 1.19.1 (diff)
downloadguru-99de15ae983f5e9d6d6f38ab60a2083279f84cb3.tar.gz
guru-99de15ae983f5e9d6d6f38ab60a2083279f84cb3.tar.bz2
guru-99de15ae983f5e9d6d6f38ab60a2083279f84cb3.zip
games-emulation/RetroArch: drop 1.16.0.3-r1
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/RetroArch/Manifest1
-rw-r--r--games-emulation/RetroArch/RetroArch-1.16.0.3-r1.ebuild191
-rw-r--r--games-emulation/RetroArch/metadata.xml3
3 files changed, 1 insertions, 194 deletions
diff --git a/games-emulation/RetroArch/Manifest b/games-emulation/RetroArch/Manifest
index 416e11c57..685f94c5d 100644
--- a/games-emulation/RetroArch/Manifest
+++ b/games-emulation/RetroArch/Manifest
@@ -1,2 +1 @@
-DIST RetroArch-1.16.0.3.tar.gz 49084629 BLAKE2B e04b33585085679262da52ba37a960c1b5076628ffeaadd0beb7bceaf092f7a202677622fec5156ee61afdffbbaae050379d8038ef331475b17a7f0bbb8c50b3 SHA512 a208905257ef5ac38f055195a06167cba5727f470abcba20015ae47bec9af5936fbdc50badb146502d6ccf8de76eaad5846a131974919bb99ea5a0a008624bc1
DIST RetroArch-1.19.1.tar.gz 63298569 BLAKE2B 66acbd32117704f543d3dfe94906d89b4500d51b56f57d1d236ce65e4e78c0c17a830b7c1dd4683f940423cfa88c65956a57bd5fa47591713a5c4d987c928161 SHA512 35e44ffc776cbc7f58fa76c686d3c3693d125fccf482c8f3b66378058b8400ada37ebf2549e9bd362e46c3bfb586971a217cc3142dcf7a7468c95ec78638ee23
diff --git a/games-emulation/RetroArch/RetroArch-1.16.0.3-r1.ebuild b/games-emulation/RetroArch/RetroArch-1.16.0.3-r1.ebuild
deleted file mode 100644
index 2dcc7cfa5..000000000
--- a/games-emulation/RetroArch/RetroArch-1.16.0.3-r1.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic
-
-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 osmesa oss +ozone +pulseaudio +rgui sdl sdl2 +truetype +threads udev v4l2 videocore vulkan wayland +X xinerama xmb xv zlib"
-
-REQUIRED_USE="
- || ( alsa jack openal oss pulseaudio )
- || ( opengl sdl sdl2 vulkan dispmanx )
- || ( kms X wayland videocore )
- || ( 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 )
- sdl? ( rgui )
- sdl2? ( rgui !sdl )
- videocore? ( arm )
- vulkan? ( amd64 )
- wayland? ( egl )
- xinerama? ( X )
- xv? ( X )
-"
-
-RDEPEND="
- alsa? ( media-libs/alsa-lib:0= )
- 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:0= )
- opengl? ( media-libs/libglvnd )
- osmesa? ( media-libs/mesa:0=[osmesa?] )
- pulseaudio? ( media-libs/libpulse:0= )
- sdl? ( >=media-libs/libsdl-1.2.10:0=[joystick] )
- sdl2? ( media-libs/libsdl2:0=[joystick] )
- truetype? (
- media-libs/fontconfig
- media-libs/freetype:2
- )
- udev? ( virtual/udev:0=
- X? ( x11-drivers/xf86-input-evdev:0= )
- )
- amd64? ( vulkan? ( media-libs/vulkan-loader:0= ) )
- v4l2? ( media-libs/libv4l:0= )
- wayland? ( media-libs/mesa:0=[wayland?] )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrandr
- x11-libs/libXxf86vm
- x11-libs/libxcb:=
- x11-libs/libxkbcommon
- )
- xinerama? ( x11-libs/libXinerama:0= )
- xv? ( x11-libs/libXv:0= )
- zlib? ( sys-libs/zlib:0= )
-"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-PATCHES=(
- # bug #936962
- "${FILESDIR}/${P}-int-conversion.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
-
- # Note that OpenVG support is hard-disabled. (See ${RDEPEND} above.)
- ./configure \
- --prefix="${EPREFIX}/usr" \
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \
- --enable-dynamic \
- --disable-vg \
- $(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 osmesa) \
- $(use_enable oss) \
- $(use_enable ozone) \
- $(use_enable pulseaudio pulse) \
- $(use_enable rgui) \
- $(use_enable sdl) \
- $(use_enable 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)
-}
-
-src_compile() {
- emake $(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/metadata.xml b/games-emulation/RetroArch/metadata.xml
index b1549cca8..5ad5cc5ff 100644
--- a/games-emulation/RetroArch/metadata.xml
+++ b/games-emulation/RetroArch/metadata.xml
@@ -31,8 +31,7 @@
<flag name="ozone">Ozone menu</flag>
<flag name="pulseaudio">PulseAudio support</flag>
<flag name="rgui">RGUI menu</flag>
- <flag name="sdl">SDL support</flag>
- <flag name="sdl2">SDL2 support (disables SDL 1.x)</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>