mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
games/retroarch: Update to 1.17.0
- Update to 1.17.0 - Pacify portlint/portclippy/portfmt - Take maintainership
This commit is contained in:
parent
5104585a99
commit
5adc33d082
4 changed files with 71 additions and 72 deletions
|
@ -1,102 +1,101 @@
|
||||||
PORTNAME= RetroArch
|
PORTNAME= RetroArch
|
||||||
DISTVERSION= 1.16.0.3
|
|
||||||
PORTREVISION= 1
|
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
|
DISTVERSION= 1.17.0
|
||||||
CATEGORIES= games emulators
|
CATEGORIES= games emulators
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ehaupt@FreeBSD.org
|
||||||
COMMENT= Cross-platform entertainment system based on libretro API
|
COMMENT= Cross-platform entertainment system based on libretro API
|
||||||
WWW= https://github.com/libretro/RetroArch
|
WWW= https://github.com/libretro/RetroArch
|
||||||
|
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv3
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
BUILD_DEPENDS= vulkan-loader>0:graphics/vulkan-loader \
|
BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \
|
||||||
${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
|
vulkan-loader>0:graphics/vulkan-loader
|
||||||
LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \
|
LIB_DEPENDS= libass.so:multimedia/libass \
|
||||||
libdrm.so:graphics/libdrm \
|
libdrm.so:graphics/libdrm \
|
||||||
libass.so:multimedia/libass \
|
libfontconfig.so:x11-fonts/fontconfig \
|
||||||
libfribidi.so:converters/fribidi \
|
libfribidi.so:converters/fribidi \
|
||||||
libfontconfig.so:x11-fonts/fontconfig
|
libxkbcommon.so:x11/libxkbcommon
|
||||||
RUN_DEPENDS= retroarch-assets<=0:games/retroarch-assets
|
RUN_DEPENDS= retroarch-assets<=0:games/retroarch-assets
|
||||||
|
|
||||||
USES= compiler:c++11-lib cpe gmake pkgconfig python shebangfix ssl
|
USES= compiler:c++11-lib cpe gmake pkgconfig python shebangfix ssl
|
||||||
CPE_VENDOR= libretro
|
CPE_VENDOR= libretro
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= libretro
|
GH_ACCOUNT= libretro
|
||||||
|
|
||||||
SHEBANG_FILES= libretro-common/glsym/glgen.py libretro-common/glsym/rglgen.py \
|
SHEBANG_FILES= libretro-common/glsym/glgen.py libretro-common/glsym/rglgen.py \
|
||||||
tools/cg2glsl.py tools/vulkan_loader_generator.py
|
tools/cg2glsl.py tools/vulkan_loader_generator.py
|
||||||
|
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+=--enable-threads --disable-discord \
|
CONFIGURE_ARGS+= --disable-discord \
|
||||||
|
--enable-threads \
|
||||||
--sysconfdir=${LOCALBASE}/etc
|
--sysconfdir=${LOCALBASE}/etc
|
||||||
CONFIGURE_ENV+= MAN_DIR=${PREFIX}/share/man
|
CONFIGURE_ENV+= MAN_DIR=${PREFIX}/share/man
|
||||||
|
|
||||||
LDFLAGS_i386= -Wl,-znotext
|
LDFLAGS_i386= -Wl,-znotext
|
||||||
|
|
||||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl}
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl}
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
OPTIONS_DEFINE= CACA FFMPEG OSS JACK PULSEAUDIO ALSA SDL OPENGL OPENAL V4L FREETYPE UDEV QT X11 DOCS
|
OPTIONS_DEFINE= ALSA CACA DOCS FFMPEG FREETYPE JACK OPENAL OPENGL OSS \
|
||||||
|
PULSEAUDIO QT SDL UDEV V4L X11
|
||||||
OPTIONS_DEFINE_amd64= WAYLAND # svgalib is x86 only
|
OPTIONS_DEFINE_amd64= WAYLAND # svgalib is x86 only
|
||||||
OPTIONS_DEFINE_i386= WAYLAND
|
OPTIONS_DEFINE_i386= WAYLAND
|
||||||
OPTIONS_DEFAULT=FFMPEG OSS SDL OPENGL OPENAL V4L FREETYPE UDEV QT X11
|
OPTIONS_DEFAULT= FFMPEG FREETYPE OPENAL OPENGL OSS QT SDL UDEV V4L X11
|
||||||
OPTIONS_DEFAULT_amd64= WAYLAND
|
OPTIONS_DEFAULT_amd64= WAYLAND
|
||||||
OPTIONS_DEFAULT_i386= WAYLAND
|
OPTIONS_DEFAULT_i386= WAYLAND
|
||||||
FFMPEG_DESC= On-the-fly recording of gameplay with libavcodec
|
|
||||||
WAYLAND_DESC= Wayland display support
|
|
||||||
UDEV_DESC= udev device hotplug support
|
|
||||||
QT_DESC= Qt based desktop-style GUI
|
|
||||||
|
|
||||||
|
FFMPEG_DESC= On-the-fly recording of gameplay with libavcodec
|
||||||
|
QT_DESC= Qt based desktop-style GUI
|
||||||
|
UDEV_DESC= udev device hotplug support
|
||||||
|
WAYLAND_DESC= Wayland display support
|
||||||
|
|
||||||
|
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
||||||
|
ALSA_CONFIGURE_ENABLE= alsa
|
||||||
CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca
|
CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca
|
||||||
CACA_CONFIGURE_ENABLE= caca
|
CACA_CONFIGURE_ENABLE= caca
|
||||||
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
||||||
FFMPEG_CONFIGURE_ENABLE= ffmpeg
|
FFMPEG_CONFIGURE_ENABLE= ffmpeg
|
||||||
OSS_CONFIGURE_ENABLE= oss
|
|
||||||
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
|
||||||
JACK_CONFIGURE_ENABLE= jack
|
|
||||||
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
|
||||||
PULSEAUDIO_CONFIGURE_ENABLE= pulse
|
|
||||||
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
|
||||||
ALSA_CONFIGURE_ENABLE= alsa
|
|
||||||
SDL_USES= sdl
|
|
||||||
SDL_USE= SDL=sdl2 image2
|
|
||||||
SDL_CONFIGURE_ON= --disable-sdl --enable-sdl2
|
|
||||||
SDL_CONFIGURE_OFF= --disable-sdl --disable-sdl2
|
|
||||||
OPENGL_USES= gl
|
|
||||||
OPENGL_USE= GL=gl,egl,gbm
|
|
||||||
OPENGL_CONFIGURE_ENABLE=opengl
|
|
||||||
OPENAL_USES= openal:soft
|
|
||||||
OPENAL_CONFIGURE_ENABLE=al
|
|
||||||
V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l
|
|
||||||
V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
|
|
||||||
V4L_CONFIGURE_ENABLE= v4l2
|
|
||||||
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
|
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
|
||||||
FREETYPE_CONFIGURE_ENABLE= freetype
|
FREETYPE_CONFIGURE_ENABLE= freetype
|
||||||
|
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
||||||
|
JACK_CONFIGURE_ENABLE= jack
|
||||||
|
OPENAL_USES= openal:soft
|
||||||
|
OPENAL_CONFIGURE_ENABLE= al
|
||||||
|
OPENGL_USES= gl
|
||||||
|
OPENGL_USE= GL=egl,gbm,gl
|
||||||
|
OPENGL_CONFIGURE_ENABLE= opengl
|
||||||
|
OSS_CONFIGURE_ENABLE= oss
|
||||||
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||||
|
PULSEAUDIO_CONFIGURE_ENABLE= pulse
|
||||||
|
QT_USES= qt:5
|
||||||
|
QT_USE= QT=concurrent,core,gui,network,widgets
|
||||||
|
QT_CONFIGURE_ENABLE= qt
|
||||||
|
SDL_USES= sdl
|
||||||
|
SDL_USE= image2 \
|
||||||
|
SDL=sdl2
|
||||||
|
SDL_CONFIGURE_ON= --disable-sdl \
|
||||||
|
--enable-sdl2
|
||||||
|
SDL_CONFIGURE_OFF= --disable-sdl \
|
||||||
|
--disable-sdl2
|
||||||
|
UDEV_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
|
||||||
|
libudev.so:devel/libudev-devd
|
||||||
|
UDEV_CONFIGURE_ENABLE= udev
|
||||||
|
UDEV_CFLAGS= -I${LOCALBASE}/include/libepoll-shim
|
||||||
|
UDEV_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim
|
||||||
|
V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
|
||||||
|
V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l
|
||||||
|
V4L_CONFIGURE_ENABLE= v4l2
|
||||||
WAYLAND_CATEGORIES= wayland
|
WAYLAND_CATEGORIES= wayland
|
||||||
WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
|
WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
|
||||||
${LOCALBASE}/include/linux/kd.h:graphics/svgalib
|
${LOCALBASE}/include/linux/kd.h:graphics/svgalib
|
||||||
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
|
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
|
||||||
WAYLAND_CONFIGURE_ENABLE= wayland
|
WAYLAND_CONFIGURE_ENABLE= wayland
|
||||||
UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd \
|
|
||||||
libepoll-shim.so:devel/libepoll-shim
|
|
||||||
UDEV_CFLAGS= -I${LOCALBASE}/include/libepoll-shim
|
|
||||||
UDEV_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim
|
|
||||||
UDEV_CONFIGURE_ENABLE= udev
|
|
||||||
QT_USES= qt:5
|
|
||||||
QT_USE= QT=core,gui,widgets,concurrent,network
|
|
||||||
QT_CONFIGURE_ENABLE= qt
|
|
||||||
X11_USES= xorg
|
X11_USES= xorg
|
||||||
X11_USE= XORG=x11,xcb,xext,xinerama,xv,xxf86vm,xrandr
|
X11_USE= XORG=x11,xcb,xext,xinerama,xrandr,xv,xxf86vm
|
||||||
X11_CONFIGURE_ENABLE= x11
|
X11_CONFIGURE_ENABLE= x11
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
|
|
||||||
${WRKSRC}/camera/drivers/video4linux2.c \
|
|
||||||
${WRKSRC}/libretro-common/libco/armeabi.c \
|
|
||||||
${WRKSRC}/memory/wii/mem2_manager.c
|
|
||||||
@${REINPLACE_CMD} -e 's|<asm/types.h>|<sys/types.h>|' \
|
|
||||||
${WRKSRC}/camera/drivers/video4linux2.c
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/retroarch
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/retroarch
|
||||||
@${REINPLACE_CMD} \
|
@${REINPLACE_CMD} \
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1697986894
|
TIMESTAMP = 1707558003
|
||||||
SHA256 (libretro-RetroArch-v1.16.0.3_GH0.tar.gz) = 556aaec4afebd901d9f252181256bb1a2a91606c5eabb432927320f5e67a2c61
|
SHA256 (libretro-RetroArch-v1.17.0_GH0.tar.gz) = f4182c5118629d96d502df9e8dc781847ba73c6787cbebf0745f22e8a6637437
|
||||||
SIZE (libretro-RetroArch-v1.16.0.3_GH0.tar.gz) = 49084629
|
SIZE (libretro-RetroArch-v1.17.0_GH0.tar.gz) = 52321130
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- gfx/common/wayland_common.c.orig 2023-11-06 19:16:56 UTC
|
--- gfx/common/wayland_common.c.orig 2024-02-03 00:11:03 UTC
|
||||||
+++ gfx/common/wayland_common.c
|
+++ gfx/common/wayland_common.c
|
||||||
@@ -419,7 +419,7 @@ bool gfx_ctx_wl_get_metrics_common(void *data,
|
@@ -440,7 +440,7 @@ static int create_shm_file(off_t size)
|
||||||
static int create_shm_file(off_t size)
|
static int create_shm_file(off_t size)
|
||||||
{
|
{
|
||||||
int fd, ret;
|
int fd, ret;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- libretro-common/features/features_cpu.c.orig 2023-12-12 02:50:19.541552000 +0000
|
--- libretro-common/features/features_cpu.c.orig 2024-02-03 00:11:03 UTC
|
||||||
+++ libretro-common/features/features_cpu.c 2023-12-12 02:52:13.056521000 +0000
|
+++ libretro-common/features/features_cpu.c
|
||||||
@@ -45,7 +45,7 @@
|
@@ -45,7 +45,7 @@
|
||||||
|
|
||||||
#if defined(_XBOX360)
|
#if defined(_XBOX360)
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#ifndef _PPU_INTRINSICS_H
|
#ifndef _PPU_INTRINSICS_H
|
||||||
#include <ppu_intrinsics.h>
|
#include <ppu_intrinsics.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -181,7 +181,7 @@
|
@@ -181,7 +181,7 @@ retro_perf_tick_t cpu_features_get_perf_counter(void)
|
||||||
time_ticks = (1000000 * tv_sec + tv_usec);
|
time_ticks = (1000000 * tv_sec + tv_usec);
|
||||||
#elif defined(GEKKO)
|
#elif defined(GEKKO)
|
||||||
time_ticks = gettime();
|
time_ticks = gettime();
|
||||||
|
|
Loading…
Add table
Reference in a new issue