8e75a21b8f
Version 0.13.6 This version is backwards compatible with save states from SameBoy 0.11.x and newer. New/Improved Features * Prevent SameBoy from asking for notification permissions until that feature is needed by an HuC-3 game * Improved user interface on macOS Big Sur * The SDL frontend now has the ability change the default window size Bug Fixes * Fixed a bug that caused the Quick Look previews to include a border on macOS Big Sur * Fixed a bug where the RTC might drift when loading older saves or states, or when pausing SameBoy for a long time
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2020/08/30 12:50:49 nia Exp $
|
|
|
|
.include "Makefile.common"
|
|
|
|
MAINTAINER= nia@NetBSD.org
|
|
HOMEPAGE= https://sameboy.github.io/
|
|
COMMENT= Highly accurate Game Boy and Game Boy Color emulator
|
|
|
|
BUILD_TARGET= sdl
|
|
|
|
MAKE_FLAGS+= DATA_DIR=${PREFIX}/share/sameboy/
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
INSTALLATION_DIRS+= share/doc/sameboy
|
|
INSTALLATION_DIRS+= share/sameboy
|
|
INSTALLATION_DIRS+= share/sameboy/Shaders
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/build/bin/SDL && ${INSTALL_PROGRAM} sameboy \
|
|
${DESTDIR}${PREFIX}/bin/sameboy
|
|
cd ${WRKSRC}/build/bin/SDL && ${INSTALL_DATA} *.bin *.sym *.bmp \
|
|
${DESTDIR}${PREFIX}/share/sameboy
|
|
cd ${WRKSRC}/build/bin/SDL && ${INSTALL_DATA} LICENSE \
|
|
${DESTDIR}${PREFIX}/share/doc/sameboy
|
|
cd ${WRKSRC}/build/bin/SDL/Shaders && ${INSTALL_DATA} *.fsh \
|
|
${DESTDIR}${PREFIX}/share/sameboy/Shaders
|
|
|
|
.include "../../devel/SDL2/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
|
|
.include "../../mk/bsd.pkg.mk"
|