Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators emulators: Remove libretro-reicast, replaced...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b35d8b01baaf
branches:  trunk
changeset: 433159:b35d8b01baaf
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 31 15:22:17 2020 +0000

description:
emulators: Remove libretro-reicast, replaced by libretro-flycast

diffstat:

 emulators/Makefile                                                   |    3 +-
 emulators/libretro-reicast/DESCR                                     |    7 -
 emulators/libretro-reicast/MESSAGE                                   |   20 -
 emulators/libretro-reicast/Makefile                                  |   57 -----
 emulators/libretro-reicast/PLIST                                     |    2 -
 emulators/libretro-reicast/distinfo                                  |    9 -
 emulators/libretro-reicast/options.mk                                |   41 ---
 emulators/libretro-reicast/patches/patch-Makefile                    |  111 ----------
 emulators/libretro-reicast/patches/patch-core_hw_sh4_dyna_driver.cpp |   16 -
 emulators/libretro-reicast/patches/patch-core_libretro_common.cpp    |   15 -
 10 files changed, 1 insertions(+), 280 deletions(-)

diffs (truncated from 331 to 300 lines):

diff -r 794ff80c1fbb -r b35d8b01baaf emulators/Makefile
--- a/emulators/Makefile        Sun May 31 15:20:39 2020 +0000
+++ b/emulators/Makefile        Sun May 31 15:22:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.319 2020/05/31 15:20:21 nia Exp $
+# $NetBSD: Makefile,v 1.320 2020/05/31 15:22:17 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -123,7 +123,6 @@
 SUBDIR+=       libretro-picodrive
 SUBDIR+=       libretro-ppsspp
 SUBDIR+=       libretro-prosystem
-SUBDIR+=       libretro-reicast
 SUBDIR+=       libretro-sameboy
 SUBDIR+=       libretro-snes9x
 SUBDIR+=       libretro-snes9x2005
