chocolate-doom: create deployable pkg

Fixes #115.
This commit is contained in:
Josef Söntgen
2017-11-29 13:33:40 +01:00
committed by Norman Feske
parent d123c74e76
commit 2ef4fffac1
8 changed files with 109 additions and 1 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -0,0 +1 @@
18.08 28d93a73833db833ec96ad3e06e7fc2cb3d83c98

View File

@@ -0,0 +1,65 @@
<runtime ram="80M" caps="512" binary="init">
<requires> <audio_out/> <nitpicker/> <nic/> <timer/> </requires>
<content>
<rom label="ld.lib.so"/>
<rom label="init"/>
<rom label="init.config"/>
<rom label="nit_fb"/>
<rom label="chocolate-doom"/>
<rom label="libc.lib.so"/>
<rom label="pthread.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="sdl.lib.so"/>
<rom label="sdl_mixer.lib.so"/>
<rom label="sdl_net.lib.so"/>
<rom label="vfs.lib.so"/>
<rom label="doom1.wad"/>
</content>
<config>
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Timer"/>
<service name="Audio_out"/>
<service name="Nitpicker"/>
<service name="Nic"/>
</parent-provides>
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
<default caps="100"/>
<start name="nit_fb">
<resource name="RAM" quantum="16M"/>
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
<config initial_width="1024" initial_height="768"/>
</start>
<start name="doom" caps="300">
<binary name="chocolate-doom"/>
<resource name="RAM" quantum="64M"/>
<config>
<libc stdout="/dev/log" stderr="/dev/log" stdin="/dev/null" rtc="/dev/rtc"/>
<vfs>
<dir name="dev">
<log/>
<inline name="rtc">2018-08-31 18:00</inline>
</dir>
<rom name="doom1.wad"/>
</vfs>
</config>
<route>
<service name="Framebuffer"> <child name="nit_fb"/> </service>
<service name="Input"> <child name="nit_fb"/> </service>
<any-service> <parent/> </any-service>
</route>
</start>
</config>
</runtime>

View File

@@ -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 $@

View File

@@ -0,0 +1 @@
2018-08-31 b870abe34519d084d1fbcab4745e07fb8d321a97

View File

@@ -0,0 +1,12 @@
base
os
timer_session
so
libc
vfs
sdl
sdl_mixer
sdl_net
audio_out_session
framebuffer_session
input_session

View File

@@ -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 :