summaryrefslogtreecommitdiff
path: root/emulators/melonds
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/melonds')
-rw-r--r--emulators/melonds/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/melonds/Makefile b/emulators/melonds/Makefile
index 8ece12918e1..b84b874fb3a 100644
--- a/emulators/melonds/Makefile
+++ b/emulators/melonds/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/09/08 21:05:01 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/09/22 12:57:49 nia Exp $
DISTNAME= melonDS-0.8.3
PKGNAME= ${DISTNAME:S/DS/ds/}
@@ -28,6 +28,11 @@ INSTALLATION_DIRS+= share/applications
INSTALLATION_DIRS+= share/icons/hicolor/${s}x${s}/apps
.endfor
+.include "../../graphics/MesaLib/features.mk"
+.if ${MESALIB_SUPPORTS_EGL:tl} == "no"
+PKG_FAIL_REASON+= "Requires EGL support in Mesa"
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/flatpak/net.kuribo64.melonds.desktop \
${DESTDIR}${PREFIX}/share/applications