2db27f0134
Gambatte is an accuracy-focused, open-source, cross-platform Game Boy / Game Boy Color emulator written in C++. It is based on hundreds of corner case hardware tests, as well as previous documentation and reverse engineering efforts.
30 lines
809 B
Makefile
30 lines
809 B
Makefile
# $NetBSD: options.mk,v 1.1.1.1 2009/01/03 18:45:45 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gambatte
|
|
PKG_SUPPORTED_OPTIONS= qt
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS= qt
|
|
|
|
.if !empty(PKG_OPTIONS:Mqt)
|
|
# does not work well without GL:
|
|
# Xlib: extension "GLX" missing on display ":0.0".
|
|
# QGLContext::makeCurrent(): Cannot make invalid context current.
|
|
# Segmentation fault (core dumped)
|
|
PLIST.qt= yes
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/gambatte_qt && \
|
|
${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE}
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gambatte_qt/bin/gambatte_qt \
|
|
${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
.include "../../x11/qt4-tools/buildlink3.mk"
|
|
.include "../../x11/libXv/buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.endif
|