pkgsrc-WIP-changes archive

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

libretro-mgba: Switch to upstream version 0.5.2



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Thu Jun 29 15:16:27 2017 +0100
Changeset:	75c6a01261421c792a3c0550790bb398c8c1ca5e

Modified Files:
	libretro-mgba/Makefile
	libretro-mgba/PLIST
	libretro-mgba/distinfo
Removed Files:
	libretro-mgba/options.mk
	libretro-mgba/patches/patch-Makefile.libretro

Log Message:
libretro-mgba: Switch to upstream version 0.5.2

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

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

diffstat:
 libretro-mgba/Makefile                        | 37 +++++++++++++++++----------
 libretro-mgba/PLIST                           |  2 ++
 libretro-mgba/distinfo                        |  9 +++----
 libretro-mgba/options.mk                      | 16 ------------
 libretro-mgba/patches/patch-Makefile.libretro | 15 -----------
 5 files changed, 29 insertions(+), 50 deletions(-)

diffs:
diff --git a/libretro-mgba/Makefile b/libretro-mgba/Makefile
index b2970428a3..599c12810f 100644
--- a/libretro-mgba/Makefile
+++ b/libretro-mgba/Makefile
@@ -1,30 +1,39 @@
 # $NetBSD$
 
-DISTNAME=	libretro-mgba-20170329
+DISTNAME=	libretro-mgba-0.5.2
 CATEGORIES=	emulators
-MASTER_SITES=	${MASTER_SITE_GITHUB:=libretro/}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mgba-emu/}
 
-HOMEPAGE=	https://wiki.libretro.com/index.php?title=MGBA
+HOMEPAGE=	https://mgba.io/
 COMMENT=	Libretro core based on the mGBA emulator
 LICENSE=	mpl-2.0
 
 GITHUB_PROJECT=	mgba
-GITHUB_TAG=	1e95e8913a3d98b897573be1f0b5906394671b10
 
-USE_TOOLS=	gmake
+WRKSRC=		${WRKDIR}/mgba-${PKGVERSION_NOREV}
 
-MAKE_FILE=	Makefile.libretro
+USE_CMAKE=	yes
 
-INSTALLATION_DIRS+=	${PREFIX}/lib/libretro
+CMAKE_ARGS+=	-DUSE_CLI_DEBUGGER=OFF
+CMAKE_ARGS+=	-DUSE_GDB_STUB=OFF
+
+CMAKE_ARGS+=	-DUSE_FFMPEG=OFF
+CMAKE_ARGS+=	-DUSE_ZLIB=OFF
+CMAKE_ARGS+=	-DUSE_MINIZIP=OFF
+CMAKE_ARGS+=	-DUSE_PNG=OFF
+CMAKE_ARGS+=	-DUSE_LIBZIP=OFF
+CMAKE_ARGS+=	-DUSE_MAGICK=OFF
+CMAKE_ARGS+=	-DUSE_LZMA=OFF
+CMAKE_ARGS+=	-DUSE_EPOXY=OFF
 
-do-install:
-	${INSTALL_LIB} ${WRKSRC}/mgba_libretro.so \
-	    ${DESTDIR}${PREFIX}/lib/libretro/mgba_libretro.so
+CMAKE_ARGS+=	-DBUILD_QT=OFF
+CMAKE_ARGS+=	-DBUILD_SDL=OFF
+CMAKE_ARGS+=	-DBUILD_GL=OFF
 
-.include "../../mk/bsd.fast.prefs.mk"
+CMAKE_ARGS+=	-DBUILD_LIBRETRO=ON
+CMAKE_ARGS+=	-DSKIP_LIBRARY=ON
+CMAKE_ARGS+=	-DLIBRETRO_LIBDIR=${PREFIX}/lib/libretro
 
-.if !empty(MACHINE_ARCH:M*armv6*) || !empty(MACHINE_ARCH:M*armv7*)
-.include "options.mk"
-.endif
+INSTALLATION_DIRS+=	${PREFIX}/lib/libretro
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/libretro-mgba/PLIST b/libretro-mgba/PLIST
index 9039191963..6348032f64 100644
--- a/libretro-mgba/PLIST
+++ b/libretro-mgba/PLIST
@@ -1,2 +1,4 @@
 @comment $NetBSD$
 lib/libretro/mgba_libretro.so
