pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-mgba



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jan 26 12:59:21 UTC 2020

Modified Files:
        pkgsrc/emulators/libretro-mgba: Makefile distinfo
        pkgsrc/emulators/libretro-mgba/patches: patch-CMakeLists.txt

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/libretro-mgba/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/libretro-mgba/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/emulators/libretro-mgba/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/emulators/libretro-mgba/Makefile
diff -u pkgsrc/emulators/libretro-mgba/Makefile:1.7 pkgsrc/emulators/libretro-mgba/Makefile:1.8
--- pkgsrc/emulators/libretro-mgba/Makefile:1.7 Sun Sep 22 15:19:15 2019
+++ pkgsrc/emulators/libretro-mgba/Makefile     Sun Jan 26 12:59:20 2020
@@ -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 @@ COMMENT=     Libretro core based on the mGBA
 LICENSE=       mpl-2.0
 
 EXTRACT_USING= bsdtar
-USE_TOOLS+=    pkg-config
+
 USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
 
 WRKSRC=                ${WRKDIR}/mgba-${PKGVERSION_NOREV}
 
@@ -34,6 +36,8 @@ CMAKE_ARGS+=  -DUSE_EPOXY=OFF
 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 @@ INSTALLATION_DIRS+=  ${PREFIX}/lib/libret
 # 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"

Index: pkgsrc/emulators/libretro-mgba/distinfo
diff -u pkgsrc/emulators/libretro-mgba/distinfo:1.6 pkgsrc/emulators/libretro-mgba/distinfo:1.7
--- pkgsrc/emulators/libretro-mgba/distinfo:1.6 Sun Sep 22 13:06:39 2019
+++ pkgsrc/emulators/libretro-mgba/distinfo     Sun Jan 26 12:59:20 2020
@@ -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

Index: pkgsrc/emulators/libretro-mgba/patches/patch-CMakeLists.txt
diff -u pkgsrc/emulators/libretro-mgba/patches/patch-CMakeLists.txt:1.3 pkgsrc/emulators/libretro-mgba/patches/patch-CMakeLists.txt:1.4
--- pkgsrc/emulators/libretro-mgba/patches/patch-CMakeLists.txt:1.3     Thu Apr 25 12:44:23 2019
+++ pkgsrc/emulators/libretro-mgba/patches/patch-CMakeLists.txt Sun Jan 26 12:59:21 2020
@@ -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