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 Aug 11 12:57:24 UTC 2018

Modified Files:
        pkgsrc/emulators: Makefile
Added Files:
        pkgsrc/emulators/libretro-desmume: DESCR MESSAGE Makefile PLIST
            distinfo
        pkgsrc/emulators/libretro-desmume/patches:
            patch-desmume_src_frontend_libretro_Makefile.libretro

Log Message:
libretro-desmume: add version 20180807.

Libretro is a simple but powerful development interface that allows for the
easy creation of emulators, games and multimedia applications that can plug
straight into any libretro-compatible frontend. This development interface is
open to others so that they can run these pluggable emulator and game cores
also in their own programs or devices.

DeSmuME is a Nintendo DS emulator.


To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/libretro-desmume/DESCR \
    pkgsrc/emulators/libretro-desmume/MESSAGE \
    pkgsrc/emulators/libretro-desmume/Makefile \
    pkgsrc/emulators/libretro-desmume/PLIST \
    pkgsrc/emulators/libretro-desmume/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-desmume/patches/patch-desmume_src_frontend_libretro_Makefile.libretro

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

Modified files:

Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.263 pkgsrc/emulators/Makefile:1.264
--- pkgsrc/emulators/Makefile:1.263     Sat Aug 11 00:32:25 2018
+++ pkgsrc/emulators/Makefile   Sat Aug 11 12:57:23 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.263 2018/08/11 00:32:25 nia Exp $
+# $NetBSD: Makefile,v 1.264 2018/08/11 12:57:23 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -93,6 +93,7 @@ SUBDIR+=      libretro-beetle-pce-fast
 SUBDIR+=       libretro-beetle-psx
 SUBDIR+=       libretro-core-info
 SUBDIR+=       libretro-database
+SUBDIR+=       libretro-desmume
 SUBDIR+=       libretro-fceumm
 SUBDIR+=       libretro-gambatte
 SUBDIR+=       libretro-glsl-shaders

Added files:

