pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/melonds melonds: Requires EGL support in Mesa



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb71f7ecde52
branches:  trunk
changeset: 458887:cb71f7ecde52
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Sep 22 12:57:49 2021 +0000

description:
melonds: Requires EGL support in Mesa

diffstat:

 emulators/melonds/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 377e551f061c -r cb71f7ecde52 emulators/melonds/Makefile
--- a/emulators/melonds/Makefile        Wed Sep 22 12:54:04 2021 +0000
+++ b/emulators/melonds/Makefile        Wed Sep 22 12:57:49 2021 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index