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: convert to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f5f7f232688a
branches:  trunk
changeset: 433229:f5f7f232688a
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 31 18:51:00 2020 +0000

description:
libretro-ppsspp: convert to core.mk

diffstat:

 emulators/libretro-ppsspp/Makefile |  20 +++-----------------
 1 files changed, 3 insertions(+), 17 deletions(-)

diffs (51 lines):

diff -r 9686ff10abdd -r f5f7f232688a emulators/libretro-ppsspp/Makefile
--- a/emulators/libretro-ppsspp/Makefile        Sun May 31 18:36:29 2020 +0000
+++ b/emulators/libretro-ppsspp/Makefile        Sun May 31 18:51:00 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/05/26 09:45:16 nia Exp $
+# $NetBSD: Makefile,v 1.7 2020/05/31 18:51:00 nia Exp $
 
 PKGNAME=       libretro-ppsspp-1.7.5
 CATEGORIES=    emulators
@@ -34,13 +34,9 @@
 WRKSRC=                ${WRKDIR}/ppsspp-${PKGVERSION_NOREV}
 BUILD_DIRS=    libretro
 
-USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++11
 
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
+LIBRETRO_CORE= ppsspp
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -55,25 +51,15 @@
 MAKE_FLAGS+=           TARGET_ARCH=x86
 .endif
 
-MAKE_FLAGS+=           GIT_VERSION="${PKGVERSION}-pkgsrc"
-
 LDFLAGS+=              ${BUILDLINK_LDADD.libexecinfo}
 
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
 post-extract:
        ${MV} ${WRKDIR}/armips-${ARMIPS_TAG}/* ${WRKSRC}/ext/armips
        ${MV} ${WRKDIR}/glslang-${GLSLANG_TAG}/* ${WRKSRC}/ext/glslang
        ${MV} ${WRKDIR}/SPIRV-Cross-${SPRIV_TAG}/* ${WRKSRC}/ext/SPIRV-Cross
 
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/libretro/ppsspp_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/ppsspp_libretro.so
-
 .include "options.mk"
+.include "../../emulators/retroarch/core.mk"
 .include "../../devel/libexecinfo/buildlink3.mk"
 .include "../../multimedia/ffmpeg4/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/dlopen.buildlink3.mk"
-BUILDLINK_TRANSFORM+=   opt:-ldl:${BUILDLINK_LDADD.dl:Q}
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index