summaryrefslogtreecommitdiff
path: root/emulators/melonds
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-09-22 12:57:49 +0000
committernia <nia@pkgsrc.org>2021-09-22 12:57:49 +0000
commit7d5c84bd14ca67bae6921804e0da5863ec2713c3 (patch)
tree258437b62f5bb65e32a4c1305310ccd15d9c0604 /emulators/melonds
parent3e45f81056e9df45a93d4f75deca2df01db3d246 (diff)
downloadpkgsrc-7d5c84bd14ca67bae6921804e0da5863ec2713c3.tar.gz
melonds: Requires EGL support in Mesa
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