+share/doc/mGBA/CHANGES
+share/doc/mGBA/README.md
diff --git a/libretro-mgba/distinfo b/libretro-mgba/distinfo
index f6090a11f8..41f8160992 100644
--- a/libretro-mgba/distinfo
+++ b/libretro-mgba/distinfo
@@ -1,9 +1,8 @@
 $NetBSD$
 
-SHA1 (libretro-mgba-20170329-1e95e8913a3d98b897573be1f0b5906394671b10.tar.gz) = a88829f56260928dc6c64cf0409f8fdca00e697c
-RMD160 (libretro-mgba-20170329-1e95e8913a3d98b897573be1f0b5906394671b10.tar.gz) = e09d1f63c24d805f80c8f6174733aad0af1e6a50
-SHA512 (libretro-mgba-20170329-1e95e8913a3d98b897573be1f0b5906394671b10.tar.gz) = e22163068b1c66800cbc52b355f2deb9774cf195a9c6cc6e3ab363467ecf6431f3b546cc43eea7d3076d0fa08dda12be1b99e3fe7b046ae3a4513722e44ef297
-Size (libretro-mgba-20170329-1e95e8913a3d98b897573be1f0b5906394671b10.tar.gz) = 5354237 bytes
-SHA1 (patch-Makefile.libretro) = 3dcd5b1952d3884dae6fbe123093bfff98003a3d
+SHA1 (libretro-mgba-0.5.2.tar.gz) = 22b09272efb13429be89bf468cdcad9ae6fa4379
+RMD160 (libretro-mgba-0.5.2.tar.gz) = 96ec87c5faae7bf1c54f0d0152a78d618fc0a43b
+SHA512 (libretro-mgba-0.5.2.tar.gz) = 8d3ef901bae9b503f8d5afff63c23be9af4b519f86cc6f3656c51374756107e4852bc0472cb7393cb04c8f0ff2f134367a81e32a5ff3dab8ae0c6cbd7d3858da
+Size (libretro-mgba-0.5.2.tar.gz) = 5343635 bytes
 SHA1 (patch-src_util_common.h) = 8fc1fd5d204c0919b924a8461cba27be4751b84d
 SHA1 (patch-src_util_math.h) = a3f7e4412e5df4d2119a13fd9e4122f3d0f6bf23
diff --git a/libretro-mgba/options.mk b/libretro-mgba/options.mk
deleted file mode 100644
index 3bddfd9781..0000000000
--- a/libretro-mgba/options.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD$
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.libretro-mgba
-
-.include "../../mk/bsd.fast.prefs.mk"
-
-.if !empty(MACHINE_ARCH:M*armv6*) || !empty(MACHINE_ARCH:M*armv7*)
-PKG_SUPPORTED_OPTIONS+=	simd
-PKG_SUGGESTED_OPTIONS+=	simd
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Msimd)
-BUILD_MAKE_FLAGS+=	HAVE_NEON=1
-.endif
diff --git a/libretro-mgba/patches/patch-Makefile.libretro b/libretro-mgba/patches/patch-Makefile.libretro
deleted file mode 100644
index 1c82b6d1ff..0000000000
--- a/libretro-mgba/patches/patch-Makefile.libretro
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Has problems on systems that lack uselocale but have locale_t.
-
---- Makefile.libretro.orig	2017-03-29 18:42:18.000000000 +0000
-+++ Makefile.libretro
-@@ -85,7 +85,7 @@ ifneq (,$(findstring unix,$(platform)))
-    TARGET := $(TARGET_NAME)_libretro.so
-    fpic := -fPIC
-    SHARED := -shared -Wl,-version-script=link.T
--   DEFINES += -std=c99 -D_GNU_SOURCE -DHAVE_LOCALE
-+   DEFINES += -std=c99 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DHAVE_SETLOCALE
- 
-    # Raspberry Pi 3
-    ifneq (,$(findstring rpi3,$(platform)))


Home | Main Index | Thread Index | Old Index