Lines 1-5
Link Here
|
1 |
PORTNAME= ares |
1 |
PORTNAME= ares |
2 |
DISTVERSION= 139.20240823 |
2 |
DISTVERSION= 139.20240825 |
3 |
CATEGORIES= emulators |
3 |
CATEGORIES= emulators |
4 |
|
4 |
|
5 |
MAINTAINER= bsdcode@disroot.org |
5 |
MAINTAINER= bsdcode@disroot.org |
Lines 9-19
WWW= https://ares-emu.net
Link Here
|
9 |
LICENSE= ISCL |
9 |
LICENSE= ISCL |
10 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
10 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
|
11 |
|
|
|
12 |
BUILD_DEPENDS= ${LOCALBASE}/include/librashader/librashader_ld.h:devel/librashader |
13 |
|
12 |
USES= compiler:c++17-lang gmake gnome localbase:ldflags pkgconfig \ |
14 |
USES= compiler:c++17-lang gmake gnome localbase:ldflags pkgconfig \ |
13 |
xorg |
15 |
xorg |
14 |
USE_GITHUB= yes |
16 |
USE_GITHUB= yes |
15 |
GH_ACCOUNT= ares-emulator |
17 |
GH_ACCOUNT= ares-emulator |
16 |
GH_TAGNAME= 3cd82c8 |
18 |
GH_TAGNAME= efb7f61 |
17 |
USE_GNOME= gtksourceview3 |
19 |
USE_GNOME= gtksourceview3 |
18 |
USE_XORG= x11 xext xrandr |
20 |
USE_XORG= x11 xext xrandr |
19 |
|
21 |
|
Lines 29-36
MAKE_ARGS= compiler=${CC} \
Link Here
|
29 |
symbols=false \ |
31 |
symbols=false \ |
30 |
threaded=true |
32 |
threaded=true |
31 |
|
33 |
|
32 |
SUB_FILES= pkg-message |
34 |
CFLAGS+= -DLIBRA_RUNTIME_OPENGL |
33 |
SUB_LIST= LIBRASHADER=${_LIBRASHADER} |
|
|
34 |
|
35 |
|
35 |
OPTIONS_DEFINE= DEBUG DOCS HOTKEYS NVIDIA OPENMP SHADER |
36 |
OPTIONS_DEFINE= DEBUG DOCS HOTKEYS NVIDIA OPENMP SHADER |
36 |
OPTIONS_DEFAULT= A26 ALSA AO CV FC GB GBA GLX MD MS MSX MYVISION N64 NG \ |
37 |
OPTIONS_DEFAULT= A26 ALSA AO CV FC GB GBA GLX MD MS MSX MYVISION N64 NG \ |
Lines 157-163
SFC_MAKE_ARGS= cores+=sfc
Link Here
|
157 |
|
158 |
|
158 |
SG_MAKE_ARGS= cores+=sg |
159 |
SG_MAKE_ARGS= cores+=sg |
159 |
|
160 |
|
160 |
SHADER_RUN_DEPENDS= ${LOCALBASE}/${_SHADERS}/bilinear.slangp:games/libretro-shaders-slang |
161 |
SHADER_RUN_DEPENDS= ${LOCALBASE}/${_SHADERS}/bilinear.slangp:games/libretro-shaders-slang \ |
|
|
162 |
${LOCALBASE}/lib/librashader.so:devel/librashader |
161 |
SHADER_MAKE_ARGS= librashader=true |
163 |
SHADER_MAKE_ARGS= librashader=true |
162 |
SHADER_MAKE_ARGS_OFF= librashader=false |
164 |
SHADER_MAKE_ARGS_OFF= librashader=false |
163 |
SHADER_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-desktop-ui_desktop-ui.cpp |
165 |
SHADER_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-desktop-ui_desktop-ui.cpp |
Lines 176-182
XLIB_MAKE_ARGS= ruby+=input.xlib
Link Here
|
176 |
XVIDEO_USE= XORG=xv |
178 |
XVIDEO_USE= XORG=xv |
177 |
XVIDEO_MAKE_ARGS= ruby+=video.xvideo |
179 |
XVIDEO_MAKE_ARGS= ruby+=video.xvideo |
178 |
|
180 |
|
179 |
_LIBRASHADER= 0.3.3 |
|
|
180 |
_SHADERS= share/libretro/shaders/shaders_slang |
181 |
_SHADERS= share/libretro/shaders/shaders_slang |
181 |
|
182 |
|
182 |
.include <bsd.port.options.mk> |
183 |
.include <bsd.port.options.mk> |
Lines 185-190
_SHADERS= share/libretro/shaders/shaders_slang
Link Here
|
185 |
LLD_UNSAFE= yes |
186 |
LLD_UNSAFE= yes |
186 |
.endif |
187 |
.endif |
187 |
|
188 |
|
|
|
189 |
post-patch: |
190 |
${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \ |
191 |
${WRKSRC}/hiro/GNUmakefile |
192 |
${REINPLACE_CMD} 's|"librashader_ld.h"|<librashader/librashader_ld.h>|g' \ |
193 |
${WRKSRC}/ruby/video/opengl/opengl.hpp |
194 |
|
188 |
post-patch-SHADER-on: |
195 |
post-patch-SHADER-on: |
189 |
${REINPLACE_CMD} 's|@@SHADERS@@|${LOCALBASE}/${_SHADERS}/|g' \ |
196 |
${REINPLACE_CMD} 's|@@SHADERS@@|${LOCALBASE}/${_SHADERS}/|g' \ |
190 |
${WRKSRC}/desktop-ui/desktop-ui.cpp |
197 |
${WRKSRC}/desktop-ui/desktop-ui.cpp |