FreeBSD Bugzilla – Attachment 222370 Details for
Bug 252189
games/retroarch: update to 1.9.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
retroarch.patch
retroarch.patch (text/plain), 8.10 KB, created by
Val Packett
on 2021-02-11 16:59:52 UTC
(
hide
)
Description:
retroarch.patch
Filename:
MIME Type:
Creator:
Val Packett
Created:
2021-02-11 16:59:52 UTC
Size:
8.10 KB
patch
obsolete
>diff --git c/games/retroarch/Makefile i/games/retroarch/Makefile >index fdf4dd40433f..51ad93eaf2a0 100644 >--- c/games/retroarch/Makefile >+++ i/games/retroarch/Makefile >@@ -1,113 +1,110 @@ > # Created by: Yuri Victorovich <yuri@rawbw.com> > # $FreeBSD$ > > PORTNAME= RetroArch >-PORTVERSION= 1.8.5 >-PORTREVISIION= 1 >+PORTVERSION= 1.9.0 > DISTVERSIONPREFIX= v > CATEGORIES= games emulators > > PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ >-PATCHFILES+= 27a9997279c14c6727390d4254c2377561cb8a19.patch:-p1 >-PATCHFILES+= c53f8ba96b024c0e01b7060d9a76cf93268b519a.patch:-p1 > PATCHFILES+= 618c83d4ca1b8144377747076e28ac962e492392.patch:-p1 >-PATCHFILES+= f9ae48c3f687cf652a4ef73b5f991ac74c7c5d17.patch:-p1 >-PATCHFILES+= f646fea03fdecc62af5ffe983f51e2c7ea8bc786.patch:-p1 > > MAINTAINER= greg@unrelenting.technology > COMMENT= Cross-platform entertainment system based on libretro API > > LICENSE= GPLv3 > LICENSE_FILE= ${WRKSRC}/COPYING > > LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \ > libdrm.so:graphics/libdrm \ > libass.so:multimedia/libass > BUILD_DEPENDS= vulkan-loader>0:graphics/vulkan-loader \ > ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers > RUN_DEPENDS= retroarch-assets<=0:games/retroarch-assets > > USES= compiler:c++11-lib gmake pkgconfig python:3.6+ shebangfix ssl > >-OPTIONS_DEFINE= CACA FFMPEG OSS JACK PULSEAUDIO ALSA SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11 >+OPTIONS_DEFINE= CACA FFMPEG OSS JACK PULSEAUDIO ALSA SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11 DOCS > OPTIONS_DEFAULT=FFMPEG OSS PULSEAUDIO SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11 > 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 > >+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl} >+ > CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca > CACA_CONFIGURE_ENABLE= caca > FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/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_CONFIGURE_ENABLE= freetype > WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ > ${LOCALBASE}/include/linux/kd.h:graphics/svgalib > WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/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_USE= XORG=x11,xcb,xext,xinerama,xv,xxf86vm,xrandr > X11_CONFIGURE_ENABLE= x11 > > LDFLAGS_i386= -Wl,-znotext > CONFIGURE_ARGS+=--enable-threads --disable-discord > CONFIGURE_ENV+= MAN_DIR=${MANPREFIX}/man > SHEBANG_FILES= libretro-common/glsym/glgen.py libretro-common/glsym/rglgen.py \ > tools/cg2glsl.py tools/vulkan_loader_generator.py > > USE_GITHUB= yes > GH_ACCOUNT= libretro > SUB_FILES= pkg-message > HAS_CONFIGURE= yes > CONFIGURE_ARGS+=--sysconfdir=${LOCALBASE}/etc > > 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: > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/retroarch > @${REINPLACE_CMD} \ > -e 's|# libretro_directory =|libretro_directory = "${PREFIX}/lib/libretro"|' \ > -e 's|# libretro_info_path =|libretro_info_path = "${PREFIX}/share/libretro/info"|' \ > -e 's|# assets_directory =|assets_directory = "${PREFIX}/share/libretro/assets"|' \ > -e 's|# video_shader_dir =|video_shader_dir = "${PREFIX}/share/libretro/shaders"|' \ > -e 's|# video_filter_dir =|video_filter_dir = "${PREFIX}/lib/retroarch/filters/video"|' \ > -e 's|# audio_filter_dir =|audio_filter_dir = "${PREFIX}/lib/retroarch/filters/audio"|' \ > -e 's|# joypad_autoconfig_dir =|joypad_autoconfig_dir = "${PREFIX}/share/retroarch/autoconfig"|' \ > -e 's|# menu_show_core_updater = true|menu_show_core_updater = false|' \ > ${STAGEDIR}${PREFIX}/etc/retroarch.cfg > > .include <bsd.port.mk> >diff --git c/games/retroarch/distinfo i/games/retroarch/distinfo >index 076223af079e..05429524c993 100644 >--- c/games/retroarch/distinfo >+++ i/games/retroarch/distinfo >@@ -1,13 +1,5 @@ >-TIMESTAMP = 1585830388 >-SHA256 (libretro-RetroArch-v1.8.5_GH0.tar.gz) = f29b6dd9b18f874571803afac760b7fc99dc177dd079b38216b7576bd7d86dd4 >-SIZE (libretro-RetroArch-v1.8.5_GH0.tar.gz) = 38437050 >-SHA256 (27a9997279c14c6727390d4254c2377561cb8a19.patch) = 611ea7f21322ac852f36356e5489f0ae1877bd4a76fcc60734ecb7f7e6173ea9 >-SIZE (27a9997279c14c6727390d4254c2377561cb8a19.patch) = 798 >-SHA256 (c53f8ba96b024c0e01b7060d9a76cf93268b519a.patch) = 6545e100430d0893c34b0caae262410d2507d8e75b66a99622d6ccf333f54e80 >-SIZE (c53f8ba96b024c0e01b7060d9a76cf93268b519a.patch) = 659 >+TIMESTAMP = 1598401167 >+SHA256 (libretro-RetroArch-v1.9.0_GH0.tar.gz) = 39d7ad9298c9487fb4848cd6a257c23a95ee85f83c75302f97bcc4797f154b6a >+SIZE (libretro-RetroArch-v1.9.0_GH0.tar.gz) = 39152024 > SHA256 (618c83d4ca1b8144377747076e28ac962e492392.patch) = 965b73683058b887aa0ce96cd1186a61d1491d00fc0d3a96531aaa3a6eed45de > SIZE (618c83d4ca1b8144377747076e28ac962e492392.patch) = 1573 >-SHA256 (f9ae48c3f687cf652a4ef73b5f991ac74c7c5d17.patch) = cb27ed17d7f68f4bac0c1f521cbed98b52fb3b317eb460f72eed89c6677ca530 >-SIZE (f9ae48c3f687cf652a4ef73b5f991ac74c7c5d17.patch) = 1317 >-SHA256 (f646fea03fdecc62af5ffe983f51e2c7ea8bc786.patch) = 89c675442e55007b3588a3cb4490984f391b81d48ac2f10fbff42a67bf6e61eb >-SIZE (f646fea03fdecc62af5ffe983f51e2c7ea8bc786.patch) = 625 >diff --git c/games/retroarch/files/patch-input_input__keymaps.c i/games/retroarch/files/patch-input_input__keymaps.c >new file mode 100644 >index 000000000000..d893b4878657 >--- /dev/null >+++ i/games/retroarch/files/patch-input_input__keymaps.c >@@ -0,0 +1,13 @@ >+--- input/input_keymaps.c.orig 2020-08-07 22:06:53 UTC >++++ input/input_keymaps.c >+@@ -50,10 +50,8 @@ >+ #include "SDL.h" >+ #endif >+ >+-#if defined(__linux__) || defined(__linux__) && defined(HAVE_WAYLAND) >+ #include <linux/input.h> >+ #include <linux/kd.h> >+-#endif >+ >+ #ifdef HAVE_X11 >+ #include "input/include/xfree86_keycodes.h" >diff --git c/games/retroarch/files/patch-libretro-common_net_net__ifinfo.c i/games/retroarch/files/patch-libretro-common_net_net__ifinfo.c >index 580228ff99e4..231c91bafe51 100644 >--- c/games/retroarch/files/patch-libretro-common_net_net__ifinfo.c >+++ i/games/retroarch/files/patch-libretro-common_net_net__ifinfo.c >@@ -1,11 +1,11 @@ >---- libretro-common/net/net_ifinfo.c.orig 2016-07-04 20:02:01 UTC >+--- libretro-common/net/net_ifinfo.c.orig 2020-08-07 22:06:53 UTC > +++ libretro-common/net/net_ifinfo.c >-@@ -44,6 +44,8 @@ >- >- #include <net/net_ifinfo.h> >+@@ -50,6 +50,8 @@ >+ #include <netinet/in.h> >+ #endif > > +#include <netinet/in.h> > + > void net_ifinfo_free(net_ifinfo_t *list) > { > unsigned k; >diff --git c/games/retroarch/pkg-plist i/games/retroarch/pkg-plist >index 4b9ae99db150..c4405b3980b5 100644 >--- c/games/retroarch/pkg-plist >+++ i/games/retroarch/pkg-plist >@@ -1,9 +1,10 @@ > bin/retroarch > bin/retroarch-cg2glsl > etc/retroarch.cfg > man/man6/retroarch-cg2glsl.6.gz > man/man6/retroarch.6.gz > share/applications/retroarch.desktop >-share/doc/retroarch/COPYING >-share/doc/retroarch/README.md >+share/metainfo/com.libretro.RetroArch.appdata.xml >+%%PORTDOCS%%%%DOCSDIR%%/COPYING >+%%PORTDOCS%%%%DOCSDIR%%/README.md > share/pixmaps/retroarch.svg
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
val
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 252189
:
220981
| 222370