pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators libretro-fuse: add version 20180419.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ee57289e3875
branches: trunk
changeset: 383831:ee57289e3875
user: nia <nia%pkgsrc.org@localhost>
date: Sat Aug 11 15:42:08 2018 +0000
description:
libretro-fuse: add version 20180419.
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.
FUSE is an emulator for the Sinclair ZX Spectrum and related machines.
diffstat:
emulators/Makefile | 3 +-
emulators/libretro-fuse/DESCR | 7 +++
emulators/libretro-fuse/Makefile | 30 +++++++++++++++++
emulators/libretro-fuse/PLIST | 2 +
emulators/libretro-fuse/distinfo | 8 ++++
emulators/libretro-fuse/patches/patch-Makefile.libretro | 25 ++++++++++++++
emulators/libretro-fuse/patches/patch-fuse_configure | 15 ++++++++
7 files changed, 89 insertions(+), 1 deletions(-)
diffs (128 lines):
diff -r 24d924a95504 -r ee57289e3875 emulators/Makefile
--- a/emulators/Makefile Sat Aug 11 15:12:20 2018 +0000
+++ b/emulators/Makefile Sat Aug 11 15:42:08 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.265 2018/08/11 15:12:20 nia Exp $
+# $NetBSD: Makefile,v 1.266 2018/08/11 15:42:08 nia Exp $
#
COMMENT= Emulators for other operating systems
@@ -95,6 +95,7 @@
SUBDIR+= libretro-database
SUBDIR+= libretro-desmume
SUBDIR+= libretro-fceumm
+SUBDIR+= libretro-fuse
SUBDIR+= libretro-gambatte
SUBDIR+= libretro-genesis-plus-gx
SUBDIR+= libretro-glsl-shaders
diff -r 24d924a95504 -r ee57289e3875 emulators/libretro-fuse/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-fuse/DESCR Sat Aug 11 15:42:08 2018 +0000
@@ -0,0 +1,7 @@
+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.
+
+FUSE is an emulator for the Sinclair ZX Spectrum and related machines.
diff -r 24d924a95504 -r ee57289e3875 emulators/libretro-fuse/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-fuse/Makefile Sat Aug 11 15:42:08 2018 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2018/08/11 15:42:09 nia Exp $
+
+DISTNAME= libretro-fuse-20180419
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT= fuse-libretro
+GITHUB_TAG= fa6ecc43754be89ec5a156877f04adb8f9cc7a09
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://docs.libretro.com/library/fuse/
+COMMENT= Libretro core based on the FUSE ZX Spectrum emulator
+LICENSE= gnu-gpl-v3
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= gmake
+MAKE_FILE= Makefile.libretro
+
+.include "../../mk/endian.mk"
+
+.if ${MACHINE_ENDIAN} == "big"
+CFLAGS+= -DWORDS_BIGENDIAN -DMSB_FIRST
+.endif
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/fuse_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/fuse_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff -r 24d924a95504 -r ee57289e3875 emulators/libretro-fuse/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-fuse/PLIST Sat Aug 11 15:42:08 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/11 15:42:09 nia Exp $
+lib/libretro/fuse_libretro.so
diff -r 24d924a95504 -r ee57289e3875 emulators/libretro-fuse/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-fuse/distinfo Sat Aug 11 15:42:08 2018 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/08/11 15:42:09 nia Exp $
+
+SHA1 (libretro-fuse-20180419-fa6ecc43754be89ec5a156877f04adb8f9cc7a09.tar.gz) = 15793fd2a22b0d5a119ff443a46e7def073eb96a
+RMD160 (libretro-fuse-20180419-fa6ecc43754be89ec5a156877f04adb8f9cc7a09.tar.gz) = 97f43f166bc9da6a7de57bc463098352e0353ddc
+SHA512 (libretro-fuse-20180419-fa6ecc43754be89ec5a156877f04adb8f9cc7a09.tar.gz) =
096bb8fe1fd8e9cfbc23dc9b0939fc5d7aee060ac9c52b5a3d3c6a75bf1f4d006ede1dbafd97e481e061bd2ec6d158edef66250f6a20fffec8535dcb9d8e11ed
+Size (libretro-fuse-20180419-fa6ecc43754be89ec5a156877f04adb8f9cc7a09.tar.gz) = 4320074 bytes
+SHA1 (patch-Makefile.libretro) = 5fa69278a3caccd2228d33287262e53f8a6472d3
+SHA1 (patch-fuse_configure) = dd010a208542746ddba2365e5fb3c26dd4be5c99
diff -r 24d924a95504 -r ee57289e3875 emulators/libretro-fuse/patches/patch-Makefile.libretro
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-fuse/patches/patch-Makefile.libretro Sat Aug 11 15:42:08 2018 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-Makefile.libretro,v 1.1 2018/08/11 15:42:09 nia Exp $
+
+Don't force -O3 by default, or invoke git.
+
+--- Makefile.libretro.orig 2018-04-19 16:34:08.000000000 +0000
++++ Makefile.libretro
+@@ -378,8 +378,7 @@ else ifeq ($(platform), emscripten)
+ CFLAGS += -O2
+ CXXFLAGS += -O2 -fno-exceptions -fno-rtti -DHAVE_STDINT_H
+ else
+- CFLAGS += -O3
+- CXXFLAGS += -O3 -fno-exceptions -fno-rtti -DHAVE_STDINT_H
++ CXXFLAGS += -fno-exceptions -fno-rtti -DHAVE_STDINT_H
+ endif
+
+ ifeq ($(LOG_PERFORMANCE), 1)
+@@ -442,7 +441,7 @@ $(CORE_DIR)/libspectrum/config.h:
+ cp $(CORE_DIR)/src/config_libspectrum.h $(CORE_DIR)/libspectrum/config.h
+
+ $(CORE_DIR)/src/version.c: FORCE
+- cat $(CORE_DIR)/etc/version.c.templ | sed s/HASH/`git rev-parse HEAD | tr -d "\n"`/g > $@
++ cat $(CORE_DIR)/etc/version.c.templ | sed s/HASH/pkgsrc/g > $@
+
+ clean-objs:
+ rm -f $(OBJS)
diff -r 24d924a95504 -r ee57289e3875 emulators/libretro-fuse/patches/patch-fuse_configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-fuse/patches/patch-fuse_configure Sat Aug 11 15:42:08 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-fuse_configure,v 1.1 2018/08/11 15:42:09 nia Exp $
+
+Fix unportable test(1) operator.
+
+--- fuse/configure.orig 2017-01-23 18:21:17.000000000 +0000
++++ fuse/configure
+@@ -17868,7 +17868,7 @@ if test "$desktopdir" = yes; then
+ else
+ DESKTOP_DATADIR="$datadir"
+ fi
+- if test "$desktopdir" == yes; then
++ if test "$desktopdir" = yes; then
+ DESKTOP_DATADIR_TRUE=
+ DESKTOP_DATADIR_FALSE='#'
+ else
Home |
Main Index |
Thread Index |
Old Index