pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Aug 11 15:42:09 UTC 2018

Modified Files:
        pkgsrc/emulators: Makefile
Added Files:
        pkgsrc/emulators/libretro-fuse: DESCR Makefile PLIST distinfo
        pkgsrc/emulators/libretro-fuse/patches: patch-Makefile.libretro
            patch-fuse_configure

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.265 -r1.266 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/libretro-fuse/DESCR \
    pkgsrc/emulators/libretro-fuse/Makefile \
    pkgsrc/emulators/libretro-fuse/PLIST \
    pkgsrc/emulators/libretro-fuse/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-fuse/patches/patch-Makefile.libretro \
    pkgsrc/emulators/libretro-fuse/patches/patch-fuse_configure

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

Modified files:

Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.265 pkgsrc/emulators/Makefile:1.266
--- pkgsrc/emulators/Makefile:1.265     Sat Aug 11 15:12:20 2018
+++ pkgsrc/emulators/Makefile   Sat Aug 11 15:42:08 2018
@@ -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-core-info
 SUBDIR+=       libretro-database
 SUBDIR+=       libretro-desmume
 SUBDIR+=       libretro-fceumm
+SUBDIR+=       libretro-fuse
 SUBDIR+=       libretro-gambatte
 SUBDIR+=       libretro-genesis-plus-gx
 SUBDIR+=       libretro-glsl-shaders

Added files:

Index: pkgsrc/emulators/libretro-fuse/DESCR
diff -u /dev/null pkgsrc/emulators/libretro-fuse/DESCR:1.1
--- /dev/null   Sat Aug 11 15:42:09 2018
+++ pkgsrc/emulators/libretro-fuse/DESCR        Sat Aug 11 15:42:09 2018
@@ -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.
Index: pkgsrc/emulators/libretro-fuse/Makefile
diff -u /dev/null pkgsrc/emulators/libretro-fuse/Makefile:1.1
--- /dev/null   Sat Aug 11 15:42:09 2018
+++ pkgsrc/emulators/libretro-fuse/Makefile     Sat Aug 11 15:42:09 2018
@@ -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"
Index: pkgsrc/emulators/libretro-fuse/PLIST
diff -u /dev/null pkgsrc/emulators/libretro-fuse/PLIST:1.1
--- /dev/null   Sat Aug 11 15:42:09 2018
+++ pkgsrc/emulators/libretro-fuse/PLIST        Sat Aug 11 15:42:09 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/11 15:42:09 nia Exp $
+lib/libretro/fuse_libretro.so
Index: pkgsrc/emulators/libretro-fuse/distinfo
diff -u /dev/null pkgsrc/emulators/libretro-fuse/distinfo:1.1
--- /dev/null   Sat Aug 11 15:42:09 2018
+++ pkgsrc/emulators/libretro-fuse/distinfo     Sat Aug 11 15:42:09 2018
@@ -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

Index: pkgsrc/emulators/libretro-fuse/patches/patch-Makefile.libretro
diff -u /dev/null pkgsrc/emulators/libretro-fuse/patches/patch-Makefile.libretro:1.1
--- /dev/null   Sat Aug 11 15:42:09 2018
+++ pkgsrc/emulators/libretro-fuse/patches/patch-Makefile.libretro      Sat Aug 11 15:42:09 2018
@@ -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)
Index: pkgsrc/emulators/libretro-fuse/patches/patch-fuse_configure
diff -u /dev/null pkgsrc/emulators/libretro-fuse/patches/patch-fuse_configure:1.1
--- /dev/null   Sat Aug 11 15:42:09 2018
+++ pkgsrc/emulators/libretro-fuse/patches/patch-fuse_configure Sat Aug 11 15:42:09 2018
@@ -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