diff options
author | nia <nia@pkgsrc.org> | 2018-08-11 15:42:08 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2018-08-11 15:42:08 +0000 |
commit | 1c599358fe816d59bc5a98dd362c3ed03781c351 (patch) | |
tree | d82b960413c7e1131cb8193a13b7a778b15f7e99 /emulators/libretro-fuse | |
parent | bd843f6d95ff9150f066544ff077af5c51ee011a (diff) | |
download | pkgsrc-1c599358fe816d59bc5a98dd362c3ed03781c351.tar.gz |
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 (limited to 'emulators/libretro-fuse')
-rw-r--r-- | emulators/libretro-fuse/DESCR | 7 | ||||
-rw-r--r-- | emulators/libretro-fuse/Makefile | 30 | ||||
-rw-r--r-- | emulators/libretro-fuse/PLIST | 2 | ||||
-rw-r--r-- | emulators/libretro-fuse/distinfo | 8 | ||||
-rw-r--r-- | emulators/libretro-fuse/patches/patch-Makefile.libretro | 25 | ||||
-rw-r--r-- | emulators/libretro-fuse/patches/patch-fuse_configure | 15 |
6 files changed, 87 insertions, 0 deletions
diff --git a/emulators/libretro-fuse/DESCR b/emulators/libretro-fuse/DESCR new file mode 100644 index 00000000000..06f69030a32 --- /dev/null +++ b/emulators/libretro-fuse/DESCR @@ -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 --git a/emulators/libretro-fuse/Makefile b/emulators/libretro-fuse/Makefile new file mode 100644 index 00000000000..5f6e280adf2 --- /dev/null +++ b/emulators/libretro-fuse/Makefile @@ -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 +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 --git a/emulators/libretro-fuse/PLIST b/emulators/libretro-fuse/PLIST new file mode 100644 index 00000000000..006df6aa7e1 --- /dev/null +++ b/emulators/libretro-fuse/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2018/08/11 15:42:09 nia Exp $ +lib/libretro/fuse_libretro.so diff --git a/emulators/libretro-fuse/distinfo b/emulators/libretro-fuse/distinfo new file mode 100644 index 00000000000..1bda7c2c959 --- /dev/null +++ b/emulators/libretro-fuse/distinfo @@ -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 --git a/emulators/libretro-fuse/patches/patch-Makefile.libretro b/emulators/libretro-fuse/patches/patch-Makefile.libretro new file mode 100644 index 00000000000..d1e56e6cabd --- /dev/null +++ b/emulators/libretro-fuse/patches/patch-Makefile.libretro @@ -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 --git a/emulators/libretro-fuse/patches/patch-fuse_configure b/emulators/libretro-fuse/patches/patch-fuse_configure new file mode 100644 index 00000000000..88bac60ab55 --- /dev/null +++ b/emulators/libretro-fuse/patches/patch-fuse_configure @@ -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 |