pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat May 30 15:12:46 UTC 2020

Modified Files:
        pkgsrc/emulators/libretro-nestopia: Makefile
        pkgsrc/emulators/libretro-sameboy: Makefile
        pkgsrc/emulators/libretro-stella: Makefile

Log Message:
libretro-*: core.mk'ify upstream cores


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/libretro-nestopia/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/libretro-sameboy/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/libretro-stella/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/libretro-nestopia/Makefile
diff -u pkgsrc/emulators/libretro-nestopia/Makefile:1.7 pkgsrc/emulators/libretro-nestopia/Makefile:1.8
--- pkgsrc/emulators/libretro-nestopia/Makefile:1.7     Tue May 26 09:45:15 2020
+++ pkgsrc/emulators/libretro-nestopia/Makefile Sat May 30 15:12:46 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/05/26 09:45:15 nia Exp $
+# $NetBSD: Makefile,v 1.8 2020/05/30 15:12:46 nia Exp $
 
 .include "../../emulators/nestopia/Makefile.common"
 
@@ -10,22 +10,9 @@ COMMENT=     Libretro core based on the Nest
 
 BUILD_DIRS=    libretro
 
-USE_TOOLS+=    gmake
-
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
-
-MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
+LIBRETRO_CORE= nestopia
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,-version-script=link.T
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,-no-undefined
-
-INSTALLATION_DIRS+=    lib/libretro
-
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/libretro/nestopia_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/nestopia_libretro.so
 
+.include "../../emulators/retroarch/core.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/emulators/libretro-sameboy/Makefile
diff -u pkgsrc/emulators/libretro-sameboy/Makefile:1.6 pkgsrc/emulators/libretro-sameboy/Makefile:1.7
--- pkgsrc/emulators/libretro-sameboy/Makefile:1.6      Tue May 26 09:45:16 2020
+++ pkgsrc/emulators/libretro-sameboy/Makefile  Sat May 30 15:12:46 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/05/26 09:45:16 nia Exp $
+# $NetBSD: Makefile,v 1.7 2020/05/30 15:12:46 nia Exp $
 
 .include "../../emulators/sameboy/Makefile.common"
 
@@ -10,17 +10,7 @@ COMMENT=     Libretro core based on the Same
 
 BUILD_DIRS=    libretro
 
-MAKE_FLAGS+=   GIT_VERSION="${PKGVERSION}-pkgsrc"
-
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
-
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/build/bin/sameboy_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro
+LIBRETRO_CORE= sameboy
 
+.include "../../emulators/retroarch/core.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/emulators/libretro-stella/Makefile
diff -u pkgsrc/emulators/libretro-stella/Makefile:1.6 pkgsrc/emulators/libretro-stella/Makefile:1.7
--- pkgsrc/emulators/libretro-stella/Makefile:1.6       Tue May 26 11:35:46 2020
+++ pkgsrc/emulators/libretro-stella/Makefile   Sat May 30 15:12:46 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/05/26 11:35:46 nia Exp $
+# $NetBSD: Makefile,v 1.7 2020/05/30 15:12:46 nia Exp $
 
 .include "../../emulators/stella/Makefile.common"
 
@@ -10,24 +10,11 @@ COMMENT=    Libretro core based on the Stel
 
 BUILD_DIRS=    src/libretro
 
-USE_TOOLS+=    gmake
-
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
-
-MAKE_FLAGS+=   GIT_VERSION="-${PKGVERSION_NOREV}-pkgsrc"
-MAKE_FLAGS+=   LTO=
+LIBRETRO_CORE= stella
 
 # Should not be combined with -fPIC
 BUILDLINK_TRANSFORM+=  rm:-static-libgcc
 BUILDLINK_TRANSFORM+=  rm:-static-libstdc++
 
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/src/libretro/stella_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/stella_libretro.so
-
+.include "../../emulators/retroarch/core.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index