Lines 1-14
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= mgba |
3 |
PORTNAME= mgba |
4 |
DISTVERSION= 0.6.1 |
4 |
DISTVERSION= 0.7.0 |
5 |
PORTREVISION= 7 |
|
|
6 |
CATEGORIES= emulators |
5 |
CATEGORIES= emulators |
7 |
|
6 |
|
8 |
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ |
|
|
9 |
PATCHFILES= a7a51a11373f.patch:-p1 \ |
10 |
a2b8c4ae807a.patch:-p1 |
11 |
|
12 |
MAINTAINER= greg@unrelenting.technology |
7 |
MAINTAINER= greg@unrelenting.technology |
13 |
COMMENT= Game Boy Advance (GBA) emulator/debugger |
8 |
COMMENT= Game Boy Advance (GBA) emulator/debugger |
14 |
|
9 |
|
Lines 21-27
LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE
Link Here
|
21 |
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ |
16 |
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ |
22 |
libpng.so:graphics/png |
17 |
libpng.so:graphics/png |
23 |
|
18 |
|
24 |
USES= cmake compiler:c++11-lang localbase:ldflags pkgconfig sqlite:3 |
19 |
USES= cmake compiler:c++11-lang localbase:ldflags pkgconfig sqlite:3 gnome gl |
25 |
|
20 |
|
26 |
USE_GITHUB= yes |
21 |
USE_GITHUB= yes |
27 |
GH_ACCOUNT= mgba-emu |
22 |
GH_ACCOUNT= mgba-emu |
Lines 39-52
CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING="${DOCSDIR}" \
Link Here
|
39 |
-DBUILD_GLES2:BOOL=OFF |
34 |
-DBUILD_GLES2:BOOL=OFF |
40 |
LDFLAGS+= -Wl,--as-needed # glu |
35 |
LDFLAGS+= -Wl,--as-needed # glu |
41 |
|
36 |
|
42 |
OPTIONS_DEFINE= DEBUGGERS FFMPEG MAGICK QT5 DOCS |
37 |
OPTIONS_DEFINE= DEBUGGERS FFMPEG MAGICK QT5 LIBRETRO DOCS |
43 |
OPTIONS_DEFAULT= DEBUGGERS FFMPEG MAGICK QT5 |
38 |
OPTIONS_DEFAULT= DEBUGGERS FFMPEG MAGICK QT5 LIBRETRO |
44 |
OPTIONS_SUB= yes |
39 |
OPTIONS_SUB= yes |
45 |
|
40 |
|
46 |
DEBUGGERS_DESC= Debugging infrastructure (CLI debugger, GDB remote stub) |
41 |
DEBUGGERS_DESC= Debugging infrastructure (CLI debugger, GDB remote stub) |
47 |
FFMPEG_DESC= FFmpeg video recording support |
42 |
FFMPEG_DESC= FFmpeg video recording support |
48 |
MAGICK_DESC= ImageMagick GIF recording support |
43 |
MAGICK_DESC= ImageMagick GIF recording support |
49 |
QT5_DESC= Qt 5 frontend |
44 |
QT5_DESC= Qt 5 frontend |
|
|
45 |
LIBRETRO_DESC= Libretro core |
50 |
|
46 |
|
51 |
DEBUGGERS_CMAKE_BOOL= USE_DEBUGGERS USE_EDITLINE USE_GDB_STUB |
47 |
DEBUGGERS_CMAKE_BOOL= USE_DEBUGGERS USE_EDITLINE USE_GDB_STUB |
52 |
DEBUGGERS_USES= libedit |
48 |
DEBUGGERS_USES= libedit |
Lines 67-70
QT5_USE= qt=qmake_build,buildtools_build,core,gui,widgets,network,opengl,multime
Link Here
|
67 |
QT5_USES= desktop-file-utils qt:5 |
63 |
QT5_USES= desktop-file-utils qt:5 |
68 |
QT5_VARS= installs_icons=yes |
64 |
QT5_VARS= installs_icons=yes |
69 |
|
65 |
|
|
|
66 |
LIBRETRO_CMAKE_BOOL= BUILD_LIBRETRO |
67 |
LIBRETRO_CMAKE_ON= -DLIBRETRO_LIBDIR=${PREFIX}/lib/libretro |
68 |
|
70 |
.include <bsd.port.mk> |
69 |
.include <bsd.port.mk> |