Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-ppsspp libretro-ppsspp: Don't assum...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d1c306a7cf1
branches:  trunk
changeset: 434225:5d1c306a7cf1
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jun 13 10:45:19 2020 +0000

description:
libretro-ppsspp: Don't assume ARM is rpi, bringing in line with other cores.

diffstat:

 emulators/libretro-ppsspp/options.mk |  30 +++++++++++-------------------
 1 files changed, 11 insertions(+), 19 deletions(-)

diffs (52 lines):

diff -r 730e405651dd -r 5d1c306a7cf1 emulators/libretro-ppsspp/options.mk
--- a/emulators/libretro-ppsspp/options.mk      Sat Jun 13 10:43:15 2020 +0000
+++ b/emulators/libretro-ppsspp/options.mk      Sat Jun 13 10:45:19 2020 +0000
@@ -1,24 +1,20 @@
-# $NetBSD: options.mk,v 1.1 2018/08/14 12:55:41 nia Exp $
+# $NetBSD: options.mk,v 1.2 2020/06/13 10:45:19 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.libretro-ppsspp
-PKG_OPTIONS_REQUIRED_GROUPS=   graphics
-PKG_OPTIONS_GROUP.graphics=    opengl
+PKG_OPTIONS_REQUIRED_GROUPS=   gl
+PKG_OPTIONS_GROUP.gl=          opengl
 
 .include "../../mk/bsd.fast.prefs.mk"
 
-.if !empty(MACHINE_ARCH:Mearm*)
-PKG_OPTIONS_GROUP.graphics+=   rpi
+.if !empty(MACHINE_ARCH:Mearm*) && ${OPSYS} == "NetBSD"
+PKG_OPTIONS_GROUP.gl+= rpi
 .endif
 
-.if !empty(MACHINE_ARCH:Mearm*) && ${OPSYS} == "NetBSD"
-PKG_SUGGESTED_OPTIONS+=                rpi
-.else
-PKG_SUGGESTED_OPTIONS+=                opengl
-.endif
+PKG_SUGGESTED_OPTIONS+=        opengl
 
-.if ${MACHINE_ARCH} == "earmv7hf" || ${MACHINE_ARCH} == "earmv7hfeb"
-PKG_SUPPORTED_OPTIONS+=                simd
-PKG_SUGGESTED_OPTIONS+=                simd
+.if ${MACHINE_ARCH} == "earmv7hf"
+PKG_SUPPORTED_OPTIONS+=        simd
+PKG_SUGGESTED_OPTIONS+=        simd
 .endif
 
 .include "../../mk/bsd.options.mk"
@@ -29,12 +25,8 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Mrpi)
-BUILD_MAKE_FLAGS+=     platform=rpi
-SUBST_CLASSES+=                vc
-SUBST_STAGE.vc=                pre-configure
-SUBST_MESSAGE.vc=      Fixing path to VideoCore libraries.
-SUBST_FILES.vc=                libretro/Makefile
-SUBST_SED.vc+=         -e 's;/opt/vc;${PREFIX};g'
+MAKE_FLAGS+=   GLES=1
+MAKE_FLAGS+=   GL_LIB="-lbrcmGLESv2"
 .include "../../misc/raspberrypi-userland/buildlink3.mk"
 .elif !empty(PKG_OPTIONS:Mopengl)
 .include "../../graphics/MesaLib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index