mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
games/retroarch: update to 1.8.5 (and add WAYLAND option, fix powerpc64, etc.)
This is mostly Greg's patch, I have added the new ports to games/Makefile (missing from PR, SUBDIR+=), and fixed a few spaces-vs-TAB glitches in the makefile, and reformatted the pkg-descr, and changed libretro-shaders-slang/pkg-descr to: | Vulkan GLSL RetroArch shader system | | WWW: https://github.com/libretro/slang-shaders v1: Here's 1.8.5. v2 of 1.8.5 update: - Fixed stage-qa (python/shebangfix) - Moved fPIC from port variable to PR/patch: https://github.com/libretro/RetroArch/pull/10384 - Fixed build with security/rhash installed: https://github.com/libretro/RetroArch/pull/10382 - Fixed ifdefs to solve powerpc64 issue: https://github.com/libretro/RetroArch/pull/10383 - Made X11 an option - Added libcaca option (the build system was auto finding this for me) v3: One little revision, fixing the dependency on libwayland-egl, which has been living in wayland instead of mesa for a long time. v4: Rebased after the webcamd/v4l related update Test built in poudriere 11.3 i386 and 12.1 amd64. PR: 227345 Submitted by: Greg V <greg@unrelenting.technology> (maintainer)
This commit is contained in:
parent
dbb9bfe909
commit
8165354577
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531956
@ -479,6 +479,9 @@
|
||||
SUBDIR += liblcf
|
||||
SUBDIR += libmaitretarot
|
||||
SUBDIR += libmt_client
|
||||
SUBDIR += libretro-core-info
|
||||
SUBDIR += libretro-shaders-glsl
|
||||
SUBDIR += libretro-shaders-slang
|
||||
SUBDIR += libshhcards
|
||||
SUBDIR += libtmcg
|
||||
SUBDIR += lightsoff
|
||||
@ -779,6 +782,7 @@
|
||||
SUBDIR += rescue
|
||||
SUBDIR += residualvm
|
||||
SUBDIR += retroarch
|
||||
SUBDIR += retroarch-assets
|
||||
SUBDIR += rezerwar
|
||||
SUBDIR += rfksay
|
||||
SUBDIR += ri-li
|
||||
|
16
games/libretro-core-info/Makefile
Normal file
16
games/libretro-core-info/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libretro-core-info
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.8.4
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= greg@unrelenting.technology
|
||||
COMMENT= Metadata about libretro cores
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= libretro
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/libretro-core-info/distinfo
Normal file
3
games/libretro-core-info/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1584827098
|
||||
SHA256 (libretro-libretro-core-info-v1.8.4_GH0.tar.gz) = 0bae514055f61bfc4ac7a237795550332dc02a86a0ca0217349226ea34735fb5
|
||||
SIZE (libretro-libretro-core-info-v1.8.4_GH0.tar.gz) = 31890
|
8
games/libretro-core-info/files/patch-Makefile
Normal file
8
games/libretro-core-info/files/patch-Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
--- Makefile.orig 2018-04-07 14:38:02 UTC
|
||||
+++ Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX := /usr
|
||||
+PREFIX ?= /usr
|
||||
INSTALLDIR := $(PREFIX)/share/libretro/info
|
||||
|
||||
all:
|
5
games/libretro-core-info/pkg-descr
Normal file
5
games/libretro-core-info/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Collection of libretro core info files.
|
||||
These files contain metadata that allows frontends such as RetroArch to
|
||||
discover supported games and know what firmware files might be required.
|
||||
|
||||
WWW: https://github.com/libretro/libretro-core-info
|
201
games/libretro-core-info/pkg-plist
Normal file
201
games/libretro-core-info/pkg-plist
Normal file
@ -0,0 +1,201 @@
|
||||
share/libretro/info/00_example_libretro.info
|
||||
share/libretro/info/2048_libretro.info
|
||||
share/libretro/info/3dengine_libretro.info
|
||||
share/libretro/info/4do_libretro.info
|
||||
share/libretro/info/81_libretro.info
|
||||
share/libretro/info/advanced_tests_libretro.info
|
||||
share/libretro/info/atari800_libretro.info
|
||||
share/libretro/info/blastem_libretro.info
|
||||
share/libretro/info/bluemsx_libretro.info
|
||||
share/libretro/info/bnes_libretro.info
|
||||
share/libretro/info/bsnes2014_accuracy_libretro.info
|
||||
share/libretro/info/bsnes2014_balanced_libretro.info
|
||||
share/libretro/info/bsnes2014_performance_libretro.info
|
||||
share/libretro/info/bsnes_cplusplus98_libretro.info
|
||||
share/libretro/info/bsnes_hd_beta_libretro.info
|
||||
share/libretro/info/bsnes_libretro.info
|
||||
share/libretro/info/bsnes_mercury_accuracy_libretro.info
|
||||
share/libretro/info/bsnes_mercury_balanced_libretro.info
|
||||
share/libretro/info/bsnes_mercury_performance_libretro.info
|
||||
share/libretro/info/cannonball_libretro.info
|
||||
share/libretro/info/cap32_libretro.info
|
||||
share/libretro/info/chailove_libretro.info
|
||||
share/libretro/info/citra_canary_libretro.info
|
||||
share/libretro/info/citra_libretro.info
|
||||
share/libretro/info/craft_libretro.info
|
||||
share/libretro/info/crocods_libretro.info
|
||||
share/libretro/info/cruzes_libretro.info
|
||||
share/libretro/info/daphne_libretro.info
|
||||
share/libretro/info/desmume2015_libretro.info
|
||||
share/libretro/info/desmume_libretro.info
|
||||
share/libretro/info/dhewm3_libretro.info
|
||||
share/libretro/info/dhewm3_xp_libretro.info
|
||||
share/libretro/info/dinothawr_libretro.info
|
||||
share/libretro/info/dolphin_launcher_libretro.info
|
||||
share/libretro/info/dolphin_libretro.info
|
||||
share/libretro/info/dosbox_libretro.info
|
||||
share/libretro/info/dosbox_svn_ce_libretro.info
|
||||
share/libretro/info/dosbox_svn_libretro.info
|
||||
share/libretro/info/easyrpg_libretro.info
|
||||
share/libretro/info/emux_chip8_libretro.info
|
||||
share/libretro/info/emux_gb_libretro.info
|
||||
share/libretro/info/emux_nes_libretro.info
|
||||
share/libretro/info/emux_sms_libretro.info
|
||||
share/libretro/info/fbalpha2012_cps1_libretro.info
|
||||
share/libretro/info/fbalpha2012_cps2_libretro.info
|
||||
share/libretro/info/fbalpha2012_cps3_libretro.info
|
||||
share/libretro/info/fbalpha2012_libretro.info
|
||||
share/libretro/info/fbalpha2012_neogeo_libretro.info
|
||||
share/libretro/info/fbneo_libretro.info
|
||||
share/libretro/info/fceumm_libretro.info
|
||||
share/libretro/info/ffmpeg_libretro.info
|
||||
share/libretro/info/fixgb_libretro.info
|
||||
share/libretro/info/fixnes_libretro.info
|
||||
share/libretro/info/flycast_gles2_libretro.info
|
||||
share/libretro/info/flycast_libretro.info
|
||||
share/libretro/info/fmsx_libretro.info
|
||||
share/libretro/info/freechaf_libretro.info
|
||||
share/libretro/info/freeintv_libretro.info
|
||||
share/libretro/info/freej2me_libretro.info
|
||||
share/libretro/info/frodo_libretro.info
|
||||
share/libretro/info/fsuae_libretro.info
|
||||
share/libretro/info/fuse_libretro.info
|
||||
share/libretro/info/gambatte_libretro.info
|
||||
share/libretro/info/gearboy_libretro.info
|
||||
share/libretro/info/gearsystem_libretro.info
|
||||
share/libretro/info/genesis_plus_gx_libretro.info
|
||||
share/libretro/info/gme_libretro.info
|
||||
share/libretro/info/gpsp_libretro.info
|
||||
share/libretro/info/gw_libretro.info
|
||||
share/libretro/info/handy_libretro.info
|
||||
share/libretro/info/hatari_libretro.info
|
||||
share/libretro/info/higan_sfc_balanced_libretro.info
|
||||
share/libretro/info/higan_sfc_libretro.info
|
||||
share/libretro/info/imageviewer_libretro.info
|
||||
share/libretro/info/ishiiruka_libretro.info
|
||||
share/libretro/info/kronos_libretro.info
|
||||
share/libretro/info/lutro_libretro.info
|
||||
share/libretro/info/mame2000_libretro.info
|
||||
share/libretro/info/mame2003_libretro.info
|
||||
share/libretro/info/mame2003_midway_libretro.info
|
||||
share/libretro/info/mame2003_plus_libretro.info
|
||||
share/libretro/info/mame2009_libretro.info
|
||||
share/libretro/info/mame2010_libretro.info
|
||||
share/libretro/info/mame2015_libretro.info
|
||||
share/libretro/info/mame2016_libretro.info
|
||||
share/libretro/info/mame_libretro.info
|
||||
share/libretro/info/mednafen_gba_libretro.info
|
||||
share/libretro/info/mednafen_lynx_libretro.info
|
||||
share/libretro/info/mednafen_ngp_libretro.info
|
||||
share/libretro/info/mednafen_pce_fast_libretro.info
|
||||
share/libretro/info/mednafen_pce_libretro.info
|
||||
share/libretro/info/mednafen_pcfx_libretro.info
|
||||
share/libretro/info/mednafen_psx_hw_libretro.info
|
||||
share/libretro/info/mednafen_psx_libretro.info
|
||||
share/libretro/info/mednafen_saturn_libretro.info
|
||||
share/libretro/info/mednafen_snes_libretro.info
|
||||
share/libretro/info/mednafen_supergrafx_libretro.info
|
||||
share/libretro/info/mednafen_vb_libretro.info
|
||||
share/libretro/info/mednafen_wswan_libretro.info
|
||||
share/libretro/info/melonds_libretro.info
|
||||
share/libretro/info/mesen-s_libretro.info
|
||||
share/libretro/info/mesen_libretro.info
|
||||
share/libretro/info/mess2015_libretro.info
|
||||
share/libretro/info/meteor_libretro.info
|
||||
share/libretro/info/mgba_libretro.info
|
||||
share/libretro/info/mpv_libretro.info
|
||||
share/libretro/info/mrboom_libretro.info
|
||||
share/libretro/info/mu_libretro.info
|
||||
share/libretro/info/mupen64plus_next_gles3_libretro.info
|
||||
share/libretro/info/mupen64plus_next_libretro.info
|
||||
share/libretro/info/nekop2_libretro.info
|
||||
share/libretro/info/neocd_libretro.info
|
||||
share/libretro/info/nestopia_libretro.info
|
||||
share/libretro/info/np2kai_libretro.info
|
||||
share/libretro/info/nxengine_libretro.info
|
||||
share/libretro/info/o2em_libretro.info
|
||||
share/libretro/info/oberon_libretro.info
|
||||
share/libretro/info/openlara_libretro.info
|
||||
share/libretro/info/opentyrian_libretro.info
|
||||
share/libretro/info/parallel_n64_debug_libretro.info
|
||||
share/libretro/info/parallel_n64_libretro.info
|
||||
share/libretro/info/pascal_pong_libretro.info
|
||||
share/libretro/info/pcem_libretro.info
|
||||
share/libretro/info/pcsx1_libretro.info
|
||||
share/libretro/info/pcsx_rearmed_interpreter_libretro.info
|
||||
share/libretro/info/pcsx_rearmed_libretro.info
|
||||
share/libretro/info/pcsx_rearmed_libretro_neon.info
|
||||
share/libretro/info/picodrive_libretro.info
|
||||
share/libretro/info/play_libretro.info
|
||||
share/libretro/info/pocketcdg_libretro.info
|
||||
share/libretro/info/pokemini_libretro.info
|
||||
share/libretro/info/ppsspp_libretro.info
|
||||
share/libretro/info/prboom_libretro.info
|
||||
share/libretro/info/prosystem_libretro.info
|
||||
share/libretro/info/puae_libretro.info
|
||||
share/libretro/info/px68k_libretro.info
|
||||
share/libretro/info/quasi88_libretro.info
|
||||
share/libretro/info/quicknes_libretro.info
|
||||
share/libretro/info/race_libretro.info
|
||||
share/libretro/info/redbook_libretro.info
|
||||
share/libretro/info/redream_libretro.info
|
||||
share/libretro/info/reminiscence_libretro.info
|
||||
share/libretro/info/remotejoy_libretro.info
|
||||
share/libretro/info/rustation_libretro.info
|
||||
share/libretro/info/sameboy_libretro.info
|
||||
share/libretro/info/scummvm_libretro.info
|
||||
share/libretro/info/simcp_libretro.info
|
||||
share/libretro/info/snes9x2002_libretro.info
|
||||
share/libretro/info/snes9x2005_libretro.info
|
||||
share/libretro/info/snes9x2005_plus_libretro.info
|
||||
share/libretro/info/snes9x2010_libretro.info
|
||||
share/libretro/info/snes9x_libretro.info
|
||||
share/libretro/info/squirreljme_libretro.info
|
||||
share/libretro/info/stella2014_libretro.info
|
||||
share/libretro/info/stella_libretro.info
|
||||
share/libretro/info/stonesoup_libretro.info
|
||||
share/libretro/info/tempgba_libretro.info
|
||||
share/libretro/info/test_libretro.info
|
||||
share/libretro/info/test_netplay_libretro.info
|
||||
share/libretro/info/testaudio_callback_libretro.info
|
||||
share/libretro/info/testaudio_no_callback_libretro.info
|
||||
share/libretro/info/testaudio_playback_wav_libretro.info
|
||||
share/libretro/info/testgl_compute_shaders_libretro.info
|
||||
share/libretro/info/testgl_ff_libretro.info
|
||||
share/libretro/info/testgl_libretro.info
|
||||
share/libretro/info/testinput_buttontest_libretro.info
|
||||
share/libretro/info/testretroluxury_libretro.info
|
||||
share/libretro/info/testsw_libretro.info
|
||||
share/libretro/info/testsw_vram_libretro.info
|
||||
share/libretro/info/testvulkan_async_compute_libretro.info
|
||||
share/libretro/info/testvulkan_libretro.info
|
||||
share/libretro/info/tgbdual_libretro.info
|
||||
share/libretro/info/theodore_libretro.info
|
||||
share/libretro/info/thepowdertoy_libretro.info
|
||||
share/libretro/info/tic80_libretro.info
|
||||
share/libretro/info/tyrquake_libretro.info
|
||||
share/libretro/info/uae4arm_libretro.info
|
||||
share/libretro/info/ume2015_libretro.info
|
||||
share/libretro/info/uzem_libretro.info
|
||||
share/libretro/info/vba_next_libretro.info
|
||||
share/libretro/info/vbam_libretro.info
|
||||
share/libretro/info/vecx_libretro.info
|
||||
share/libretro/info/vemulator_libretro.info
|
||||
share/libretro/info/vice_x128_libretro.info
|
||||
share/libretro/info/vice_x64_libretro.info
|
||||
share/libretro/info/vice_x64sc_libretro.info
|
||||
share/libretro/info/vice_xcbm2_libretro.info
|
||||
share/libretro/info/vice_xpet_libretro.info
|
||||
share/libretro/info/vice_xplus4_libretro.info
|
||||
share/libretro/info/vice_xvic_libretro.info
|
||||
share/libretro/info/virtualjaguar_libretro.info
|
||||
share/libretro/info/vitaquake2-rogue_libretro.info
|
||||
share/libretro/info/vitaquake2-xatrix_libretro.info
|
||||
share/libretro/info/vitaquake2-zaero_libretro.info
|
||||
share/libretro/info/vitaquake2_libretro.info
|
||||
share/libretro/info/vitaquake3_libretro.info
|
||||
share/libretro/info/vitavoyager_libretro.info
|
||||
share/libretro/info/x64sdl_libretro.info
|
||||
share/libretro/info/xrick_libretro.info
|
||||
share/libretro/info/yabasanshiro_libretro.info
|
||||
share/libretro/info/yabause_libretro.info
|
17
games/libretro-shaders-glsl/Makefile
Normal file
17
games/libretro-shaders-glsl/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libretro-shaders-glsl
|
||||
DISTVERSION= g20200314
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= greg@unrelenting.technology
|
||||
COMMENT= Collection of GLSL shaders for libretro
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= libretro
|
||||
GH_PROJECT= glsl-shaders
|
||||
GH_TAGNAME= 7052b09dc657d56bea443d5661dccbebcafe32dc
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/libretro-shaders-glsl/distinfo
Normal file
3
games/libretro-shaders-glsl/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1584827200
|
||||
SHA256 (libretro-glsl-shaders-g20200314-7052b09dc657d56bea443d5661dccbebcafe32dc_GH0.tar.gz) = c1180ada4c407e0cf6d5457968ced9d0c281bd7ee9feeb902c7128a61fa4a208
|
||||
SIZE (libretro-glsl-shaders-g20200314-7052b09dc657d56bea443d5661dccbebcafe32dc_GH0.tar.gz) = 28728270
|
16
games/libretro-shaders-glsl/files/patch-Makefile
Normal file
16
games/libretro-shaders-glsl/files/patch-Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
--- Makefile.orig 2018-04-05 20:28:24 UTC
|
||||
+++ Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX := /usr
|
||||
+PREFIX ?= /usr
|
||||
INSTALLDIR := $(PREFIX)/share/libretro/shaders/shaders_glsl
|
||||
|
||||
all:
|
||||
@@ -6,7 +6,7 @@ all:
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(INSTALLDIR)
|
||||
- cp -ar -t $(DESTDIR)$(INSTALLDIR) *
|
||||
+ cp -a * $(DESTDIR)$(INSTALLDIR)
|
||||
rm -f $(DESTDIR)$(INSTALLDIR)/Makefile \
|
||||
$(DESTDIR)$(INSTALLDIR)/configure
|
4
games/libretro-shaders-glsl/pkg-descr
Normal file
4
games/libretro-shaders-glsl/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
The official collection of GLSL shaders for libretro frontends
|
||||
such as RetroArch.
|
||||
|
||||
WWW: https://github.com/libretro/glsl-shaders
|
1178
games/libretro-shaders-glsl/pkg-plist
Normal file
1178
games/libretro-shaders-glsl/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
17
games/libretro-shaders-slang/Makefile
Normal file
17
games/libretro-shaders-slang/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libretro-shaders-slang
|
||||
DISTVERSION= g20200225
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= greg@unrelenting.technology
|
||||
COMMENT= Collection of slang (Vulkan) shaders for libretro
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= libretro
|
||||
GH_PROJECT= slang-shaders
|
||||
GH_TAGNAME= 9850d68939b86262eae9f0da01ff1c11daafcdc3
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/libretro-shaders-slang/distinfo
Normal file
3
games/libretro-shaders-slang/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1584827288
|
||||
SHA256 (libretro-slang-shaders-g20200225-9850d68939b86262eae9f0da01ff1c11daafcdc3_GH0.tar.gz) = a37705ae451c42dd3d2096b9733e18132154f22cb1f45882a6497c35d6339f0e
|
||||
SIZE (libretro-slang-shaders-g20200225-9850d68939b86262eae9f0da01ff1c11daafcdc3_GH0.tar.gz) = 36776054
|
16
games/libretro-shaders-slang/files/patch-Makefile
Normal file
16
games/libretro-shaders-slang/files/patch-Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
--- Makefile.orig 2018-04-06 18:44:11 UTC
|
||||
+++ Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX := /usr
|
||||
+PREFIX ?= /usr
|
||||
INSTALLDIR := $(PREFIX)/share/libretro/shaders/shaders_slang
|
||||
|
||||
all:
|
||||
@@ -6,7 +6,7 @@ all:
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(INSTALLDIR)
|
||||
- cp -ar -t $(DESTDIR)$(INSTALLDIR) *
|
||||
+ cp -a * $(DESTDIR)$(INSTALLDIR)
|
||||
rm -f $(DESTDIR)$(INSTALLDIR)/Makefile \
|
||||
$(DESTDIR)$(INSTALLDIR)/configure
|
3
games/libretro-shaders-slang/pkg-descr
Normal file
3
games/libretro-shaders-slang/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Vulkan GLSL RetroArch shader system
|
||||
|
||||
WWW: https://github.com/libretro/slang-shaders
|
1346
games/libretro-shaders-slang/pkg-plist
Normal file
1346
games/libretro-shaders-slang/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
17
games/retroarch-assets/Makefile
Normal file
17
games/retroarch-assets/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= retroarch-assets
|
||||
DISTVERSION= g20200317
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= greg@unrelenting.technology
|
||||
COMMENT= Graphical assets and official branding for RetroArch
|
||||
|
||||
LICENSE= CC-BY-4.0
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= libretro
|
||||
GH_TAGNAME= e09cbd5a0c7c324cccc96c5804a5e03e5cb9b26c
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/retroarch-assets/distinfo
Normal file
3
games/retroarch-assets/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1584826721
|
||||
SHA256 (libretro-retroarch-assets-g20200317-e09cbd5a0c7c324cccc96c5804a5e03e5cb9b26c_GH0.tar.gz) = c90c039fc8cfa89948d9603f6740944d2269faf3737c7f548abea56b340b2dcb
|
||||
SIZE (libretro-retroarch-assets-g20200317-e09cbd5a0c7c324cccc96c5804a5e03e5cb9b26c_GH0.tar.gz) = 157051780
|
17
games/retroarch-assets/files/patch-Makefile
Normal file
17
games/retroarch-assets/files/patch-Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
--- Makefile.orig 2018-04-07 12:50:09 UTC
|
||||
+++ Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX := /usr
|
||||
+PREFIX ?= /usr
|
||||
INSTALLDIR := $(PREFIX)/share/libretro/assets
|
||||
|
||||
all:
|
||||
@@ -6,7 +6,7 @@ all:
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(INSTALLDIR)
|
||||
- cp -ar * $(DESTDIR)$(INSTALLDIR)
|
||||
+ cp -a * $(DESTDIR)$(INSTALLDIR)
|
||||
rm -rf $(DESTDIR)$(INSTALLDIR)/Makefile \
|
||||
$(DESTDIR)$(INSTALLDIR)/configure \
|
||||
$(DESTDIR)$(INSTALLDIR)/src
|
4
games/retroarch-assets/pkg-descr
Normal file
4
games/retroarch-assets/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Assets needed for RetroArch - e.g. menu drivers, etc. Also contains the
|
||||
official branding.
|
||||
|
||||
WWW: https://github.com/libretro/retroarch-assets
|
4957
games/retroarch-assets/pkg-plist
Normal file
4957
games/retroarch-assets/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
@ -2,10 +2,16 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= RetroArch
|
||||
PORTVERSION= 1.3.6
|
||||
PORTVERSION= 1.8.5
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 18
|
||||
CATEGORIES= games
|
||||
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
|
||||
@ -16,17 +22,21 @@ 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:devel/vulkan-headers
|
||||
RUN_DEPENDS= retroarch-assets<=0:games/retroarch-assets
|
||||
|
||||
BROKEN_powerpc64= fails to compile: features_cpu.c: undefined reference to __mftb
|
||||
USES= compiler:c++11-lib gmake pkgconfig python:3.6+ shebangfix ssl
|
||||
|
||||
OPTIONS_DEFINE= FFMPEG OSS JACK PULSEAUDIO ALSA SDL OPENGL OPENAL NETPLAY PYTHON V4L FREETYPE FBO
|
||||
OPTIONS_DEFAULT=OSS PULSEAUDIO SDL OPENGL OPENAL NETPLAY PYTHON V4L FREETYPE FBO # FFMPEG
|
||||
OPTIONS_DEFINE= CACA FFMPEG OSS JACK PULSEAUDIO ALSA SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11
|
||||
OPTIONS_DEFAULT=FFMPEG OSS PULSEAUDIO SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11
|
||||
FFMPEG_DESC= On-the-fly recording of gameplay with libavcodec
|
||||
NETPLAY_DESC= Peer-to-peer netplay
|
||||
PYTHON_DESC= Script support in shaders
|
||||
FBO_DESC= OpenGL render-to-texture
|
||||
WAYLAND_DESC= Wayland display support
|
||||
UDEV_DESC= udev device hotplug support
|
||||
QT_DESC= Qt based desktop-style GUI
|
||||
|
||||
FFMPEG_BROKEN= fails to build with ffmpeg 4.0
|
||||
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
|
||||
@ -45,52 +55,58 @@ OPENGL_USE= GL=gl,egl,gbm
|
||||
OPENGL_CONFIGURE_ENABLE=opengl
|
||||
OPENAL_USES= openal:soft
|
||||
OPENAL_CONFIGURE_ENABLE=al
|
||||
NETPLAY_CONFIGURE_ENABLE= netplay
|
||||
PYTHON_CONFIGURE_ENABLE=python
|
||||
PYTHON_USES= python:3.4+
|
||||
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
|
||||
FBO_CONFIGURE_ENABLE= fbo
|
||||
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
|
||||
|
||||
CFLAGS+= -pthread
|
||||
LDFLAGS+= -pthread
|
||||
LDFLAGS_i386= -Wl,-znotext
|
||||
CONFIGURE_ARGS+=--enable-threads --disable-udev
|
||||
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
|
||||
|
||||
USES= compiler:c++11-lib gmake pkgconfig shebangfix xorg
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= libretro
|
||||
SUB_FILES= pkg-message
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--global-config-dir=${LOCALBASE}/etc
|
||||
USE_XORG= x11 xcb xext xinerama xv xxf86vm
|
||||
SHEBANG_FILES= libretro-common/glsym/glgen.py libretro-common/glsym/rglgen.py tools/cg2glsl.py tools/vulkan_loader_generator.py
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--sysconfdir=${LOCALBASE}/etc
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
|
||||
${WRKSRC}/camera/drivers/video4linux2.c \
|
||||
${WRKSRC}/gfx/drivers/*.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
|
||||
@${REINPLACE_CMD} -e '/^add_define_make DYLIB_LIB/s|$$|;\
|
||||
add_include_dirs ${LOCALBASE}/include;\
|
||||
add_library_dirs ${LOCALBASE}/lib| ; \
|
||||
/^check_lib OSS_LIB/d' \
|
||||
${WRKSRC}/qb/config.libs.sh
|
||||
|
||||
post-patch-PYTHON-on:
|
||||
@${REINPLACE_CMD} -e '/check_pkgconf PYTHON/s/python3/python-${PYTHON_VER}/' \
|
||||
${WRKSRC}/qb/config.libs.sh
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/retroarch
|
||||
@${REINPLACE_CMD} -e 's|# libretro_directory =|libretro_directory = "${PREFIX}/libexec/libretro"|' \
|
||||
@${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>
|
||||
|
@ -1,3 +1,13 @@
|
||||
TIMESTAMP = 1468710318
|
||||
SHA256 (libretro-RetroArch-v1.3.6_GH0.tar.gz) = bed4201e49b2e97809e97df07d08c752879af0274feec93965a07cf6140759f5
|
||||
SIZE (libretro-RetroArch-v1.3.6_GH0.tar.gz) = 11967473
|
||||
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
|
||||
SHA256 (618c83d4ca1b8144377747076e28ac962e492392.patch) = 965b73683058b887aa0ce96cd1186a61d1491d00fc0d3a96531aaa3a6eed45de
|
||||
SIZE (618c83d4ca1b8144377747076e28ac962e492392.patch) = 1573
|
||||
SHA256 (f9ae48c3f687cf652a4ef73b5f991ac74c7c5d17.patch) = cb27ed17d7f68f4bac0c1f521cbed98b52fb3b317eb460f72eed89c6677ca530
|
||||
SIZE (f9ae48c3f687cf652a4ef73b5f991ac74c7c5d17.patch) = 1317
|
||||
SHA256 (f646fea03fdecc62af5ffe983f51e2c7ea8bc786.patch) = 89c675442e55007b3588a3cb4490984f391b81d48ac2f10fbff42a67bf6e61eb
|
||||
SIZE (f646fea03fdecc62af5ffe983f51e2c7ea8bc786.patch) = 625
|
||||
|
@ -0,0 +1,12 @@
|
||||
https://github.com/KhronosGroup/glslang/issues/1869
|
||||
|
||||
--- deps/glslang/glslang/glslang/Include/PoolAlloc.h.orig 2020-03-21 22:21:53 UTC
|
||||
+++ deps/glslang/glslang/glslang/Include/PoolAlloc.h
|
||||
@@ -304,7 +304,6 @@ class pool_allocator { (public)
|
||||
size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); }
|
||||
size_type max_size(int size) const { return static_cast<size_type>(-1) / size; }
|
||||
|
||||
- void setAllocator(TPoolAllocator* a) { allocator = *a; }
|
||||
TPoolAllocator& getAllocator() const { return allocator; }
|
||||
|
||||
protected:
|
@ -1,11 +0,0 @@
|
||||
--- libretro-common/include/streams/interface_stream.h.orig 2016-05-02 20:17:12 UTC
|
||||
+++ libretro-common/include/streams/interface_stream.h
|
||||
@@ -29,6 +29,8 @@
|
||||
#include <retro_common_api.h>
|
||||
#include <boolean.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
enum intfstream_type
|
||||
{
|
||||
INTFSTREAM_FILE = 0,
|
@ -1,11 +0,0 @@
|
||||
--- libretro-common/rthreads/rthreads.c.orig 2016-07-16 23:05:18 UTC
|
||||
+++ libretro-common/rthreads/rthreads.c
|
||||
@@ -57,6 +57,8 @@
|
||||
#include <mach/mach.h>
|
||||
#endif
|
||||
|
||||
+#include <sys/time.h>
|
||||
+
|
||||
struct thread_data
|
||||
{
|
||||
void (*func)(void*);
|
@ -1,14 +0,0 @@
|
||||
--- qb/qb.params.sh.orig 2016-07-15 20:24:15 UTC
|
||||
+++ qb/qb.params.sh
|
||||
@@ -79,7 +79,10 @@ parse_input() # Parse stuff :V
|
||||
opt_exists "${arg%%=*}" "$1"
|
||||
eval "$opt=\"$val\""
|
||||
;;
|
||||
- -h|--help) print_help; exit 0;;
|
||||
+ --x-*)
|
||||
+ ;;
|
||||
+ --build*)
|
||||
+ ;;
|
||||
*) echo "Unknown option $1"; exit 1;;
|
||||
esac
|
||||
shift
|
@ -1,16 +1,15 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
You installed RetroArch: libretro-based entertainment platform.
|
||||
RetroArch supports multiple backends for input devices like gamepads:
|
||||
|
||||
RetroArch is the lowest tier of the entertainment platform. The middle
|
||||
tier is the core, which is usually an interpreter of the computer game
|
||||
code. The top tier is the game code itself.
|
||||
|
||||
You can run the stack with this command:
|
||||
$ retroarch -L some-core-libretro.so some-game.game
|
||||
|
||||
Enjoy!
|
||||
- evdev/udev: usable with the kernel driver from sysutils/iichid
|
||||
or a userspace driver from e.g. multimedia/webcamd
|
||||
(you have to grant access permissions on the appropriate
|
||||
/dev/input/eventN device to your user account)
|
||||
- SDL2, which uses userspace raw USB HID access
|
||||
(you have to grant access permissions on the appropriate
|
||||
/dev/uhidN device to your user account)
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
@ -3,5 +3,7 @@ bin/retroarch-cg2glsl
|
||||
etc/retroarch.cfg
|
||||
man/man6/retroarch-cg2glsl.6.gz
|
||||
man/man6/retroarch.6.gz
|
||||
share/pixmaps/retroarch.svg
|
||||
share/applications/retroarch.desktop
|
||||
share/doc/retroarch/COPYING
|
||||
share/doc/retroarch/README.md
|
||||
share/pixmaps/retroarch.svg
|
||||
|
Loading…
Reference in New Issue
Block a user