diff -r 794ff80c1fbb -r b35d8b01baaf emulators/libretro-reicast/DESCR
--- a/emulators/libretro-reicast/DESCR  Sun May 31 15:20:39 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-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.
-
-Reicast is a multi-platform Sega Dreamcast emulator.
diff -r 794ff80c1fbb -r b35d8b01baaf emulators/libretro-reicast/MESSAGE
--- a/emulators/libretro-reicast/MESSAGE        Sun May 31 15:20:39 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2019/05/09 23:24:17 nia Exp $
-
-Reicast requires the following BIOS files in order to work:
-
-SHA256 (dc/dc_boot.bin) =
-88d6a666495ad14ab5988d8cb730533cfc94ec2cfd53a7eeda14642ab0d4abf9
-
-SHA256 (dc/dc_flash.bin) =
-dd8b365521a9c08bb4c170da3592212580f7251f35a45d6083774d1c030bc3e3
-
-In retroarch, you'll need to place them in the System Directory.
-
-Alternatively, you can place them in your Content Directory next to the
-software you are going to run.
-
-RetroArch's "glcore" video driver seems to not work. Make sure you're
-using "gl" instead.
-
-===========================================================================
diff -r 794ff80c1fbb -r b35d8b01baaf emulators/libretro-reicast/Makefile
--- a/emulators/libretro-reicast/Makefile       Sun May 31 15:20:39 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2020/05/26 09:45:16 nia Exp $
-
-DISTNAME=      libretro-reicast-20190508
-CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
-GITHUB_PROJECT=        reicast-emulator
-GITHUB_TAG=    8c38fcedbe064f7fbda9c2213fd6987b7d4e4dbc
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://docs.libretro.com/library/reicast/
-COMMENT=       Libretro core based on the Reicast Sega Dreamcast emulator
-LICENSE=       gnu-gpl-v2
-
-USE_TOOLS+=    gmake
-USE_LANGUAGES= c c++11
-
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
-
-MAKE_FLAGS+=   platform=unix
-MAKE_FLAGS+=   HAVE_OPENMP=0
-MAKE_FLAGS+=   HAVE_LTCG=0
-MAKE_FLAGS+=   SINGLE_PREC_FLAGS=1
-MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
-MAKE_FLAGS+=   CC_AS=${AS:Q}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${MACHINE_ARCH} == "x86_64"
-MAKE_FLAGS+=   WITH_DYNAREC=x86_64
-.elif ${MACHINE_ARCH} == "i386"
-MAKE_FLAGS+=   WITH_DYNAREC=x86
-.elif ${MACHINE_ARCH} == "aarch64"
-MAKE_FLAGS+=   WITH_DYNAREC=arm64
-.elif !empty(MACHINE_ARCH:M*arm*)
-CFLAGS+=       -marm
-MAKE_FLAGS+=   WITH_DYNAREC=arm
-.elif !empty(MACHINE_ARCH:M*mips*)
-MAKE_FLAGS+=   WITH_DYNAREC=mips
-.else
-MAKE_FLAGS+=   WITH_DYNAREC=
-.endif
-
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=link.T
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,-no-undefined
-
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/reicast_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/reicast_libretro.so
-
-.include "options.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 794ff80c1fbb -r b35d8b01baaf emulators/libretro-reicast/PLIST
--- a/emulators/libretro-reicast/PLIST  Sun May 31 15:20:39 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
-lib/libretro/reicast_libretro.${SOEXT}
diff -r 794ff80c1fbb -r b35d8b01baaf emulators/libretro-reicast/distinfo
--- a/emulators/libretro-reicast/distinfo       Sun May 31 15:20:39 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.6 2019/12/22 22:24:51 joerg Exp $
-
-SHA1 (libretro-reicast-20190508-8c38fcedbe064f7fbda9c2213fd6987b7d4e4dbc.tar.gz) = e9199c1488c6ea9d1fdaa235d224a084117dcce0
-RMD160 (libretro-reicast-20190508-8c38fcedbe064f7fbda9c2213fd6987b7d4e4dbc.tar.gz) = f48d93863cdb9c28682359b7ea0e2f76814c81ae
-SHA512 (libretro-reicast-20190508-8c38fcedbe064f7fbda9c2213fd6987b7d4e4dbc.tar.gz) = 
65463f18c7e49bda396ee5beb5a1bc39f5c58e047b37ee3857200a97ebb0a0854a2dc79f520ddc5afc0aeebff73baf60e28d79091c8306dbd035715c507f2fc1
-Size (libretro-reicast-20190508-8c38fcedbe064f7fbda9c2213fd6987b7d4e4dbc.tar.gz) = 2613651 bytes
-SHA1 (patch-Makefile) = d8d2e91d0c1705647f76da134cd9cd0661d3ec95
-SHA1 (patch-core_hw_sh4_dyna_driver.cpp) = 6d00a7297f528fe3389a13872095da80200a9013
-SHA1 (patch-core_libretro_common.cpp) = b1291f55ced1dc92087d31270f8bc582c2db6fc5
diff -r 794ff80c1fbb -r b35d8b01baaf emulators/libretro-reicast/options.mk
--- a/emulators/libretro-reicast/options.mk     Sun May 31 15:20:39 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-# $NetBSD: options.mk,v 1.3 2019/05/09 23:24:17 nia Exp $
-
-PKG_OPTIONS_VAR=               PKG_OPTIONS.libretro-reicast
-PKG_OPTIONS_REQUIRED_GROUPS=   graphics
-PKG_OPTIONS_GROUP.graphics=    opengl
-
-.include "../../mk/bsd.fast.prefs.mk"
-
-.if !empty(MACHINE_ARCH:M*arm*)
-PKG_OPTIONS_GROUP.graphics+=   rpi
-.endif
-
-.if !empty(MACHINE_ARCH:Mearm*) && ${OPSYS} == "NetBSD"
-PKG_SUGGESTED_OPTIONS+=                rpi
-.else
-PKG_SUGGESTED_OPTIONS+=                opengl
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mopengl)
-.include "../../graphics/MesaLib/buildlink3.mk"
-# Try to detect which GL versions are supported.
-# OIT requires OpenGL 4.3
-.  if !empty(BUILTIN_VERSION.Mesa)
-MESA_MAJOR_VER=        ${BUILTIN_VERSION.Mesa:C/\..*//gW}
-.    if ${MESA_MAJOR_VER} >= 12
-MAKE_FLAGS+=   HAVE_OIT=1
-.    elif ${MESA_MAJOR_VER} >= 8
-MAKE_FLAGS+=   HAVE_GL3=1
-.    elif ${MESA_MAJOR_VER} >= 7
-MAKE_FLAGS+=   HAVE_GL2=1
-.    endif
-.  else
-MAKE_FLAGS+=   HAVE_GL3=1
-.  endif
-.elif !empty(PKG_OPTIONS:Mrpi)
-MAKE_FLAGS+=   GLES=1
-MAKE_FLAGS+=   GL_LIB="-lbrcmGLESv2"
-.include "../../misc/raspberrypi-userland/buildlink3.mk"
-.endif
diff -r 794ff80c1fbb -r b35d8b01baaf emulators/libretro-reicast/patches/patch-Makefile
--- a/emulators/libretro-reicast/patches/patch-Makefile Sun May 31 15:20:39 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-$NetBSD: patch-Makefile,v 1.4 2019/12/22 22:24:51 joerg Exp $
-
-Don't override pkgsrc-set variables.
-
-Don't make assumptions based on uname.
-
---- Makefile.orig      2019-05-08 14:25:11.000000000 +0000
-+++ Makefile
-@@ -21,48 +21,12 @@ HAVE_CLANG    := 0
- 
- TARGET_NAME   := reicast
- 
--ifeq ($(HAVE_CLANG),1)
--      CXX      = ${CC_PREFIX}clang++
--      CC       = ${CC_PREFIX}clang
--      SHARED   := -fuse-ld=lld
--else
--      CXX      = ${CC_PREFIX}g++
--      CC       = ${CC_PREFIX}gcc
--      SHARED   :=
--endif
--CC_AS    = ${CC_PREFIX}as
--
--MFLAGS   := 
--ASFLAGS  := 
--LDFLAGS  :=
--LDFLAGS_END :=
--INCFLAGS :=
--LIBS     :=
--CFLAGS   := 
--CXXFLAGS :=
--
--GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
- ifneq ($(GIT_VERSION)," unknown")
-       CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
- endif
- 
--UNAME=$(shell uname -a)
--
- LIBRETRO_DIR := .
- 
--# Cross compile ?
--
--ifeq (,$(ARCH))
--      ARCH = $(shell uname -m)
--endif
--
--# Target Dynarec
--WITH_DYNAREC = $(ARCH)
--
--ifeq ($(ARCH), $(filter $(ARCH), i386 i686))
--      WITH_DYNAREC = x86
--endif
--
- ifeq ($(platform),)
-       platform = unix
-       ifeq ($(UNAME),)
-@@ -727,7 +691,7 @@ ifeq ($(HAVE_GL3), 1)
-       CORE_DEFINES += -DHAVE_GL3
- endif
- 
--RZDCY_CFLAGS  += $(CFLAGS) -c $(OPTFLAGS) -frename-registers -ffast-math -ftree-vectorize -fomit-frame-pointer 
-+RZDCY_CFLAGS  += $(CFLAGS) -c -frename-registers -ffast-math -ftree-vectorize -fomit-frame-pointer 
- 
- ifeq ($(WITH_DYNAREC), arm)
-       ifneq (,$(findstring odroid,$(platform)))
-@@ -785,10 +749,6 @@ endif
- 
- RZDCY_CXXFLAGS := $(RZDCY_CFLAGS) -fexceptions -fno-rtti -std=gnu++11
- 
--ifeq (,$(findstring msvc,$(platform)))
--      CORE_DEFINES   += -funroll-loops
--endif
--
- ifeq ($(HAVE_OIT), 1)
-       HAVE_CORE = 1
-       CORE_DEFINES += -DHAVE_OIT -DHAVE_GL4
-@@ -849,7 +809,7 @@ RZDCY_CXXFLAGS += $(CORE_DEFINES)
- CFLAGS         += $(CORE_DEFINES)
- CXXFLAGS       += $(CORE_DEFINES)
- 
--CFLAGS   += $(OPTFLAGS) -c
-+CFLAGS   += -c
- CFLAGS   += -fno-strict-aliasing -ffast-math
- CXXFLAGS += -fno-rtti -fpermissive -fno-operator-names
- LIBS     += -lm 
-@@ -897,20 +857,20 @@ $(TARGET): $(OBJECTS)
- ifeq ($(STATIC_LINKING), 1)
-       $(AR) rcs $@ $(OBJECTS)
- else
--      $(LD) $(MFLAGS) $(fpic) $(SHARED) $(LDFLAGS) $(OBJECTS) $(LDFLAGS_END) $(GL_LIB) $(LIBS) -o $@
-+      $(CXX) $(fpic) $(SHARED) $(LDFLAGS) $(OBJECTS) $(LDFLAGS_END) $(GL_LIB) $(LIBS) -o $@
- endif
- 
- %.o: %.cpp
--      $(CXX) $(INCFLAGS) $(CFLAGS) $(MFLAGS) $(CXXFLAGS) $< -o $@
-+      $(CXX) $(INCFLAGS) $(CFLAGS) $(CXXFLAGS) $< -o $@
-       
- %.o: %.c
--      $(CC) $(INCFLAGS) $(CFLAGS) $(MFLAGS) $< -o $@
-+      $(CC) $(INCFLAGS) $(CFLAGS) $< -o $@
- 
- %.o: %.S
-       $(CC_AS) $(ASFLAGS) $(INCFLAGS) $< -o $@
- 
- %.o: %.cc
--      $(CXX) $(INCFLAGS) $(CFLAGS) $(MFLAGS) $(CXXFLAGS) $< -o $@
-+      $(CXX) $(INCFLAGS) $(CFLAGS) $(CXXFLAGS) $< -o $@
- 
- clean:
-       rm -f $(OBJECTS) $(TARGET)
diff -r 794ff80c1fbb -r b35d8b01baaf emulators/libretro-reicast/patches/patch-core_hw_sh4_dyna_driver.cpp
--- a/emulators/libretro-reicast/patches/patch-core_hw_sh4_dyna_driver.cpp      Sun May 31 15:20:39 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-core_hw_sh4_dyna_driver.cpp,v 1.1 2018/10/13 17:02:17 nia Exp $
-
-Add support for NetBSD.
-



Home | Main Index | Thread Index | Old Index