From 2ef4fffac147002c39db11d16f5b9f5f0677159d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Wed, 29 Nov 2017 13:33:40 +0100 Subject: [PATCH] chocolate-doom: create deployable pkg Fixes #115. --- recipes/pkg/chocolate-doom/README | 10 +++++ recipes/pkg/chocolate-doom/archives | 8 ++++ recipes/pkg/chocolate-doom/hash | 1 + recipes/pkg/chocolate-doom/runtime | 65 +++++++++++++++++++++++++++ recipes/src/chocolate-doom/content.mk | 11 +++++ recipes/src/chocolate-doom/hash | 1 + recipes/src/chocolate-doom/used_apis | 12 +++++ src/app/chocolate-doom/target.inc | 2 +- 8 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 recipes/pkg/chocolate-doom/README create mode 100644 recipes/pkg/chocolate-doom/archives create mode 100644 recipes/pkg/chocolate-doom/hash create mode 100644 recipes/pkg/chocolate-doom/runtime create mode 100644 recipes/src/chocolate-doom/content.mk create mode 100644 recipes/src/chocolate-doom/hash create mode 100644 recipes/src/chocolate-doom/used_apis diff --git a/recipes/pkg/chocolate-doom/README b/recipes/pkg/chocolate-doom/README new file mode 100644 index 0000000..80483b7 --- /dev/null +++ b/recipes/pkg/chocolate-doom/README @@ -0,0 +1,10 @@ +Chocolate-doom is a Doom1/2 engine source port that tries to +stay true to the original DOS versions. + +This pkg is configured for playing the Doom 1 shareware version. It can +also be used to play the Heretic 1 shareware as well as the Hexen 1 demo +by changing the 'init.config' file. Replace all occurences of 'doom' to +either 'heretic' or 'hexen' (the Hexen 1 demo file has to be called +'hexen.wad', there is no '1' in the name). + +The pkg requires Nic and Nitpicker services, Audio_out is optional. diff --git a/recipes/pkg/chocolate-doom/archives b/recipes/pkg/chocolate-doom/archives new file mode 100644 index 0000000..26d2cdf --- /dev/null +++ b/recipes/pkg/chocolate-doom/archives @@ -0,0 +1,8 @@ +_/src/chocolate-doom +cnuke/raw/shareware-wads/18.08 +_/src/libc +_/src/nit_fb +_/src/sdl +_/src/sdl_mixer +_/src/sdl_net +_/src/vfs diff --git a/recipes/pkg/chocolate-doom/hash b/recipes/pkg/chocolate-doom/hash new file mode 100644 index 0000000..c1c8f14 --- /dev/null +++ b/recipes/pkg/chocolate-doom/hash @@ -0,0 +1 @@ +18.08 28d93a73833db833ec96ad3e06e7fc2cb3d83c98 diff --git a/recipes/pkg/chocolate-doom/runtime b/recipes/pkg/chocolate-doom/runtime new file mode 100644 index 0000000..ffe97f7 --- /dev/null +++ b/recipes/pkg/chocolate-doom/runtime @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2018-08-31 18:00 + + + + + + + + + + + + + diff --git a/recipes/src/chocolate-doom/content.mk b/recipes/src/chocolate-doom/content.mk new file mode 100644 index 0000000..708447b --- /dev/null +++ b/recipes/src/chocolate-doom/content.mk @@ -0,0 +1,11 @@ +content: src/app/chocolate-doom LICENSE + +PORT_DIR := $(call port_dir,$(REP_DIR)/ports/chocolate-doom) + +src/app/chocolate-doom: + mkdir -p $@ + cp -r $(PORT_DIR)/src/app/chocolate-doom/* $@ + cp -r $(REP_DIR)/src/app/chocolate-doom/* $@ + +LICENSE: + cp $(PORT_DIR)/src/app/chocolate-doom/COPYING $@ diff --git a/recipes/src/chocolate-doom/hash b/recipes/src/chocolate-doom/hash new file mode 100644 index 0000000..ae964dd --- /dev/null +++ b/recipes/src/chocolate-doom/hash @@ -0,0 +1 @@ +2018-08-31 b870abe34519d084d1fbcab4745e07fb8d321a97 diff --git a/recipes/src/chocolate-doom/used_apis b/recipes/src/chocolate-doom/used_apis new file mode 100644 index 0000000..bb79119 --- /dev/null +++ b/recipes/src/chocolate-doom/used_apis @@ -0,0 +1,12 @@ +base +os +timer_session +so +libc +vfs +sdl +sdl_mixer +sdl_net +audio_out_session +framebuffer_session +input_session diff --git a/src/app/chocolate-doom/target.inc b/src/app/chocolate-doom/target.inc index b7c73dc..02dd37f 100644 --- a/src/app/chocolate-doom/target.inc +++ b/src/app/chocolate-doom/target.inc @@ -83,6 +83,6 @@ INC_DIR += $(CHOCOLATE_DOOM_DIR)/src INC_DIR += $(CHOCOLATE_DOOM_DIR)/src/$(GAME) INC_DIR += $(CHOCOLATE_DOOM_DIR)/textscreen -LIBS = sdl sdlmain libc sdl_mixer sdl_net +LIBS := base sdl sdlmain libc libm sdl_mixer sdl_net # vi:set ft=make :