pkgsrc-WIP-changes archive

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

Import Clock Signal 2021-12-19 as wip/clock-signal



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <dressupgeekout%gmail.com@localhost>
Pushed By:	cfkoch
Date:		Fri Jan 28 18:02:44 2022 -0800
Changeset:	57c75a739f3e041e2b2012eddd7c3b11921dc555

Modified Files:
	Makefile
Added Files:
	clock-signal/DESCR
	clock-signal/Makefile
	clock-signal/PLIST
	clock-signal/TODO
	clock-signal/distinfo
	clock-signal/patches/patch-OSBindings_SDL_SConstruct

Log Message:
Import Clock Signal 2021-12-19 as wip/clock-signal

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=57c75a739f3e041e2b2012eddd7c3b11921dc555

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

diffstat:
 Makefile                                           |  1 +
 clock-signal/DESCR                                 | 30 ++++++++++++++++++++
 clock-signal/Makefile                              | 32 ++++++++++++++++++++++
 clock-signal/PLIST                                 |  2 ++
 clock-signal/TODO                                  |  3 ++
 clock-signal/distinfo                              |  6 ++++
 .../patches/patch-OSBindings_SDL_SConstruct        | 30 ++++++++++++++++++++
 7 files changed, 104 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 746b506dcc..fefabfde45 100644
--- a/Makefile
+++ b/Makefile
@@ -474,6 +474,7 @@ SUBDIR+=	cliquer
 SUBDIR+=	clisp
 SUBDIR+=	clisp-asdf
 SUBDIR+=	clisp-hg
+SUBDIR+=	clock-signal
 SUBDIR+=	clockspeed
 SUBDIR+=	cloud-nuke
 SUBDIR+=	clustalx
diff --git a/clock-signal/DESCR b/clock-signal/DESCR
new file mode 100644
index 0000000000..354b35c4a4
--- /dev/null
+++ b/clock-signal/DESCR
@@ -0,0 +1,30 @@
+Clock Signal ('CLK') is an emulator for tourists that seeks to be invisible.
+Users directly launch classic software, avoiding the learning curves
+associated with emulators and with classic machines.
+
+This emulator seeks to offer:
+
+- single-click load of any piece of source media for any supported platform;
+- with a heavy signal processing tilt for accurate reproduction of original
+  outputs;
+- while minimising latency.
+
+It currently contains emulations of the:
+
+- Acorn Electron;
+- Amstrad CPC;
+- Apple II/II+ and IIe;
+- Atari 2600;
+- Atari ST;
+- ColecoVision;
+- Commodore Vic-20 (and Commodore 1540/1);
+- Enterprise 64/128;
+- Macintosh 512ke and Plus;
+- MSX 1;
+- Oric 1/Atmos;
+- Sega Master System;
+- Sinclair ZX80/81; and
+- Sinclair ZX Spectrum.
+
+Commodore Amiga emulation is also present, but for now remains wilfully
+inaccurate.
diff --git a/clock-signal/Makefile b/clock-signal/Makefile
new file mode 100644
index 0000000000..d9e79b1fdb
--- /dev/null
+++ b/clock-signal/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+DISTNAME=	clock-signal-20211219
+CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=TomHarte/}
+GITHUB_PROJECT=	CLK
+GITHUB_TAG=	2021-12-19
+
+MAINTAINER=	dressupgeekout%gmail.com@localhost
+HOMEPAGE=	https://github.com/TomHarte/CLK
+COMMENT=	Emulator of 8- and 16-bit platforms
+LICENSE=	mit
+
+EXTRACT_USING=	gtar
+NO_CONFIGURE=	yes
+USE_LANGUAGES=	c c++
+
+SCONS_ARGS=	# defined
+SCONS_ARGS+=	${_MAKE_JOBS}
+
+do-build:
+	cd ${WRKSRC}/OSBindings/SDL && \
+	${SETENV} ${MAKE_ENV} ${SCONSBIN} ${SCONS_ARGS}
+
+do-install:
+	${INSTALL_PROGRAM_DIR} ${DESTDIR}${LOCALBASE}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/OSBindings/SDL/clksignal ${DESTDIR}${LOCALBASE}/bin
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/scons/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/clock-signal/PLIST b/clock-signal/PLIST
new file mode 100644
index 0000000000..d47f0e0e80
--- /dev/null
+++ b/clock-signal/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/clksignal
diff --git a/clock-signal/TODO b/clock-signal/TODO
new file mode 100644
index 0000000000..8ce203dc6b
--- /dev/null
+++ b/clock-signal/TODO
@@ -0,0 +1,3 @@
+TODO
+
+- Neet to get rid of hardcoded RPATH 
diff --git a/clock-signal/distinfo b/clock-signal/distinfo
new file mode 100644
index 0000000000..6eadb62ec8
--- /dev/null
+++ b/clock-signal/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (clock-signal-20211219.tar.gz) = cb2c08f11ee7c562679aa8e0a3803b5bc613bde95e41a0ce4292cc980575adf4
+SHA512 (clock-signal-20211219.tar.gz) = a49d31428ccbdb7f0f5608ae440a77bff422150bc509401d6656f39d080f833cb1a75ea86f1f609eafb216fafe8f54cf6b4addf59b369bfb1c876203796f7d50
+Size (clock-signal-20211219.tar.gz) = 46295457 bytes
+SHA1 (patch-OSBindings_SDL_SConstruct) = a29cec555ba2b2ef04a76d69cf38a2b2c8774667
diff --git a/clock-signal/patches/patch-OSBindings_SDL_SConstruct b/clock-signal/patches/patch-OSBindings_SDL_SConstruct
new file mode 100644
index 0000000000..5946bf4e64
--- /dev/null
+++ b/clock-signal/patches/patch-OSBindings_SDL_SConstruct
@@ -0,0 +1,30 @@
+$NetBSD$
+
+Let scons inherit the build environment.
+
+--- OSBindings/SDL/SConstruct.orig	2021-12-19 14:35:27.000000000 -0800
++++ OSBindings/SDL/SConstruct	2022-01-28 17:52:43.025087118 -0800
+@@ -1,4 +1,5 @@
+ import glob
++import os
+ import sys
+ 
+ # Establish UTF-8 encoding for Python 2.
+@@ -7,7 +8,7 @@
+ 	sys.setdefaultencoding('utf-8')
+ 
+ # Create build environment.
+-env = Environment()
++env = Environment(ENV=os.environ.copy())
+ 
+ # Determine compiler and linker flags for SDL.
+ env.ParseConfig('sdl2-config --cflags')
+@@ -140,5 +141,8 @@
+ # Add additional libraries to link against.
+ env.Append(LIBS = ['libz', 'pthread', 'GL'])
+ 
++# XXX XXX XXX FIXME
++env.Append(RPATH = ['/usr/pkg/lib', '/usr/X11R7/lib',])
++
+ # Build target.
+ env.Program(target = 'clksignal', source = SOURCES)


Home | Main Index | Thread Index | Old Index