90e37a90e6
0.8.2: (2020-06-14) Emulation fixes: - ARM: Fix timing on Thumb shift instructions - GB: Fix GBC game registers after skipping BIOS - GB MBC: Support 4MB MBC30 ROMs (fixes mgba.io/i/1713) - GB Video: Fix BGPS value after skipping BIOS (fixes mgba.io/i/1717) - GBA: Add missing RTC overrides for Legendz games - GBA BIOS: Reset renderer when RegisterRamReset called (fixes mgba.io/i/1756) - GBA SIO: Fix Multiplayer busy bit - GBA SIO: Fix double-unloading active driver - GBA Timers: Fix deserializing count-up timers - GBA Video: Fix mosaic objects drawing past the end (fixes mgba.io/i/1702) - GBA Video: Fix disabling OBJWIN in GL renderer (fixes mgba.io/i/1759) - GBA Video: Add missing parts of 256-color mode 0 mosaic (fixes mgba.io/i/1701) - GBA Video: Fix double-size OBJ wrapping in GL renderer (fixes mgba.io/i/1712) - GBA Video: Simplify sprite cycle counting (fixes mgba.io/i/1279) - GBA Video: Fix sprite/backdrop blending regression
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2020/06/19 13:34:33 nia Exp $
|
|
|
|
DISTNAME= mgba-0.8.2
|
|
PKGNAME= libretro-${DISTNAME}
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mgba-emu/}
|
|
GITHUB_PROJECT= mgba
|
|
|
|
MAINTAINER= nia@NetBSD.org
|
|
HOMEPAGE= https://docs.libretro.com/library/mgba/
|
|
COMMENT= Libretro core based on the mGBA emulator
|
|
LICENSE= mpl-2.0
|
|
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_LANGUAGES= c c++
|
|
|
|
OPSYSVARS+= SOEXT
|
|
SOEXT.Darwin= dylib
|
|
SOEXT.*= so
|
|
PLIST_SUBST+= SOEXT=${SOEXT}
|
|
|
|
WRKSRC= ${WRKDIR}/mgba-${PKGVERSION_NOREV}
|
|
|
|
CMAKE_ARGS+= -DUSE_DEBUGGERS=OFF
|
|
CMAKE_ARGS+= -DUSE_GDB_STUB=OFF
|
|
|
|
CMAKE_ARGS+= -DUSE_EDITLINE=OFF
|
|
CMAKE_ARGS+= -DUSE_FFMPEG=OFF
|
|
CMAKE_ARGS+= -DUSE_ZLIB=OFF
|
|
CMAKE_ARGS+= -DUSE_MINIZIP=OFF
|
|
CMAKE_ARGS+= -DUSE_PNG=OFF
|
|
CMAKE_ARGS+= -DUSE_LIBZIP=OFF
|
|
CMAKE_ARGS+= -DUSE_MAGICK=OFF
|
|
CMAKE_ARGS+= -DUSE_SQLITE3=OFF
|
|
CMAKE_ARGS+= -DUSE_LZMA=OFF
|
|
CMAKE_ARGS+= -DUSE_EPOXY=OFF
|
|
|
|
CMAKE_ARGS+= -DBUILD_QT=OFF
|
|
CMAKE_ARGS+= -DBUILD_SDL=OFF
|
|
CMAKE_ARGS+= -DBUILD_GL=OFF
|
|
CMAKE_ARGS+= -DBUILD_GLES2=OFF
|
|
CMAKE_ARGS+= -DBUILD_GLES3=OFF
|
|
|
|
CMAKE_ARGS+= -DBUILD_LIBRETRO=ON
|
|
CMAKE_ARGS+= -DSKIP_LIBRARY=ON
|
|
CMAKE_ARGS+= -DLIBRETRO_LIBDIR=${PREFIX}/lib/libretro
|
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
|
|
|
|
# Avoid conflicting with emulators/mgba.
|
|
post-install:
|
|
${RM} -rf ${DESTDIR}${PREFIX}/include/mgba
|
|
${RM} -rf ${DESTDIR}${PREFIX}/include/mgba-util
|
|
${RM} -rf ${DESTDIR}${PREFIX}/share/doc/mGBA
|
|
|
|
.include "../../devel/libelf/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|