Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators libretro-*: core.mk'ify upstream cores



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a58808bafd34
branches:  trunk
changeset: 433068:a58808bafd34
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 30 15:12:46 2020 +0000

description:
libretro-*: core.mk'ify upstream cores

diffstat:

 emulators/libretro-nestopia/Makefile |  19 +++----------------
 emulators/libretro-sameboy/Makefile  |  16 +++-------------
 emulators/libretro-stella/Makefile   |  19 +++----------------
 3 files changed, 9 insertions(+), 45 deletions(-)

diffs (99 lines):

diff -r de02aea66846 -r a58808bafd34 emulators/libretro-nestopia/Makefile
--- a/emulators/libretro-nestopia/Makefile      Sat May 30 15:04:26 2020 +0000
+++ b/emulators/libretro-nestopia/Makefile      Sat May 30 15:12:46 2020 +0000
@@ -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 @@
 
 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"
diff -r de02aea66846 -r a58808bafd34 emulators/libretro-sameboy/Makefile
--- a/emulators/libretro-sameboy/Makefile       Sat May 30 15:04:26 2020 +0000
+++ b/emulators/libretro-sameboy/Makefile       Sat May 30 15:12:46 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/30 15:12:46 nia Exp $
 
 .include "../../emulators/sameboy/Makefile.common"
 
@@ -10,17 +10,7 @@
 
 BUILD_DIRS=    libretro
 
-MAKE_FLAGS+=   GIT_VERSION="${PKGVERSION}-pkgsrc"
-
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
+LIBRETRO_CORE= sameboy
 
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/build/bin/sameboy_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro
-
+.include "../../emulators/retroarch/core.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r de02aea66846 -r a58808bafd34 emulators/libretro-stella/Makefile
--- a/emulators/libretro-stella/Makefile        Sat May 30 15:04:26 2020 +0000
+++ b/emulators/libretro-stella/Makefile        Sat May 30 15:12:46 2020 +0000
@@ -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 @@
 
 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