pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-mgba libretro-mgba: Remembering to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d7392a0614e
branches:  trunk
changeset: 422415:4d7392a0614e
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jan 26 12:59:20 2020 +0000

description:
libretro-mgba: Remembering to commit the 0.8.0 update might be good.

diffstat:

 emulators/libretro-mgba/Makefile                     |  14 ++++++++++----
 emulators/libretro-mgba/distinfo                     |  12 ++++++------
 emulators/libretro-mgba/patches/patch-CMakeLists.txt |  18 +++---------------
 3 files changed, 19 insertions(+), 25 deletions(-)

diffs (94 lines):

diff -r 1d53d66db1ed -r 4d7392a0614e emulators/libretro-mgba/Makefile
--- a/emulators/libretro-mgba/Makefile  Sun Jan 26 12:57:33 2020 +0000
+++ b/emulators/libretro-mgba/Makefile  Sun Jan 26 12:59:20 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2019/09/22 15:19:15 nia Exp $
+# $NetBSD: Makefile,v 1.8 2020/01/26 12:59:20 nia Exp $
 
-DISTNAME=      libretro-mgba-0.7.3
-PKGREVISION=   1
+DISTNAME=      mgba-0.8.0
+PKGNAME=       libretro-${DISTNAME}
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mgba-emu/}
 GITHUB_PROJECT=        mgba
@@ -12,8 +12,10 @@
 LICENSE=       mpl-2.0
 
 EXTRACT_USING= bsdtar
+
+USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
-USE_CMAKE=     yes
+USE_LANGUAGES= c c++
 
 WRKSRC=                ${WRKDIR}/mgba-${PKGVERSION_NOREV}
 
@@ -34,6 +36,8 @@
 CMAKE_ARGS+=   -DBUILD_QT=OFF
 CMAKE_ARGS+=   -DBUILD_SDL=OFF
 CMAKE_ARGS+=   -DBUILD_GL=OFF
+CMAKE_ARGS+=   -DBUILD_GLES2=OFF
+CMAKE_ARGS+=   -DBUILD_GLES3=OFF
 
 CMAKE_ARGS+=   -DBUILD_LIBRETRO=ON
 CMAKE_ARGS+=   -DSKIP_LIBRARY=ON
@@ -44,8 +48,10 @@
 # Avoid conflicting with emulators/mgba.
 post-install:
        ${RM} -rf ${DESTDIR}${PREFIX}/include/mgba
+       ${RM} -rf ${DESTDIR}${PREFIX}/include/mgba-util
        ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/mGBA
 
 .include "../../devel/libelf/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1d53d66db1ed -r 4d7392a0614e emulators/libretro-mgba/distinfo
--- a/emulators/libretro-mgba/distinfo  Sun Jan 26 12:57:33 2020 +0000
+++ b/emulators/libretro-mgba/distinfo  Sun Jan 26 12:59:20 2020 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.6 2019/09/22 13:06:39 nia Exp $
+$NetBSD: distinfo,v 1.7 2020/01/26 12:59:20 nia Exp $
 
-SHA1 (libretro-mgba-0.7.3.tar.gz) = 4e265b8332d9ddf0bffc800a3727ce406eaa984a
-RMD160 (libretro-mgba-0.7.3.tar.gz) = 4f9869af512e2621d4b403ac875e62edc1010adc
-SHA512 (libretro-mgba-0.7.3.tar.gz) = 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789
-Size (libretro-mgba-0.7.3.tar.gz) = 11228977 bytes
-SHA1 (patch-CMakeLists.txt) = c248f6efc67327667c409264b4e4a00720043a0e
+SHA1 (mgba-0.8.0.tar.gz) = b7d03be1715f6e14de1c748357171e72e78d7181
+RMD160 (mgba-0.8.0.tar.gz) = 24e8f0a8513872cf0162f47bbc6fd1ef03a6660e
+SHA512 (mgba-0.8.0.tar.gz) = 47a267f7998535bbbe1fafb6e2a4d708bdafe9601f7bd50f16f37d79d78a991d49d360a2a571fc6b09ddd21450244a8c0bc37aa08d5e38b4896c25cc6f615bb2
+Size (mgba-0.8.0.tar.gz) = 11797469 bytes
+SHA1 (patch-CMakeLists.txt) = 24514d9f72b86dd91a4ee7116f446fd0aae68475
 SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
 SHA1 (patch-version.cmake) = 7d6d44febe7bb0ff2231452f037def7cb3782e21
diff -r 1d53d66db1ed -r 4d7392a0614e emulators/libretro-mgba/patches/patch-CMakeLists.txt
--- a/emulators/libretro-mgba/patches/patch-CMakeLists.txt      Sun Jan 26 12:57:33 2020 +0000
+++ b/emulators/libretro-mgba/patches/patch-CMakeLists.txt      Sun Jan 26 12:59:20 2020 +0000
@@ -1,22 +1,10 @@
-$NetBSD: patch-CMakeLists.txt,v 1.3 2019/04/25 12:44:23 nia Exp $
-
-Avoid checking for a C++ compiler, since C++ isn't required for a
-libretro build.
+$NetBSD: patch-CMakeLists.txt,v 1.4 2020/01/26 12:59:21 nia Exp $
 
 Fix locale detection.
 
---- CMakeLists.txt.orig        2019-02-25 01:33:16.000000000 +0000
+--- CMakeLists.txt.orig        2020-01-22 02:17:11.000000000 +0000
 +++ CMakeLists.txt
-@@ -5,7 +5,7 @@ endif()
- if(POLICY CMP0072)
-       cmake_policy(SET CMP0072 NEW)
- endif()
--project(mGBA)
-+project(mGBA C)
- set(BINARY_NAME mgba CACHE INTERNAL "Name of output binaries")
- if(NOT MSVC)
-       set(GCC_STD "c99")
-@@ -391,7 +391,9 @@ if(HAVE_LOCALTIME_R)
+@@ -360,7 +360,9 @@ if(HAVE_LOCALTIME_R)
        list(APPEND FUNCTION_DEFINES HAVE_LOCALTIME_R)
  endif()
  



Home | Main Index | Thread Index | Old Index