1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

emulators/ares: unbreak i386 build

- recognize i386 architecture in upstream GNUmakefile
  (upstream pool request:
  https://github.com/ares-emulator/ares/pull/1600)
- use LLD_UNSAFE with OPENAL option
- change WWW to homepage
- fix typo in pkg-descr

PR:	280826
This commit is contained in:
Stefan Schlosser 2024-08-15 20:31:25 +03:00 committed by Vladimir Druzenko
parent 078b0010cf
commit 5e2e6a2f8e
3 changed files with 18 additions and 2 deletions

View File

@ -1,10 +1,11 @@
PORTNAME= ares
DISTVERSION= 139.20240809
PORTREVISION= 1
CATEGORIES= emulators
MAINTAINER= bsdcode@disroot.org
COMMENT= Multi-system emulator
WWW= https://github.com/ares-emulator/ares
WWW= https://ares-emu.net
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
@ -174,6 +175,12 @@ XVIDEO_MAKE_ARGS= ruby+=video.xvideo
_SHADERS= share/libretro/shaders/shaders_slang
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENAL} && ${ARCH} == "i386"
LLD_UNSAFE= yes
.endif
post-patch-SHADER-on:
${REINPLACE_CMD} 's|@@SHADERS@@|${LOCALBASE}/${_SHADERS}/|g' \
${WRKSRC}/desktop-ui/desktop-ui.cpp

View File

@ -1,5 +1,14 @@
--- nall/GNUmakefile.orig 2024-08-14 12:07:36 UTC
+++ nall/GNUmakefile
@@ -102,7 +102,7 @@ else
else
machine_opt := $(if $(findstring clang,$(compiler)),-print-target-triple,-dumpmachine)
machine_str := $(shell $(compiler) $(machine_opt))
- ifneq ($(filter i686-%,$(machine_str)),)
+ ifneq ($(filter i386-% i486-% i586-% i686-%,$(machine_str)),)
machine := x86
else ifneq ($(filter amd64-% x86_64-%,$(machine_str)),)
machine := amd64
@@ -169,8 +169,6 @@ ifeq ($(build),debug)
lto = false
ifeq ($(cl),true)

View File

@ -16,5 +16,5 @@ ares has all the features one would expect from a great emulator system: native
multi-platform UI, dynamic rate control, save states, run-ahead, rewind and
fast-forward, pixel shaders, color correction, input multi-mapping, debugger
ares uses librashader for it's pixel shader engine. This means it is highly
ares uses librashader for its pixel shader engine. This means it is highly
compatible with existing slang shaders, e.g. the slang-shaders from libretro.