Index: pkgsrc/emulators/libretro-desmume/DESCR
diff -u /dev/null pkgsrc/emulators/libretro-desmume/DESCR:1.1
--- /dev/null   Sat Aug 11 12:57:24 2018
+++ pkgsrc/emulators/libretro-desmume/DESCR     Sat Aug 11 12:57:23 2018
@@ -0,0 +1,7 @@
+Libretro is a simple but powerful development interface that allows for the
+easy creation of emulators, games and multimedia applications that can plug
+straight into any libretro-compatible frontend. This development interface is
+open to others so that they can run these pluggable emulator and game cores
+also in their own programs or devices.
+
+DeSmuME is a Nintendo DS emulator.
Index: pkgsrc/emulators/libretro-desmume/MESSAGE
diff -u /dev/null pkgsrc/emulators/libretro-desmume/MESSAGE:1.1
--- /dev/null   Sat Aug 11 12:57:24 2018
+++ pkgsrc/emulators/libretro-desmume/MESSAGE   Sat Aug 11 12:57:23 2018
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2018/08/11 12:57:23 nia Exp $
+
+This package is not PaX MPROTECT-safe, because of its just-in-time
+compiler.
+
+MPROTECT must be disabled for RetroArch for this core to be usable.
+
+===========================================================================
Index: pkgsrc/emulators/libretro-desmume/Makefile
diff -u /dev/null pkgsrc/emulators/libretro-desmume/Makefile:1.1
--- /dev/null   Sat Aug 11 12:57:24 2018
+++ pkgsrc/emulators/libretro-desmume/Makefile  Sat Aug 11 12:57:23 2018
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2018/08/11 12:57:23 nia Exp $
+
+DISTNAME=      libretro-desmume-20180807
+CATEGORIES=    emulators
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT=        desmume
+GITHUB_TAG=    f546d2dd15c8c8c44907e4332339c36d9f8319d5
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://docs.libretro.com/library/desmume/
+COMMENT=       Libretro core based on the Desmume Nintendo DS emulator
+LICENSE=       gnu-gpl-v2
+
+EXTRACT_USING= bsdtar
+BUILD_DIRS=    desmume/src/frontend/libretro
+MAKE_FILE=     Makefile.libretro
+USE_TOOLS+=    gmake
+USE_LANGUAGES= c c++
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_ARCH:M*arm*)
+CXXFLAGS+=             -marm
+CXXFLAGS+=             -DUSE_POSIX_MEMALIGN -D__RETRO_ARM__
+CXXFLAGS+=             -DARM
+MAKE_FLAGS+=           DESMUME_JIT=0
+MAKE_FLAGS+=           DESMUME_JIT_ARM=1
+.elif !empty(MACHINE_ARCH:M*x86_64*) || !empty(MACHINE_ARCH:M*i386*)
+MAKE_FLAGS+=           DESMUME_JIT=1
+.else
+MAKE_FLAGS+=           DESMUME_JIT=0
+.endif
+
+MAKE_FLAGS+=           GIT_VERSION="-pkgsrc"
+INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
+
+do-install:
+       ${INSTALL_LIB} \
+           ${WRKSRC}/desmume/src/frontend/libretro/desmume_libretro.so \
+           ${DESTDIR}${PREFIX}/lib/libretro/desmume_libretro.so
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/libretro-desmume/PLIST
diff -u /dev/null pkgsrc/emulators/libretro-desmume/PLIST:1.1
--- /dev/null   Sat Aug 11 12:57:24 2018
+++ pkgsrc/emulators/libretro-desmume/PLIST     Sat Aug 11 12:57:23 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/11 12:57:23 nia Exp $
+lib/libretro/desmume_libretro.so
Index: pkgsrc/emulators/libretro-desmume/distinfo
diff -u /dev/null pkgsrc/emulators/libretro-desmume/distinfo:1.1
--- /dev/null   Sat Aug 11 12:57:24 2018
+++ pkgsrc/emulators/libretro-desmume/distinfo  Sat Aug 11 12:57:23 2018
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/08/11 12:57:23 nia Exp $
+
+SHA1 (libretro-desmume-20180807-f546d2dd15c8c8c44907e4332339c36d9f8319d5.tar.gz) = 424bb309d45c6b03fd6f73a092216c2d36693bc3
+RMD160 (libretro-desmume-20180807-f546d2dd15c8c8c44907e4332339c36d9f8319d5.tar.gz) = 214cebd199ff971c9de17230ae0f3eb3ebdaf402
+SHA512 (libretro-desmume-20180807-f546d2dd15c8c8c44907e4332339c36d9f8319d5.tar.gz) = 
18019a58acdd87d6dc811b27c74e425c417188257ec41f135dde9c005668462a089aceed5783434a49e5706cf6c4a504cfaf22cd7e6f356a084091ac91c039eb
+Size (libretro-desmume-20180807-f546d2dd15c8c8c44907e4332339c36d9f8319d5.tar.gz) = 11225998 bytes
+SHA1 (patch-desmume_src_frontend_libretro_Makefile.libretro) = 8d43c8c404e0a828d79ce7d16265e95ec70c4525

Index: pkgsrc/emulators/libretro-desmume/patches/patch-desmume_src_frontend_libretro_Makefile.libretro
diff -u /dev/null pkgsrc/emulators/libretro-desmume/patches/patch-desmume_src_frontend_libretro_Makefile.libretro:1.1
--- /dev/null   Sat Aug 11 12:57:24 2018
+++ pkgsrc/emulators/libretro-desmume/patches/patch-desmume_src_frontend_libretro_Makefile.libretro     Sat Aug 11 12:57:24 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-desmume_src_frontend_libretro_Makefile.libretro,v 1.1 2018/08/11 12:57:24 nia Exp $
+
+Don't pass -O3 unconditionally.
+
+--- desmume/src/frontend/libretro/Makefile.libretro.orig       2018-08-07 06:05:43.000000000 +0000
++++ desmume/src/frontend/libretro/Makefile.libretro
+@@ -451,8 +451,8 @@ else
+         CFLAGS += -O2 -DNDEBUG
+         CXXFLAGS += -O2 -DNDEBUG
+     else
+-        CFLAGS += -O3 -DNDEBUG
+-        CXXFLAGS += -O3 -DNDEBUG
++        CFLAGS += -DNDEBUG
++        CXXFLAGS += -DNDEBUG
+     endif
+ endif
+ 



Home | Main Index | Thread Index | Old Index