pkgsrc-WIP-changes archive

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

libretro-desmume: Update to libretro-desmume-20180303



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sun Mar 4 17:28:05 2018 +0000
Changeset:	577e67559664277a591f48c393f3a551c35d7769

Modified Files:
	libretro-desmume/DESCR
	libretro-desmume/Makefile
	libretro-desmume/distinfo

Log Message:
libretro-desmume: Update to libretro-desmume-20180303

This brings the core several years forward, with many changes &
improvements.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=577e67559664277a591f48c393f3a551c35d7769

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

diffstat:
 libretro-desmume/DESCR    |  2 +-
 libretro-desmume/Makefile | 30 +++++++++++++++---------------
 libretro-desmume/distinfo |  8 ++++----
 3 files changed, 20 insertions(+), 20 deletions(-)

diffs:
diff --git a/libretro-desmume/DESCR b/libretro-desmume/DESCR
index 8290bc6d1b..ce33a98021 100644
--- a/libretro-desmume/DESCR
+++ b/libretro-desmume/DESCR
@@ -4,4 +4,4 @@ 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.
+DeSmuME is a Nintendo DS emulator.
diff --git a/libretro-desmume/Makefile b/libretro-desmume/Makefile
index cc89df58ef..a2c764d4ff 100644
--- a/libretro-desmume/Makefile
+++ b/libretro-desmume/Makefile
@@ -1,39 +1,39 @@
 # $NetBSD$
 
-DISTNAME=	libretro-desmume-20170211
+DISTNAME=	libretro-desmume-20180303
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT=	desmume
+GITHUB_TAG=	d0d804c21166aa2f0dd8c13be2ef1f0ef681a3c9
 
 HOMEPAGE=	https://docs.libretro.com/library/desmume/
 COMMENT=	Libretro core based on the Desmume Nintendo DS emulator
 LICENSE=	gnu-gpl-v2
 
-GITHUB_PROJECT=	desmume
-GITHUB_TAG=	63ed05bbf02fa841adbdfd158cdc96033b48ddc0
-
-WRKSRC=		${WRKDIR}/desmume-${GITHUB_TAG}/desmume
-
-USE_TOOLS+=	gmake
-
+BUILD_DIRS=	desmume/src/frontend/libretro
 MAKE_FILE=	Makefile.libretro
-
+USE_TOOLS+=	gmake
 USE_LANGUAGES=	c c++
 
 .include "../../mk/bsd.fast.prefs.mk"
 
-ONLY_FOR_PLATFORM=	*-*-i386 *-*-x86_64 *-*-*arm*
-
 .if !empty(MACHINE_ARCH:M*arm*)
 CXXFLAGS+=		-marm
-BUILD_MAKE_FLAGS+=	DESMUME_JIT=0
-BUILD_MAKE_FLAGS+=	DESMUME_JIT_ARM=1
+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
 .endif
 
-BUILD_MAKE_FLAGS+=	GIT_VERSION="-pkgsrc"
+MAKE_FLAGS+=		GIT_VERSION="-pkgsrc"
 INSTALLATION_DIRS+=	${PREFIX}/lib/libretro
 
 do-install:
-	${INSTALL_LIB} ${WRKSRC}/desmume_libretro.so \
+	${INSTALL_LIB} \
+	    ${WRKSRC}/desmume/src/frontend/libretro/desmume_libretro.so \
 	    ${DESTDIR}${PREFIX}/lib/libretro/desmume_libretro.so
 
+.include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/libretro-desmume/distinfo b/libretro-desmume/distinfo
index beeb7f4b49..bdb4671b94 100644
--- a/libretro-desmume/distinfo
+++ b/libretro-desmume/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (libretro-desmume-20170211-63ed05bbf02fa841adbdfd158cdc96033b48ddc0.tar.gz) = 500488e2e95592229ea9dbcbba0b96a0314c1533
-RMD160 (libretro-desmume-20170211-63ed05bbf02fa841adbdfd158cdc96033b48ddc0.tar.gz) = f1c9e2ec2227c7a07ecd720c582bc998cc2587a4
-SHA512 (libretro-desmume-20170211-63ed05bbf02fa841adbdfd158cdc96033b48ddc0.tar.gz) = 562b5958b63a5eca253127956af64ae285b45a4e676956861b79b0b66f34d3af81db978c1836983f80d68c9a309e480da20afc1218964062c11372c5ba114c07
-Size (libretro-desmume-20170211-63ed05bbf02fa841adbdfd158cdc96033b48ddc0.tar.gz) = 1372507 bytes
+SHA1 (libretro-desmume-20180303-d0d804c21166aa2f0dd8c13be2ef1f0ef681a3c9.tar.gz) = 1fc2e5b8b7e3ad7de092b82a18073ce1fc6e439f
+RMD160 (libretro-desmume-20180303-d0d804c21166aa2f0dd8c13be2ef1f0ef681a3c9.tar.gz) = bfa4d77ad10a5ff8b869e611520618f343d59433
+SHA512 (libretro-desmume-20180303-d0d804c21166aa2f0dd8c13be2ef1f0ef681a3c9.tar.gz) = 12e8393cf2fb3bdefca07042ff6130abbc463711d25d938be970b3b39ac1e7e4c0cb51a7edde04c0a2472c764d3592f5e4f6adf988d4b70810cfee6b9bf95810
+Size (libretro-desmume-20180303-d0d804c21166aa2f0dd8c13be2ef1f0ef681a3c9.tar.gz) = 11185317 bytes


Home | Main Index | Thread Index | Old Index