blob: 7d735ef4f0b50f29d3ef6ea51954a87e967668aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
PORTNAME= libretro-reicast
PORTVERSION= 0.20201231
PORTREVISION= 2
CATEGORIES= emulators games
MAINTAINER= beyert@cs.ucr.edu
COMMENT= Standalone port of reicast to libretro
WWW= https://github.com/reicast/reicast-emulator
LICENSE= BSD3CLAUSE GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libao.so:audio/libao \
libasound.so:audio/alsa-lib \
libcurl.so:ftp/curl \
libevdev.so:devel/libevdev \
libpulse.so:audio/pulseaudio \
libudev.so:devel/libudev-devd
USES= cmake compiler gl xorg
USE_GCC= yes
USE_LDCONFIG= yes
CMAKE_ARGS= -DLIBRETRO_CORE=ON \
-DOPENGL_EGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/EGL \
-DOPENGL_GLX_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \
-DOPENGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \
-DOPENGL_opengl_LIBRARY:PATH=${LOCALBASE}/lib/libGL.so
CXXFLAGS+= -Wno-c++11-extensions
USE_GITHUB= yes
GH_ACCOUNT= reicast
GH_PROJECT= reicast-emulator
GH_TAGNAME= 0bd6ea3
USE_GL= egl gbm gl
PLIST_FILES= lib/libretro/reicast_libretro.so
do-install:
@${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
${INSTALL_LIB} ${WRKDIR}/.build/libreicast.so \
${STAGEDIR}/${PREFIX}/lib/libretro/reicast_libretro.so;
.include <bsd.port.mk>
|