Compare commits
17 Commits
audio
...
upstream-d
Author | SHA1 | Date | |
---|---|---|---|
d3b4936935 | |||
74090333a9 | |||
ab8f8ca927 | |||
d6eedd701c | |||
3c8e393368 | |||
5e00cf7ce2 | |||
ae9ebec385 | |||
e78461c172 | |||
ca92c472ae | |||
97177c55be | |||
a765a7b7bc | |||
69f92f19b9 | |||
7c71f6cd04 | |||
a377538eef | |||
200a57318c | |||
de049b95cd | |||
53189122cc |
66
.gitmodules
vendored
66
.gitmodules
vendored
|
@ -16,63 +16,12 @@
|
|||
[submodule "nimble/ninep"]
|
||||
path = nim/ninep
|
||||
url = git://depot.h4ck.me/srv/git/ninep
|
||||
[submodule "libretro/libretro-common"]
|
||||
path = libretro/libretro-common
|
||||
url = https://github.com/libretro/libretro-common.git
|
||||
[submodule "libretro/retro_frontend"]
|
||||
path = libretro/retro_frontend
|
||||
url = git://depot.h4ck.me/srv/git/retro_frontend
|
||||
[submodule "libretro/cores/2048/core"]
|
||||
path = libretro/cores/2048/upstream
|
||||
url = https://github.com/libretro/libretro-2048
|
||||
[submodule "libretro/cores/4do/core"]
|
||||
path = libretro/cores/4do/upstream
|
||||
url = https://github.com/libretro/4do-libretro.git
|
||||
[submodule "libretro/cores/fceumm/core"]
|
||||
path = libretro/cores/fceumm/upstream
|
||||
url = https://github.com/libretro/libretro-fceumm.git
|
||||
[submodule "libretro/cores/mgba/core"]
|
||||
path = libretro/cores/mgba/upstream
|
||||
url = https://github.com/libretro/mgba.git
|
||||
[submodule "libretro/cores/nxengine/core"]
|
||||
path = libretro/cores/nxengine/upstream
|
||||
url = git://depot.h4ck.me/srv/git/nxengine
|
||||
[submodule "libretro/cores/oberon/core"]
|
||||
path = libretro/cores/oberon/upstream
|
||||
url = git@github.com:ehmry/oberon-risc-libretro.git
|
||||
[submodule "libretro/cores/snes9x/core"]
|
||||
path = libretro/cores/snes9x/upstream
|
||||
url = https://github.com/libretro/snes9x.git
|
||||
[submodule "libretro/cores/tyrquake/core"]
|
||||
path = libretro/cores/tyrquake/upstream
|
||||
url = https://github.com/libretro/tyrquake
|
||||
[submodule "libretro/cores/samples"]
|
||||
path = libretro/cores/samples/upstream
|
||||
url = https://github.com/libretro/libretro-samples
|
||||
[submodule "libretro/cores/dosbox/core"]
|
||||
path = libretro/cores/dosbox-libretro/upstream
|
||||
url = https://github.com/libretro/dosbox-libretro
|
||||
[submodule "libretro/cores/mrboom/core"]
|
||||
path = libretro/cores/mrboom/upstream
|
||||
url = git@github.com:ehmry/mrboom-libretro.git
|
||||
[submodule "libretro/cores/gambatte/core"]
|
||||
path = libretro/cores/gambatte/upstream
|
||||
url = git@github.com:github.com/ehmry/gambatte-libretro.git
|
||||
[submodule "libretro/cores/dinothawr/core"]
|
||||
path = libretro/cores/dinothawr/core
|
||||
url = https://github.com/libretro/Dinothawr
|
||||
[submodule "nimble/nim-monero"]
|
||||
path = nim/nim-monero
|
||||
url = git://depot.h4ck.me/srv/git/nim-monero
|
||||
[submodule "libretro/cores/scummvm/upstream"]
|
||||
path = libretro/cores/scummvm/upstream
|
||||
url = https://github.com/libretro/scummvm.git
|
||||
[submodule "libretro/cores/lutro/upstream"]
|
||||
path = libretro/cores/lutro/upstream
|
||||
url = git@github.com:ehmry/libretro-lutro.git
|
||||
[submodule "libretro/cores/bluemsx/upstream"]
|
||||
path = libretro/cores/bluemsx/upstream
|
||||
url = git@github.com:ehmry/blueMSX-libretro.git
|
||||
[submodule "nimble/fetch_and_copy"]
|
||||
path = nim/fetch_and_copy
|
||||
url = git://depot.h4ck.me/srv/git/fetch_and_copy.
|
||||
|
@ -85,15 +34,6 @@
|
|||
[submodule "nimble/carn"]
|
||||
path = nim/carn_layouter
|
||||
url = git://depot.h4ck.me/srv/git/carn_layouter
|
||||
[submodule "libretro/bios/cbios-cbios"]
|
||||
path = libretro/bios/cbios-cbios
|
||||
url = https://git.code.sf.net/p/cbios/cbios
|
||||
[submodule "libretro/cores/mu/upstream"]
|
||||
path = libretro/cores/mu/upstream
|
||||
url = https://github.com/meepingsnesroms/Mu.git
|
||||
[submodule "libretro/cores/dosbox-svn/upstream"]
|
||||
path = libretro/cores/dosbox-svn/upstream
|
||||
url = https://github.com/libretro/dosbox-svn.git
|
||||
[submodule "nim/xspf_view"]
|
||||
path = nim/xspf_view
|
||||
url = git://depot.h4ck.me/srv/git/xspf_view
|
||||
|
@ -103,6 +43,6 @@
|
|||
[submodule "nim/blobbot"]
|
||||
path = nim/blobbot
|
||||
url = git://depot.h4ck.me/srv/git/blobbot
|
||||
[submodule "libretro/cores/yabause/upstream"]
|
||||
path = libretro/cores/yabause/upstream
|
||||
url = https://github.com/libretro/yabause.git
|
||||
[submodule "dhall"]
|
||||
path = dhall
|
||||
url = https://github.com/ehmry/dhall-genode.git
|
||||
|
|
19
Tupfile
19
Tupfile
|
@ -28,8 +28,8 @@ SHORT_SUM = b2sum -l24
|
|||
|> $(BIN_LISTING)
|
||||
# Generate a listing of all binary archives
|
||||
|
||||
: $(DEPOT_DIR)/<packages> |> ^ generate package version sed script^ \
|
||||
for d in `dirname %<packages> | tr ' ' '\n' | sort -u`; do \
|
||||
: $(DEPOT_DIR)/<pkg> |> ^ generate package version sed script^ \
|
||||
for d in `dirname %<pkg> | tr ' ' '\n' | sort -u`; do \
|
||||
echo $d/`cat $d/.ARCHIVES $d/runtime | $(SHORT_SUM)` | awk -F '/' \
|
||||
'{print "s|local/pkg/"$3"/current|@(PUBLIC_USER)/pkg/"$3"/"substr($5,0,6)"|"}' >> %o; \
|
||||
done \
|
||||
|
@ -53,18 +53,15 @@ SHORT_SUM = b2sum -l24
|
|||
|> Makefile
|
||||
# Generate the makefile for creating signed package tarballs
|
||||
|
||||
: index.xml | $(PKG_SED_FILE) |> ^ generate public index^ \
|
||||
xmllint %f | sed \
|
||||
-e 's|_/pkg/\([^"]*\)|local/pkg/\1/current|' \
|
||||
-f $(PKG_SED_FILE) \
|
||||
| xz > %o; \
|
||||
|> public/@(PUBLIC_USER)/index/@(SCULPT_VERSION).xz
|
||||
|
||||
AWK_RUNTIME_PATH = awk -v RS=' ' -F '/' \
|
||||
'/runtime/ {print " <pkg path=\"local/pkg/"$3"/current\"/>"}'
|
||||
|
||||
: $(DEPOT_DIR)/<packages> |> ^ generate local index^ \
|
||||
: $(DEPOT_DIR)/<pkg> |> ^ generate local index^ \
|
||||
echo '<index>' > %o; \
|
||||
echo %<packages> | $(AWK_RUNTIME_PATH) | sort >> %o; \
|
||||
echo %<pkg> | $(AWK_RUNTIME_PATH) | sort >> %o; \
|
||||
echo '</index>' >> %o |> $(DEPOT_DIR)/index/@(SCULPT_VERSION)
|
||||
# Generate the depot index file
|
||||
|
||||
: index.dhall | $(DEPOT_DIR)/index/<entry> |> \
|
||||
!dhall text < %f | xmllint --format - | xz > %o \
|
||||
|> public/@(PUBLIC_USER)/index/@(SCULPT_VERSION).xz
|
||||
|
|
72
Tuprules.tup
72
Tuprules.tup
|
@ -1,18 +1,27 @@
|
|||
.gitignore
|
||||
|
||||
ifndef TOOL_CHAIN_PREFIX
|
||||
error TOOL_CHAIN_PREFIX not configured, missing variant?
|
||||
endif
|
||||
|
||||
DEPOT_DIR = $(TUP_CWD)/depot
|
||||
DEPOT_RAW_DIR = $(DEPOT_DIR)/raw
|
||||
DEPOT_PKG_DIR = $(DEPOT_DIR)/pkg
|
||||
|
||||
PUBLIC_DIR = $(TUP_CWD)/public/@(PUBLIC_USER)
|
||||
PUBLIC_RAW_DIR = $(PUBLIC_DIR)/raw
|
||||
PUBLIC_BIN_DIR = $(PUBLIC_DIR)/bin
|
||||
PUBLIC_PKG_DIR = $(PUBLIC_DIR)/pkg
|
||||
|
||||
ifeq (@(TUP_ARCH),i386)
|
||||
CC_MARCH = -march=i686 -m32
|
||||
LD_MARCH = -melf_i386
|
||||
AS_MARCH = -march=i686 --32
|
||||
DEPOT_BIN_DIR = $(DEPOT_DIR)/bin/x86_32
|
||||
endif
|
||||
|
||||
ifeq (@(TUP_ARCH),x86_64)
|
||||
CC_MARCH = -m64 -mcmodel=large
|
||||
LD_MARCH = -melf_x86_64
|
||||
DEPOT_BIN_DIR = $(DEPOT_DIR)/bin/x86_64
|
||||
endif
|
||||
|
||||
ifeq (@(TUP_ARCH),arm_v8)
|
||||
|
@ -60,23 +69,13 @@ ifeq ($(RAW_VERSION),)
|
|||
RAW_VERSION=$(GIT_VERSION)
|
||||
endif
|
||||
|
||||
DEPOT_DIR = $(TUP_CWD)/depot
|
||||
DEPOT_RAW_DIR = $(DEPOT_DIR)/raw
|
||||
DEPOT_BIN_DIR = $(DEPOT_DIR)/bin
|
||||
DEPOT_PKG_DIR = $(DEPOT_DIR)/pkg
|
||||
|
||||
PUBLIC_DIR = $(TUP_CWD)/public
|
||||
PUBLIC_RAW_DIR = $(PUBLIC_DIR)/raw
|
||||
PUBLIC_BIN_DIR = $(PUBLIC_DIR)/bin
|
||||
PUBLIC_PKG_DIR = $(PUBLIC_DIR)/pkg
|
||||
|
||||
RAW_DIR = $(DEPOT_RAW_DIR)/$(RAW_NAME)/current
|
||||
# Destination for locally defined raw package
|
||||
|
||||
BIN_DIR = $(DEPOT_BIN_DIR)/$(BIN_NAME)/current
|
||||
# Destination for locally defined binary package
|
||||
|
||||
PKG_DIR = $(DEPOT_BIN_DIR)/$(BIN_NAME)/current
|
||||
PKG_DIR = $(DEPOT_PKG_DIR)/$(PKG_NAME)/current
|
||||
# Destination for locally defined runtime package
|
||||
|
||||
!raw = |> ^ generate raw metadata^ \
|
||||
|
@ -104,11 +103,11 @@ AWK_LOCAL_ARCHIVES = awk -F '/' \
|
|||
|
||||
!collect_raw = |> ^ COLLECT %b^ \
|
||||
cp %f %o \
|
||||
|> $(RAW_DIR)/%b
|
||||
|> $(RAW_DIR)/%b $(DEPOT_DIR)/<raw>
|
||||
|
||||
!collect_bin = |> ^ COLLECT %b^ \
|
||||
@(TOOL_CHAIN_PREFIX)strip -o %o %f \
|
||||
|> $(DEPOT_BIN_DIR)/$(BIN_NAME)/current/%b
|
||||
|> $(DEPOT_BIN_DIR)/$(BIN_NAME)/current/%b $(DEPOT_DIR)/<bin>
|
||||
|
||||
!collect_pkg_runtime = | $(VERSIONS_SED_FILE) |> ^ package %f^ \
|
||||
xmllint --noout -schema $(ERRATA_DIR)/runtime.xsd %f; \
|
||||
|
@ -122,11 +121,11 @@ AWK_LOCAL_ARCHIVES = awk -F '/' \
|
|||
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/runtime \
|
||||
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/archives \
|
||||
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/.ARCHIVES \
|
||||
$(DEPOT_DIR)/<packages>
|
||||
$(DEPOT_DIR)/<pkg>
|
||||
|
||||
!collect_pkg = |> ^ COLLECT %b^ cp %f %o \
|
||||
|> $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/%b \
|
||||
$(DEPOT_DIR)/<packages>
|
||||
$(DEPOT_DIR)/<pkg>
|
||||
|
||||
VERSIONS_SED_FILE = $(TUP_CWD)/versions.sed
|
||||
PKG_SED_FILE = $(TUP_CWD)/pkg.sed
|
||||
|
@ -161,15 +160,15 @@ PKG_CONFIG = PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config
|
|||
|
||||
!asm = |> ^ CC %b^ @(CC_WRAPPER) $(CC) $(DEFINES) $(CFLAGS) $(CFLAGS_%e) $(CFLAGS_%f) -D__ASSEMBLY__ $(INCLUDES) -c %f -o %o |> %B.o
|
||||
|
||||
!cc = | $(GENODE_DIR)/<pkg-config> |> ^o CC %f^ @(CC_WRAPPER) $(CC) $(DEFINES) $(CFLAGS) $(CFLAGS_%e) $(CFLAGS_%f) `$(PKG_CONFIG) --cflags $(LIBS) $(LIBS_CFLAGS)` $(INCLUDES) -c %f -o %o |> %B.o
|
||||
!cc = | $(GENODE_DIR)/<pkg-config> |> ^o CC %f^ @(CC_WRAPPER) $(CC) $(DEFINES) $(CFLAGS) $(CFLAGS_%e) $(CFLAGS_%f) `$(PKG_CONFIG) --cflags $(LIBS) $(LIBS_CFLAGS)` $(INCLUDES) -c -fPIC -g %f -o %o |> %B.o
|
||||
|
||||
!cc_port = | $(GENODE_DIR)/<pkg-config> |> ^o CC %o^ @(CC_WRAPPER) $(CC) -c $(DEFINES) $(CFLAGS) $(CFLAGS_%o) $(INCLUDES) `$(PKG_CONFIG) --cflags $(LIBS) $(LIBS_CFLAGS)` -o %o |> %B.o
|
||||
!cc_port = | $(GENODE_DIR)/<pkg-config> |> ^o CC %o^ @(CC_WRAPPER) $(CC) $(DEFINES) $(CFLAGS) $(CFLAGS_%o) $(INCLUDES) `$(PKG_CONFIG) --cflags $(LIBS) $(LIBS_CFLAGS)` -c -fPIC -g -o %o |> %B.o
|
||||
|
||||
!cxx = | $(GENODE_DIR)/<pkg-config> |> ^o CXX %b^ @(CC_WRAPPER) $(CXX) $(DEFINES) $(CXXFLAGS) $(CXXFLAGS_%e) $(CXXFLAGS_%f) `$(PKG_CONFIG) --cflags $(LIBS)` $(INCLUDES) -c %f -o %o |> %B.o
|
||||
!cxx = | $(GENODE_DIR)/<pkg-config> |> ^o CXX %b^ @(CC_WRAPPER) $(CXX) $(DEFINES) $(CXXFLAGS) $(CXXFLAGS_%e) $(CXXFLAGS_%f) `$(PKG_CONFIG) --cflags $(LIBS)` $(INCLUDES) -c -fPIC -g %f -o %o |> %B.o
|
||||
|
||||
!cxx_port = | $(GENODE_DIR)/<pkg-config> |> ^o CXX %o^ @(CC_WRAPPER) $(CXX) -c $(DEFINES) $(CXXFLAGS) $(CXXFLAGS_%f) `$(PKG_CONFIG) --cflags $(LIBS)` $(INCLUDES) -o %o |> %B.o
|
||||
!cxx_port = | $(GENODE_DIR)/<pkg-config> |> ^o CXX %o^ @(CC_WRAPPER) $(CXX) $(DEFINES) $(CXXFLAGS) $(CXXFLAGS_%f) `$(PKG_CONFIG) --cflags $(LIBS)` $(INCLUDES) -c -fPIC -g -o %o |> %B.o
|
||||
|
||||
!ld = | $(GENODE_DIR)/<lib> $(GENODE_DIR)/<pkg-config> |> ^o LD %o^ $(LD) $(LDFLAGS) `$(PKG_CONFIG) --libs $(LIBS)` %f -o %o |>
|
||||
!ld = | $(GENODE_DIR)/<lib> $(GENODE_DIR)/<pkg-config> |> ^o LD %o^ $(LD) $(LDFLAGS) `$(PKG_CONFIG) --libs $(LIBS)` --whole-archive --start-group %f --no-whole-archive --end-group -o %o |>
|
||||
|
||||
!strip = |> strip -o %o %f |>
|
||||
|
||||
|
@ -198,3 +197,32 @@ endif
|
|||
tmp.o; \
|
||||
rm tmp.o; \
|
||||
|> $(STUB_DIR)/%B.lib.so $(GENODE_DIR)/<stub>
|
||||
|
||||
DHALL_PRELUDE = $(TUP_CWD)/dhall/Prelude.dhall
|
||||
DHALL_GENODE = $(TUP_CWD)/dhall/package.dhall
|
||||
DHALL_GENODE_TYPES = $(TUP_CWD)/dhall/types.dhall
|
||||
DHALL = DHALL_PRELUDE=$(DHALL_PRELUDE) DHALL_GENODE=$(DHALL_GENODE) DHALL_GENODE_TYPES=$(DHALL_GENODE_TYPES) dhall
|
||||
|
||||
!dhall = |> ^b dhall > %o^ $(DHALL) |>
|
||||
|
||||
DEPOT_MANIFEST = $(PUBLIC_DIR)/manifest.dhall
|
||||
|
||||
!index_pkg = | $(PUBLIC_DIR)/<manifest> |> ^ Generate index.dhall^\
|
||||
$(DHALL) <<< '{ info = (%f).indexInfo, name = "$(PKG_NAME)", version = ($(DEPOT_MANIFEST)).pkg.$(PKG_NAME).version }' > %o \
|
||||
|> $(PKG_DIR)/index.dhall $(DEPOT_DIR)/index/<entry>
|
||||
|
||||
!render_runtime = | $(VERSIONS_SED_FILE) |> ^o render %d runtime^ \
|
||||
$(DHALL) text <<< '$(ERRATA_DIR)/renderRuntime.dhall (%f).runtime' \
|
||||
> $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/runtime; \
|
||||
xmllint --noout -schema $(ERRATA_DIR)/runtime.xsd - \
|
||||
< $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/runtime; \
|
||||
echo $(PKG_DEPENDS) | tr ' ' '\n' | sed \
|
||||
-e 's|_/\(.*\)/\(.*\)$|local/\1/\2/current|' \
|
||||
> $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/archives; \
|
||||
sed -f $(VERSIONS_SED_FILE) $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/archives \
|
||||
> $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/.ARCHIVES; \
|
||||
|> \
|
||||
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/runtime \
|
||||
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/archives \
|
||||
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/.ARCHIVES \
|
||||
$(DEPOT_DIR)/<pkg> \
|
||||
|
|
|
@ -15,7 +15,7 @@ CONFIG_PUBLIC_KEY=6E10414EE7160781F5FEE8FFB14D043A26B3D2C7
|
|||
|
||||
CONFIG_PUBLIC_PKG_AUDIO_PLAYER=ehmry/pkg/audio_player/2019-05-15
|
||||
CONFIG_PUBLIC_PKG_AVPLAY=ehmry/pkg/avplay/2019-04-24
|
||||
CONFIG_PUBLIC_PKG_BACKDROP=ehmry/pkg/backdrop/2019-05-24
|
||||
CONFIG_PUBLIC_PKG_BACKDROP=genodelabs/pkg/backdrop/2019-07-08
|
||||
CONFIG_PUBLIC_PKG_NOUX_SYSTEM=ehmry/pkg/noux-system/2019-05-24
|
||||
CONFIG_PUBLIC_PKG_PDF_VIEW=ehmry/pkg/pdf_view/2019-05-17
|
||||
|
||||
|
@ -25,7 +25,7 @@ CONFIG_PUBLIC_SRC_CHROOT=_/src/chroot
|
|||
CONFIG_PUBLIC_SRC_EXPAT=nfeske/src/expat/2019-02-19
|
||||
CONFIG_PUBLIC_SRC_FS_LOG=_/src/fs_log
|
||||
CONFIG_PUBLIC_SRC_INIT=_/src/init
|
||||
CONFIG_PUBLIC_SRC_LIBC=nfeske/src/libc/2019-06-24
|
||||
CONFIG_PUBLIC_SRC_LIBC=genodelabs/src/libc/2019-07-08
|
||||
CONFIG_PUBLIC_SRC_LIBCRYPTO=ehmry/src/libcrypto/2019-05-24
|
||||
CONFIG_PUBLIC_SRC_LIBICONV=genodelabs/src/libiconv/2019-05-26
|
||||
CONFIG_PUBLIC_SRC_LIBMPG123=ehmry/src/libmpg123/2019-05-24
|
||||
|
|
1
dhall
Submodule
1
dhall
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 4b03fc71a4529cc35cef9dfe9d95ec431f8246e6
|
7
errata/renderRuntime.dhall
Normal file
7
errata/renderRuntime.dhall
Normal file
|
@ -0,0 +1,7 @@
|
|||
let Genode = env:DHALL_GENODE
|
||||
|
||||
let types = env:DHALL_GENODE_TYPES
|
||||
|
||||
let XML = Genode.Prelude.XML
|
||||
|
||||
in λ(runtime : types.Runtime) → XML.render (Genode.Runtime.toXML runtime)
|
|
@ -19,6 +19,7 @@
|
|||
<xs:element name="log" type="template_service"/>
|
||||
<xs:element name="nic" type="template_service"/>
|
||||
<xs:element name="nitpicker" type="template_service"/>
|
||||
<xs:element name="platform" type="template_service"/>
|
||||
<xs:element name="report" type="template_service"/>
|
||||
<xs:element name="rm" type="template_service"/>
|
||||
<xs:element name="rom" type="template_service"/>
|
||||
|
|
97
index.dhall
Normal file
97
index.dhall
Normal file
|
@ -0,0 +1,97 @@
|
|||
let owner = "ehmry"
|
||||
|
||||
let Genode = env:DHALL_GENODE
|
||||
|
||||
let Prelude = Genode.Prelude
|
||||
|
||||
let List/map = Prelude.List.map
|
||||
|
||||
let XML = Prelude.XML
|
||||
|
||||
let XML/Type =
|
||||
/home/repo/dhall-lang/Prelude/XML/Type sha256:461930f3aab769ba537d1a4fd71f411504b0c8d1c1a78d65177be8ded0df8a5c
|
||||
? /home/repo/dhall-lang/Prelude/XML/Type
|
||||
|
||||
let Entry = { info : Text, name : Text, version : Text }
|
||||
|
||||
let ownedEntry =
|
||||
λ(owner : Text)
|
||||
→ λ(e : Entry)
|
||||
→ XML.leaf
|
||||
{ name =
|
||||
"pkg"
|
||||
, attributes =
|
||||
[ { mapKey = "info", mapValue = e.info }
|
||||
, { mapKey =
|
||||
"path"
|
||||
, mapValue =
|
||||
"${owner}/pkg/${e.name}/${e.version}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
let entry = ownedEntry owner
|
||||
|
||||
let subIndex =
|
||||
λ(name : Text)
|
||||
→ λ(entries : List Entry)
|
||||
→ XML.element
|
||||
{ name =
|
||||
"index"
|
||||
, attributes =
|
||||
[ { mapKey = "name", mapValue = name } ]
|
||||
, content =
|
||||
List/map Entry XML/Type entry entries
|
||||
}
|
||||
|
||||
let emu =
|
||||
subIndex
|
||||
"Emulators and game engines"
|
||||
[ ./depot/pkg/fceumm/current/index.dhall
|
||||
, ./depot/pkg/gambatte/current/index.dhall
|
||||
, ./depot/pkg/snes9x/current/index.dhall
|
||||
, ./depot/pkg/mgba/current/index.dhall
|
||||
]
|
||||
|
||||
let games =
|
||||
subIndex
|
||||
"Games"
|
||||
[ ./depot/pkg/libretro-2048/current/index.dhall
|
||||
, ./depot/pkg/tyrquake/current/index.dhall
|
||||
]
|
||||
|
||||
let streams =
|
||||
subIndex
|
||||
"Streams"
|
||||
[ ./depot/pkg/ifm1/current/index.dhall
|
||||
, ./depot/pkg/ifm2/current/index.dhall
|
||||
, ./depot/pkg/ifm3/current/index.dhall
|
||||
]
|
||||
|
||||
let utilities =
|
||||
subIndex
|
||||
"Utilities"
|
||||
[ ./depot/pkg/depot_9P/current/index.dhall
|
||||
, ./depot/pkg/show_input/current/index.dhall
|
||||
, ./depot/pkg/nic_bus/current/index.dhall
|
||||
, ./depot/pkg/noux-system/current/index.dhall
|
||||
, ./depot/pkg/backdrop/current/index.dhall
|
||||
]
|
||||
|
||||
let index =
|
||||
XML.element
|
||||
{ name =
|
||||
"index"
|
||||
, attributes =
|
||||
XML.emptyAttributes
|
||||
, content =
|
||||
[ emu
|
||||
, games
|
||||
, streams
|
||||
, utilities
|
||||
, XML.text
|
||||
"<pkg path=\"cnuke/pkg/bsd_audio_drv/2019-07-02\" info=\"OpenBSD audio driver\"/>"
|
||||
]
|
||||
}
|
||||
|
||||
in XML.render index
|
127
index.xml
127
index.xml
|
@ -1,127 +0,0 @@
|
|||
<index>
|
||||
|
||||
<index name="Emulators and game engines">
|
||||
<pkg path="_/pkg/dosbox" info="Experimental Libretro port of DOSBox"/>
|
||||
<pkg path="_/pkg/fceumm" info="NES"/>
|
||||
<pkg path="_/pkg/gambatte" info="GB"/>
|
||||
<pkg path="_/pkg/mgba" info="GBA"/>
|
||||
<pkg path="_/pkg/nxengine" info="Cave Story engine without game data"/>
|
||||
<pkg path="_/pkg/snes9x" info="SNES"/>
|
||||
<index name="Tests">
|
||||
<pkg path="_/pkg/240pee-NES" info="NES tests"/>
|
||||
<pkg path="_/pkg/240pSuite-SNES" info="SNES tests"/>
|
||||
<pkg path="_/pkg/advanced_tests" info="An advanced test core written in C"/>
|
||||
<pkg path="_/pkg/button_test" info="Libretro joypad button test"/>
|
||||
<pkg path="_/pkg/topbench_dosbox-libretro" info="The Oldskool PC Benchmark running in DOSBox"/>
|
||||
<pkg path="_/pkg/topbench_dosbox-svn" info="The Oldskool PC Benchmark running in DOSBox"/>
|
||||
</index>
|
||||
</index>
|
||||
|
||||
<index name="Games">
|
||||
<pkg path="_/pkg/2048" info="Threes! clone"/>
|
||||
<pkg path="ehmry/pkg/abuse/2019-05-24" info="Side-scrolling shooter"/>
|
||||
<pkg path="_/pkg/cave_story-en" info="Cave Story ~ Doukutsu Monogatari is a jumping-and-shooting action game."/>
|
||||
<pkg path="_/pkg/mrboom" info="Bomberman clone"/>
|
||||
<pkg path="_/pkg/quake_dopa" info="Quake Episode 5: Dimension of the Past (id1/pak1.pak required)"/>
|
||||
<pkg path="_/pkg/streemerz" info="Streemerz remake"/>
|
||||
<pkg path="_/pkg/tyrquake" info="Quake (shareware pak)"/>
|
||||
</index>
|
||||
|
||||
<index name="Block devices">
|
||||
<!-- <pkg path="_/pkg/alpine-standard-x86" info="Alpine live ISO service"/> -->
|
||||
<!-- <pkg path="_/pkg/alpine-virt-x86_64" info="Alpine live ISO service"/> -->
|
||||
<pkg path="_/pkg/dummy_block" info="Dummy block device"/>
|
||||
<pkg path="_/pkg/fs_block_4G" info="File-system backed 4GiB block device"/>
|
||||
<pkg path="_/pkg/fs_block_8G" info="File-system backed 8GiB block device"/>
|
||||
<!-- <pkg path="_/pkg/ReactOS-live" info="ReactOS live ISO service"/> -->
|
||||
</index>
|
||||
|
||||
<index name="VMMs">
|
||||
<pkg path="genodelabs/pkg/vbox5-nova-sculpt/2019-03-18" info="VBox5 for running Linux"/>
|
||||
<pkg path="_/pkg/seoul-nova" info="Seoul VMM with routable block devices"/>
|
||||
<index name="Installers">
|
||||
<pkg path="_/pkg/fetch_alpine_x86_64" info="Fetch Alpine Linux virt ISO"/>
|
||||
<pkg path="_/pkg/fetch_freebsd_12_amd64" info="Fetch FreeBSD 12 mini-memstick"/>
|
||||
<pkg path="_/pkg/fetch_nixos_x86_64" info="Fetch NixOS minimal ISO"/>
|
||||
<pkg path="_/pkg/fetch_ubuntu_x86_64" info="Fetch Ubuntu netboot installer ISO"/>
|
||||
</index>
|
||||
<index name="Experimental">
|
||||
<pkg path="_/pkg/alpine_seoul_nova_installer" info="Alpine Linux installer as a Seoul VMM with routeable block device"/>
|
||||
<pkg path="_/pkg/openbsd_seoul_nova_installer" info="OpenBSD installer as a Seoul VMM with routeable block device"/>
|
||||
<pkg path="_/pkg/vbox5-nova" info="Vbox with routable block devices"/>
|
||||
</index>
|
||||
</index>
|
||||
|
||||
<index name="Operating system demos">
|
||||
<pkg path="_/pkg/ban.ai_multics" info="BAN.AI Public Access Multics"/>
|
||||
<pkg path="_/pkg/oberon" info="Oberon RISC emulator (requires three-button mouse)"/>
|
||||
<pkg path="_/pkg/soyuz" info="Training program for the Soyuz-TMA spacecraft"/>
|
||||
<pkg path="_/pkg/templeos" info="The Temple Operating System hosted in VirtualBox for NOVA"/>
|
||||
</index>
|
||||
|
||||
<index name="Utility">
|
||||
<index name="Audio">
|
||||
<pkg path="ehmry/pkg/bsd_audio_drv/2019-05-24" info="Cnuke's audio driver"/>
|
||||
<pkg path="ehmry/pkg/audio_player/2019-05-24" info="Cnuke's audio player"/>
|
||||
</index>
|
||||
|
||||
<index name="Graphic">
|
||||
<!-- <pkg path="ehmry/pkg/flif_capture/2019-03-22" info="Screen capture utility"/> -->
|
||||
<pkg path="_/pkg/backdrop" info="Nitpicker backdrop"/>
|
||||
<!-- <pkg path="ehmry/pkg/flif_view/2019-03-22" info="FLIF file viewer (experimental)"/> -->
|
||||
<pkg path="ehmry/pkg/grafx2/2019-05-24" info="Bitmap paint program (ported by cnuke)"/>
|
||||
</index>
|
||||
|
||||
<index name="Network">
|
||||
<pkg path="_/pkg/arora" info="Arora web browser (cproc's package with clipboard)"/>
|
||||
<pkg path="_/pkg/nic_bridge" info="Ethernet bridge"/>
|
||||
<pkg path="_/pkg/nic_bridge_logged" info="Logged ethernet bridge"/>
|
||||
<pkg path="_/pkg/nic_bus" info="Switched ethernet bus"/>
|
||||
<pkg path="_/pkg/ninep" info="9P server"/>
|
||||
<pkg path="_/pkg/ssh_client" info="SSH client"/>
|
||||
<pkg path="_/pkg/test-lwip_node" info="Standalone lwIP IPv6 node"/>
|
||||
<pkg path="_/pkg/kiosk" info="Kiosk-style web browser"/>
|
||||
</index>
|
||||
|
||||
<index name="UI">
|
||||
<pkg path="ehmry/pkg/themed_wm/2019-05-24" info="Window manager that should work"/>
|
||||
<pkg path="_/pkg/wm" info="Base window manager"/>
|
||||
<pkg path="_/pkg/motif_decorator" info="Motif style window decorator"/>
|
||||
<pkg path="_/pkg/carn_layouter" info="Piling window layouter"/>
|
||||
</index>
|
||||
|
||||
<index name="Other">
|
||||
<!-- <pkg path="_/pkg/block_shred" info="Fill a block device with psuedo-random noise"/> -->
|
||||
<pkg path="_/pkg/depot_9P" info="Serve /depot/local over 9P"/>
|
||||
<!-- <pkg path="ehmry/pkg/jitter_sponge/2019-03-31" info="Entropy source"/> -->
|
||||
<!-- <pkg path="ehmry/pkg/noux-build-x86/2019-03-20" info="Noux build environment"/> -->
|
||||
<pkg path="_/pkg/noux-system" info="Noux administration environment"/>
|
||||
<pkg path="_/pkg/show_input" info="Nitpicker input event debugger"/>
|
||||
</index>
|
||||
</index>
|
||||
|
||||
<index name="Radio streams">
|
||||
<pkg path="_/pkg/ifm1" info="Intergalactic FM 1"/>
|
||||
<pkg path="_/pkg/ifm2" info="Intergalactic FM 2"/>
|
||||
<pkg path="_/pkg/ifm3" info="Intergalactic FM 3"/>
|
||||
</index>
|
||||
|
||||
<index name="Experimental">
|
||||
<index name="Semantic audio player demo">
|
||||
<pkg path="_/pkg/blob_service" info="Blobsets package with file-system and HTTP frontends"/>
|
||||
<pkg path="_/pkg/musicbrainz_playlist_generator" info="XSPF playlist generator"/>
|
||||
<pkg path="_/pkg/xspf_view" info="XSPF playlist viewer"/>
|
||||
</index>
|
||||
<pkg path="_/pkg/4do" "3DO emulator"/>
|
||||
<pkg path="ehmry/pkg/avplay/2019-05-24"/>
|
||||
<pkg path="_/pkg/bluemsx"/>
|
||||
<pkg path="_/pkg/cruzes" info="An unfinished Picross Libretro core"/>
|
||||
<pkg path="_/pkg/monero_vanity"/>
|
||||
<pkg path="_/pkg/mu"/>
|
||||
<pkg path="_/pkg/testgl"/>
|
||||
<pkg path="_/pkg/yabause" info="Sega Saturn emulator/>
|
||||
</index>
|
||||
|
||||
<pkg path="ehmry/pkg/fonts_fs/2019-05-24" info="Fonts provider"/>
|
||||
<pkg path="_/pkg/chroot" info="Automatic file-system session partitioner"/>
|
||||
</index>
|
|
@ -1,3 +0,0 @@
|
|||
This directory contains submodules for the Libretro frontend, a version of
|
||||
libretro-common that is know to work with Genode, and a collection of cores and
|
||||
build rules.
|
|
@ -1,3 +0,0 @@
|
|||
LIBRETRO_COMM_DIR = $(TUP_CWD)/libretro-common
|
||||
GIT_VERSION = `git describe --always`
|
||||
BIN_VERSION = $(GIT_VERSION)
|
|
@ -1 +0,0 @@
|
|||
Subproject commit d714defae18cc6f3019638a8c7cf6c1d86e33ead
|
|
@ -1,14 +0,0 @@
|
|||
CORE_PKGS += libc libm
|
||||
|
||||
CFLAGS += -O3 -Wall -pedantic -std=gnu99
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,32 +0,0 @@
|
|||
<runtime ram="16M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<vfs>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
<fs/>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit b8d222ace1bf1962423111e395e01d4674776270
|
|
@ -1,24 +0,0 @@
|
|||
CORE_PKGS += libc
|
||||
|
||||
DEFINES += -O2 -DNDEBUG
|
||||
DEFINES += \
|
||||
-Wall \
|
||||
-Wno-sign-compare \
|
||||
-Wno-unused-variable \
|
||||
-Wno-unused-function \
|
||||
-Wno-uninitialized \
|
||||
-Wno-strict-aliasing \
|
||||
-Wno-overflow \
|
||||
-fno-strict-overflow \
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
DEFINES += $(FLAGS)
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
|
@ -1,43 +0,0 @@
|
|||
<runtime ram="16M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_S" to="X"/>
|
||||
<map from="KEY_A" to="Y"/>
|
||||
<map from="KEY_Q" to="L"/>
|
||||
<map from="KEY_W" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 8c2b1cf0ccd8ea8a36ae1ed7aa09ae7c2b3dc1cd
|
|
@ -1,25 +0,0 @@
|
|||
This directory contains core submodules and Genode-specific build rules. To port
|
||||
a core to Genode, add a minimal Tupfile to the upsteam repository, add a new
|
||||
directory containing the upstream Git repository here as submodule, then add a
|
||||
Tuprules.tup file in the local directory containg Genode build rules.
|
||||
|
||||
The upstream `Tupfile` should be as simple as possible. It must mirror the core
|
||||
*TARGET_NAME* defined in the Libretro makefile, the *CORE_DIR* if defined by
|
||||
Make as well, and the *include_rules* directive.
|
||||
|
||||
```tup
|
||||
TARGET_NAME=2048
|
||||
CORE_DIR=$(TUP_CWD)
|
||||
include_rules
|
||||
```
|
||||
|
||||
The local `Tuprules.tup` file contains the actual build rules. Typically a core
|
||||
repository contains `Makefile` and `Makefile.common` files, the later containing
|
||||
a list of sources files relative to a `CORE_DIR` variable, which can usually be
|
||||
included and parsed by Tup. Note that Tup cannot include files relative to a
|
||||
variable, `Tuprules.tup` must include `Makefile.common` relative to itself.
|
||||
Please refer to a `Tuprules.tup` in any of the core directories here as an
|
||||
example.
|
||||
|
||||
Unfortunately not all cores are trivally compatible with Tup, in particular
|
||||
those with makefiles that wrap a pre-Libretro Make build system.
|
|
@ -1,38 +0,0 @@
|
|||
# Implicit dependencies
|
||||
PKG_DEPENDS += \
|
||||
_/src/vfs \
|
||||
@(PUBLIC_SRC_LIBC) \
|
||||
_/src/$(BIN_NAME) \
|
||||
_/src/retro_frontend \
|
||||
|
||||
!libretro_cc = | $(GENODE_DIR)/<pkg-config> |> ^ CC %f^ \
|
||||
$(CC) \
|
||||
$(DEFINES) \
|
||||
`$(PKG_CONFIG) --cflags $(CORE_PKGS)` \
|
||||
$(CFLAGS) $(INCFLAGS) \
|
||||
`$(PKG_CONFIG) --cflags genode-lib` \
|
||||
-c %f -o %o \
|
||||
|> %f.$(TARGET_NAME).o
|
||||
|
||||
!libretro_cxx = | $(GENODE_DIR)/<pkg-config> |> ^ CXX %f^ \
|
||||
$(CXX) \
|
||||
$(DEFINES) \
|
||||
`$(PKG_CONFIG) --cflags $(CORE_PKGS)` \
|
||||
$(CXXFLAGS) $(INCFLAGS) \
|
||||
`$(PKG_CONFIG) --cflags genode-lib` \
|
||||
-c %f -o %o \
|
||||
|> %f.$(TARGET_NAME).o
|
||||
|
||||
!libretro_core_link = | $(GENODE_DIR)/<pkg-config> $(GENODE_DIR)/<stub> |> ^o LD %d^ \
|
||||
$(LD) %f -o %o \
|
||||
-shared --version-script=$(LINK_T) $(NO_UNDEFINED) \
|
||||
$(LDFLAGS) \
|
||||
`$(PKG_CONFIG) --libs $(CORE_PKGS)` \
|
||||
`$(PKG_CONFIG) --libs genode-lib` \
|
||||
-L$(STUB_DIR) \
|
||||
|> libretro.so
|
||||
|
||||
LINK_T = $(TUP_CWD)/link.T
|
||||
DEFINES += -fPIC -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565
|
||||
DEFINES += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
NO_UNDEFINED = --no-undefined
|
|
@ -1,51 +0,0 @@
|
|||
CORE_PKGS += stdcxx libc libm
|
||||
NO_UNDEFINED =
|
||||
|
||||
LIBRETRO_COMM_DIR =
|
||||
|
||||
DEBUG = 0
|
||||
LOG_PERFORMANCE = 0
|
||||
HAVE_COMPAT = 0
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
DEFINES += -O0 -g
|
||||
else
|
||||
DEFINES += -O2 -DHAVE_STDINT_H -DNDEBUG
|
||||
CXXFLAGS += -fno-exceptions -fno-rtti
|
||||
endif
|
||||
|
||||
ifeq ($(LOG_PERFORMANCE), 1)
|
||||
DEFINES += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
DEFINES += $(COREDEFINES)
|
||||
|
||||
CFLAGS += -w
|
||||
CXXFLAGS += -w
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
ifndef CONFIG_NO_NETWORK
|
||||
: |> wget --quiet http://bluemsx.msxblue.com/rel_download/%o |> blueMSXv282.zip {zip}
|
||||
|
||||
: {zip} \
|
||||
|> unzip %f -d tmp ; tar cf %o -C tmp Machines Databases ; rm -r tmp \
|
||||
|> blueMSX.tar {tar}
|
||||
|
||||
: {tar} |> !collect_raw |>
|
||||
: |> !raw |>
|
||||
endif
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(PUBLIC_SRC_STDCXX) \
|
||||
_/raw/bluemsx \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,44 +0,0 @@
|
|||
<runtime ram="32M" caps="256" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system label="MSX"/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
<rtc/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="blueMSX.tar"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
|
||||
<vfs>
|
||||
<dir name="system">
|
||||
<tar name="blueMSX.tar"/> </dir>
|
||||
<fs label="MSX"/>
|
||||
<dir name="dev"> <log label="core"/> <rtc/> </dir>
|
||||
</vfs>
|
||||
<game/>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_X" to="A"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 71fe7c9fe6b9049cb98c64ab230ce18b5d8554e0
|
|
@ -1 +0,0 @@
|
|||
Subproject commit d68f520a6ff70bd7980a6df3b82c25e3b1deb92f
|
|
@ -1,31 +0,0 @@
|
|||
CORE_PKGS += stdcxx libm
|
||||
NO_UNDEFINED =
|
||||
# Uses Genode API to create secondary stack
|
||||
LIBRETRO_COMM_DIR =
|
||||
# TODO: build against newer libretro-common
|
||||
|
||||
WITH_DYNAREC = @(TUP_ARCH)
|
||||
# TODO: will not configure correctly for every possible TUP_ARCH
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
SOURCES_CXX += $(LIBRETRO_COMM_DIR)/libco/genode.cpp
|
||||
|
||||
DEFINES += -O2 -DNDEBUG -D__GENODE__
|
||||
CFLAGS += $(COMMONFLAGS)
|
||||
|
||||
DEFINES += -DHAVE_MMAP
|
||||
# Use anonymous mmap to allocate executable memory pages
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(PUBLIC_SRC_STDCXX) \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,30 +0,0 @@
|
|||
<runtime ram="128M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
<rtc/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config ld_verbose="yes">
|
||||
<game path="/fs/dosbox.conf"/>
|
||||
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
|
||||
<vfs>
|
||||
<dir name="fs"> <fs/> </dir>
|
||||
<dir name="dev"> <log label="core"/> <rtc/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="771"/>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 6dc49e4356c78ae097fa39d5e3ccb7e50215d4bd
|
|
@ -1,45 +0,0 @@
|
|||
CORE_PKGS += stdcxx libm
|
||||
NO_UNDEFINED =
|
||||
# Uses Genode API to create secondary stack
|
||||
#LIBRETRO_COMM_DIR =
|
||||
|
||||
ifeq (@(TUP_ARCH),arm64)
|
||||
WITH_DYNAREC = arm64
|
||||
endif
|
||||
|
||||
ifeq (@(TUP_ARCH),i386)
|
||||
WITH_DYNAREC = x86
|
||||
endif
|
||||
|
||||
ifeq (@(TUP_ARCH),x86_64)
|
||||
WITH_DYNAREC = x86_64
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_DYNAREC),)
|
||||
error dynamic recompiler not configured for @(TUP_ARCH)
|
||||
endif
|
||||
|
||||
WITH_FAKE_SDL = 1
|
||||
include upstream/libretro/Makefile.common
|
||||
|
||||
DEFINES += -O1 -DNDEBUG -D__GENODE__ -DWITH_FAKE_SDL
|
||||
DEFINES += -DDB_HAVE_CLOCK_GETTIME
|
||||
DEFINES += $(COMMONFLAGS)
|
||||
|
||||
DEFINES += -DHAVE_MMAP
|
||||
# Use anonymous mmap to allocate executable memory pages
|
||||
|
||||
SOURCES_CXX += $(LIBRETRO_COMM_DIR)/libco/genode.cpp
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(PUBLIC_SRC_STDCXX) \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,30 +0,0 @@
|
|||
<runtime ram="128M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
<rtc/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<game path="/fs/dosbox.conf"/>
|
||||
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
|
||||
<vfs>
|
||||
<dir name="fs"> <fs/> </dir>
|
||||
<dir name="dev"> <log label="core"/> <rtc/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="771"/>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit fe8f21212739a3ded2b06d80a27f4c06d4331996
|
|
@ -1,19 +0,0 @@
|
|||
CORE_PKGS += libc libm
|
||||
|
||||
DEFINES += -O2 -DNDEBUG
|
||||
DEFINES += -DWANT_GRIFFIN
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
DEFINES += -DSOUND_QUALITY=0 -DPATH_MAX=1024 -DFCEU_VERSION_NUMERIC=9813 -DINLINE=inline -DPSS_STYLE=1
|
||||
DEFINES += -Wno-write-strings
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,39 +0,0 @@
|
|||
<runtime ram="16M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<game/>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_X" to="A"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 4e1bdaaed021b0f6587c61f18de081bc3876f887
|
|
@ -1,24 +0,0 @@
|
|||
CORE_PKGS += stdcxx
|
||||
NO_UNDEFINED =
|
||||
|
||||
LIBRETRO_COMM_DIR =
|
||||
|
||||
DEFINES += -O2 -DNDEBUG
|
||||
DEFINES += -DHAVE_STDINT_H
|
||||
DEFINES += -D__LIBRETRO__ -DHAVE_STDINT_H -DHAVE_INTTYPES_H
|
||||
DEFINES += -DINLINE=inline -DVIDEO_RGB565
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(PUBLIC_SRC_STDCXX) \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,40 +0,0 @@
|
|||
<runtime ram="8M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<game/>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_X" to="A"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 5fd9a1fb1dc2ae259f9f0edd7fce1549465f4fe9
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
global: retro_*;
|
||||
local: *;
|
||||
};
|
||||
|
|
@ -1 +0,0 @@
|
|||
Subproject commit ceab569d88da6846bc632a79961fb30b1aa8c186
|
|
@ -1,27 +0,0 @@
|
|||
CORE_PKGS += libc libm
|
||||
|
||||
include upstream/libretro-build/Makefile.common
|
||||
|
||||
DEFINES += -DMINIMAL_CORE=2 -DM_CORE_GBA -DM_CORE_GB
|
||||
DEFINES += -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_LOCALE -DHAVE_LOCALTIME_R
|
||||
DEFINES += -DINLINE=inline
|
||||
DEFINES += -DCOLOR_16_BIT -DCOLOR_5_6_5
|
||||
DEFINES += -DRESAMPLE_LIBRARY=2
|
||||
DEFINES += -DM_PI=3.14159265358979323846
|
||||
DEFINES += -DNDEBUG
|
||||
DEFINES += -DUSE_VFS_FILE
|
||||
|
||||
CFLAGS += -O3
|
||||
CFLAGS += $(INCLUDES)
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(PUBLIC_SRC_STDCXX) \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,42 +0,0 @@
|
|||
<runtime ram="64M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_A" to="L"/>
|
||||
<map from="KEY_S" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 22c7ae749b9b46fb0343d8f25238db62ca6156ef
|
|
@ -1,28 +0,0 @@
|
|||
CORE_PKGS += stdcxx libc libm
|
||||
|
||||
NO_UNDEFINED =
|
||||
# Uses Genode API to create secondary stack
|
||||
|
||||
LIBRETRO_COMM_DIR =
|
||||
# TODO: update libretro-common
|
||||
|
||||
CFLAGS += -O3
|
||||
CFLAGS += -DMRBOOM -DHAVE_IBXM -D_FORTIFY_SOURCE=0
|
||||
CFLAGS += -DPLATFORM=\"genode\"
|
||||
CFLAGS += -std=gnu99
|
||||
CXXFLAGS += -std=c++98
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(PUBLIC_SRC_STDCXX) \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,44 +0,0 @@
|
|||
<runtime ram="16M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<nitpicker/>
|
||||
<file_system/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_S" to="X"/>
|
||||
<map from="KEY_A" to="Y"/>
|
||||
<map from="KEY_Q" to="L"/>
|
||||
<map from="KEY_W" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 148b9f7301db2aebfc3b9190526ebde43eba170b
|
|
@ -1,26 +0,0 @@
|
|||
CORE_PKGS += libc libm
|
||||
|
||||
LIBRETRO_COMM_DIR =
|
||||
|
||||
DEFINES += -O2 -DNDEBUG
|
||||
DEFINES += -DINLINE=inline
|
||||
|
||||
include upstream/libretroBuildSystem/build/Makefile.common
|
||||
include upstream/src/makefile.all
|
||||
SOURCES_C += $(EMU_SOURCES_C)
|
||||
|
||||
DEFINES += $(COREDEFINES)
|
||||
DEFINES += $(INCFLAGS)
|
||||
|
||||
CFLAGS += -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized
|
||||
CFLAGS += -fomit-frame-pointer
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
|
||||
: |> !bin |>
|
||||
: |> !pkg |>
|
|
@ -1,24 +0,0 @@
|
|||
<runtime ram="32M" caps="256" binary="retro_frontend">
|
||||
|
||||
<requires> <file_system/> <nitpicker/> </requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config ld_vebose="yes">
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev">
|
||||
<log label="core"/>
|
||||
</dir>
|
||||
</vfs>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit d4a449c99265c7ef8680edc4cc2501bdfca30b46
|
|
@ -1,22 +0,0 @@
|
|||
CORE_PKGS += libc libm
|
||||
NO_UNDEFINED =
|
||||
# __cxa_...
|
||||
|
||||
EXTRACTDIR = $(CORE_DIR)/extract-auto
|
||||
include upstream/Makefile.common
|
||||
|
||||
DEFINES += -O2 -DNDEBUG
|
||||
DEFINES += -DHAVE_INTTYPES_H
|
||||
DEFINES += -DINLINE="inline"
|
||||
CFLAGS += -std=gnu11
|
||||
CXXFLAGS += -fno-rtti -fno-exceptions
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,41 +0,0 @@
|
|||
<runtime ram="32M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<vfs>
|
||||
<tar name="doukutsu.tar"/>
|
||||
<fs/>
|
||||
<dir name="dev"> <log/> </dir>
|
||||
</vfs>
|
||||
<game/>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_S" to="X"/>
|
||||
<map from="KEY_Q" to="L"/>
|
||||
<map from="KEY_W" to="R"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit b220b573ca8fd32fad5dfbb02679c430998395f1
|
|
@ -1,20 +0,0 @@
|
|||
RAW_VERSION = 2019-01-21
|
||||
: $(CORE_DIR)/DiskImage/Oberon-$(RAW_VERSION).dsk |> !collect_raw |>
|
||||
: |> !raw |>
|
||||
|
||||
CORE_PKGS += libc
|
||||
|
||||
include upstream/Libretro/Makefile.common
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
_/raw/oberon \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,25 +0,0 @@
|
|||
<runtime ram="32M" caps="256" binary="retro_frontend">
|
||||
|
||||
<requires> <nitpicker/> </requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
<rom label="Oberon-2019-01-21.dsk"/>
|
||||
</content>
|
||||
|
||||
<config ld_vebose="yes">
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game path="/Oberon-2019-01-21.dsk"/>
|
||||
<vfs>
|
||||
<rom name="Oberon-2019-01-21.dsk"/>
|
||||
<dir name="dev">
|
||||
<log label="core"/>
|
||||
</dir>
|
||||
</vfs>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 41aa3d5ecaab3c4dc68be3857af89c36053b02c6
|
|
@ -1,154 +0,0 @@
|
|||
CORE_PKGS += libc libm
|
||||
LDFLAGS += --no-undefined
|
||||
CFLAGS += -O3 -Wall -pedantic -std=gnu99
|
||||
|
||||
SIMPLE_DEPENDS = @(PUBLIC_SRC_STDCXX)
|
||||
|
||||
GL_DEPENDS = \
|
||||
$(SIMPLE_DEPENDS) \
|
||||
@(UPSTREAM_USER)/src/init/@(UPSTREAM_VERSION) \
|
||||
@(PUBLIC_SRC_EXPAT) \
|
||||
@(PUBLIC_SRC_MESA) \
|
||||
|
||||
ifeq ($(TARGET_NAME),testaudio_callback)
|
||||
CFLAGS += -I../../libretro-common/include
|
||||
SOURCES_C += libretro-test.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/audio.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testaudio_no_callback)
|
||||
CFLAGS += -I../../libretro-common/include
|
||||
SOURCES_C += libretro-test.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/audio.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testaudio_playback_wav)
|
||||
CFLAGS += -I../../libretro-common/include
|
||||
SOURCES_C += libretro-test.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/audio.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),button_test)
|
||||
CFLAGS += -Ilibretro-common/include
|
||||
SOURCES_C += libretro.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),freebasic)
|
||||
TARGET_NAME=
|
||||
# : fbastest.bas |> fbc -dll %f -x %o |> libretro.so {core}
|
||||
# PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
# : $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),pascal_pong)
|
||||
TARGET_NAME=
|
||||
# : pong.pas |> fpc -o%o %f |> libretro.so {core}
|
||||
# PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
# : $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),midi_test)
|
||||
SOURCES_C += libretro.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/midi.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),test)
|
||||
TARGET_NAME = simple_tests
|
||||
CFLAGS += -I../../libretro-common/include
|
||||
SOURCES_C += libretro-test.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),cruzes)
|
||||
SOURCES_C += cruzes.c ttf2c.c
|
||||
# : obj/Carlito-Regular.ttf |> ttf2c 24 font24 %f %o |> font24.h
|
||||
# : obj/Carlito-Regular.ttf |> ttf2c 16 font16 %f %o |> font16.h
|
||||
# : obj/Carlito-Regular.ttf |> ttf2c 10 font10 %f %o |> font10.h
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),advanced_tests)
|
||||
CFLAGS += -I../../libretro-common/include
|
||||
SOURCES_C += libretro-test.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/audio.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testgl_compute_shaders)
|
||||
CORE_PKGS += mesa
|
||||
CFLAGS += -Igl -DNDEBUG -DHAVE_ZIP_DEFLATE
|
||||
SOURCES_CXX += libretro/libretro.cpp
|
||||
SOURCES_CXX += gl/*.cpp
|
||||
SOURCES_CXX += app/boxes.cpp
|
||||
SOURCES_C += glsym/rglgen.c
|
||||
SOURCES_C += glsym/glsym_gl.c
|
||||
|
||||
PKG_DEPENDS += $(GL_DEPENDS)
|
||||
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testgl_ff)
|
||||
CORE_PKGS += mesa
|
||||
CFLAGS +=
|
||||
SOURCES_C += libretro_gl_ff_test.c glsym/rglgen.c glsym/glsym_gl.c
|
||||
PKG_DEPENDS += $(GL_DEPENDS)
|
||||
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testgl)
|
||||
CORE_PKGS += mesa
|
||||
CFLAGS +=
|
||||
SOURCES_C += libretro_gl_test.c
|
||||
SOURCES_C += glsym/rglgen.c
|
||||
SOURCES_C += glsym/glsym_gl.c
|
||||
|
||||
PKG_DEPENDS += $(GL_DEPENDS)
|
||||
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testsw)
|
||||
CFLAGS += -I../../libretro-common/include
|
||||
SOURCES_C += libretro-test.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testsw_vram)
|
||||
CFLAGS += -I../../libretro-common/include
|
||||
SOURCES_C += libretro-test.c
|
||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testvulkan_async_compute)
|
||||
CFLAGS += -I../../libretro-common/include -Iinclude
|
||||
SOURCES_C += libretro-test.c vulkan_symbol_wrapper.c
|
||||
PKG_DEPENDS += $(GL_DEPENDS)
|
||||
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_NAME),testvulkan)
|
||||
CFLAGS += -I../../libretro-common/include -Iinclude
|
||||
SOURCES_C += libretro-test.c vulkan_symbol_wrapper.c
|
||||
PKG_DEPENDS += $(GL_DEPENDS)
|
||||
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_NAME),)
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
: README.md |> !collect_pkg |>
|
||||
|
||||
endif
|
|
@ -1,44 +0,0 @@
|
|||
<runtime ram="16M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_S" to="X"/>
|
||||
<map from="KEY_A" to="Y"/>
|
||||
<map from="KEY_Q" to="L"/>
|
||||
<map from="KEY_W" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1,27 +0,0 @@
|
|||
<runtime ram="16M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<nitpicker/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<ram/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="3"/>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1,40 +0,0 @@
|
|||
<runtime ram="16M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<nitpicker/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_S" to="X"/>
|
||||
<map from="KEY_A" to="Y"/>
|
||||
<map from="KEY_Q" to="L"/>
|
||||
<map from="KEY_W" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1,40 +0,0 @@
|
|||
<runtime ram="16M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<nitpicker/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_S" to="X"/>
|
||||
<map from="KEY_A" to="Y"/>
|
||||
<map from="KEY_Q" to="L"/>
|
||||
<map from="KEY_W" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1,30 +0,0 @@
|
|||
<runtime ram="64M" caps="256" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<nitpicker/>
|
||||
<rom label="egl_drv.lib.so"/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="egl.lib.so"/>
|
||||
<rom label="expat.lib.so"/>
|
||||
<rom label="glapi.lib.so"/>
|
||||
<rom label="init"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="mesa.lib.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 32aa98eeaad66cc3318d6e821a7a83de75603831
|
|
@ -1,25 +0,0 @@
|
|||
CORE_PKGS += stdcxx libc libm
|
||||
NO_UNDEFINED =
|
||||
|
||||
include upstream/libretro/Makefile.common
|
||||
|
||||
CODE_DEFINES = -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic
|
||||
WARNINGS_DEFINES = -Wall -W -Wno-unused-parameter
|
||||
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
CFLAGS += -DHAVE_STDINT_H -DHAVE_STRINGS_H
|
||||
CXXFLAGS += $(CODE_DEFINES) $(WARNINGS_DEFINES)
|
||||
CXXFLAGS += -DRIGHTSHIFT_IS_SAR -D__LIBRETRO__ -DALLOW_CPU_OVERCLOCK
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(PUBLIC_SRC_STDCXX) \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,44 +0,0 @@
|
|||
<runtime ram="32M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_S" to="X"/>
|
||||
<map from="KEY_A" to="Y"/>
|
||||
<map from="KEY_Q" to="L"/>
|
||||
<map from="KEY_W" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 121576eb06ec7f1381881710d0ddd013355cd9de
|
|
@ -1,32 +0,0 @@
|
|||
CORE_PKGS += libc libm
|
||||
|
||||
LIBRETRO_COMM_DIR=
|
||||
|
||||
USE_CODEC_WAVE=1
|
||||
USE_CODEC_FLAC=1
|
||||
USE_CODEC_VORBIS=1
|
||||
|
||||
DEFINES += -DUSE_CODEC_WAVE
|
||||
DEFINES += -DUSE_CODEC_FLAC
|
||||
DEFINES += -DUSE_CODEC_VORBIS
|
||||
|
||||
DEFINES += -O2 -DNDEBUG
|
||||
|
||||
DEFINES += -DINLINE=inline
|
||||
DEFINES += -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H
|
||||
DEFINES += -DNQ_HACK -DQBASEDIR=$(CORE_DIR) -DTYR_VERSION=0.62
|
||||
DEFINES += -fomit-frame-pointer
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
ehmry/raw/quake_shareware/1.06 \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,33 +0,0 @@
|
|||
<runtime ram="64M" caps="256" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="quake_shareware.tar"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<game/>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<vfs>
|
||||
<tar name="quake_shareware.tar"/>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="3"/>
|
||||
<variables>
|
||||
<variable key="tyrquake_resolution" value="960x600"/>
|
||||
</variables>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit d058fb7e58137d92f148f1b81a8b2eb147090aab
|
|
@ -1,30 +0,0 @@
|
|||
CORE_PKGS += libc libm
|
||||
|
||||
# TODO: enable dynamic recompiler
|
||||
|
||||
include upstream/libretro/Makefile.common
|
||||
|
||||
: foreach $(C68KEXEC_SOURCE) |> !libretro_cc -O0 -DNDEBUG |> %B.o {obj}
|
||||
|
||||
CFLAGS += $(INCFLAGS)
|
||||
CFLAGS += -DSIZEOF_DOUBLE=8
|
||||
CFLAGS += -DUSE_16BPP=1
|
||||
CFLAGS += -DUSE_RGB_565=1
|
||||
CFLAGS += -DUSE_SCSP2=1
|
||||
CFLAGS += -DNO_CLI
|
||||
CFLAGS += -DHAVE_SYS_TIME_H
|
||||
CFLAGS += -DHAVE_GETTIMEOFDAY
|
||||
CFLAGS += -DVERSION=\"0.9.12\"
|
||||
CFLAGS += -DHAVE_STRCASECMP
|
||||
CFLAGS += -DINLINE="inline"
|
||||
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {obj}
|
||||
|
||||
: {obj} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,44 +0,0 @@
|
|||
<runtime ram="64M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_Z" to="Y"/>
|
||||
<map from="KEY_X" to="B"/>
|
||||
<map from="KEY_C" to="A"/>
|
||||
<map from="KEY_A" to="X"/>
|
||||
<map from="KEY_S" to="L"/>
|
||||
<map from="KEY_D" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
||||
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 7bb35b865af74282d69f4ecc35ce3a1e0f2d0099
|
|
@ -1,28 +0,0 @@
|
|||
ifndef CONFIG_NO_NETWORK
|
||||
|
||||
TARGET_NAME = quake_dopa
|
||||
RAW_VERSION = 2016-06-22
|
||||
include_rules
|
||||
|
||||
: |> wget --quiet -O %o cdn.bethsoft.com/quake/dopa.rar |> dopa.rar
|
||||
|
||||
DOPA_FILES = \
|
||||
config.cfg \
|
||||
dopa_readme.txt \
|
||||
pak0.pak \
|
||||
|
||||
: dopa.rar |> unrar x %f $(DOPA_FILES); tar cf %o $(DOPA_FILES); rm $(DOPA_FILES) |> $(RAW_DIR)/quake_dopa.tar
|
||||
include &(RAW_RULES)
|
||||
|
||||
PKG_DEPENDS += \
|
||||
_/src/vfs \
|
||||
@(PUBLIC_SRC_LIBC) \
|
||||
_/src/tyrquake \
|
||||
_/src/retro_frontend \
|
||||
ehmry/raw/quake_shareware/1.06 \
|
||||
_/raw/$(RAW_NAME) \
|
||||
|
||||
: runtime |> !collect_pkg_runtime |>
|
||||
include &(PKG_RULES)
|
||||
|
||||
endif
|
|
@ -1,35 +0,0 @@
|
|||
<runtime ram="64M" caps="256" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="quake_shareware.tar"/>
|
||||
<rom label="quake_dopa.tar"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<vfs>
|
||||
<tar name="quake_shareware.tar"/>
|
||||
<dir name="dopa"> <tar name="quake_dopa.tar"/> </dir>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<game path="dopa/pak0.pak"/>
|
||||
<default-controller port="0" device="3"/>
|
||||
<variables>
|
||||
<variable key="tyrquake_resolution" value="960x600"/>
|
||||
</variables>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1,25 +0,0 @@
|
|||
ifndef CONFIG_NO_NETWORK
|
||||
|
||||
TARGET_NAME = streemerz
|
||||
RAW_VERSION = 02
|
||||
include_rules
|
||||
|
||||
: |> wget --quiet https://www.fauxgame.com/downloads/%o \
|
||||
|> streemerz-v02.zip {zip}
|
||||
|
||||
: {zip} |> unzip %f \
|
||||
README.txt streemerz-v02.nes -d $(RAW_DIR) \
|
||||
|> $(RAW_DIR)/README.txt $(RAW_DIR)/streemerz-v02.nes {unzipped}
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(PUBLIC_SRC_VFS) \
|
||||
@(PUBLIC_SRC_LIBC) \
|
||||
_/src/fceumm \
|
||||
_/src/retro_frontend \
|
||||
_/raw/$(TARGET_NAME) \
|
||||
|
||||
: runtime |> !collect_pkg_runtime |>
|
||||
|
||||
include &(RAW_RULES)
|
||||
|
||||
endif
|
|
@ -1,39 +0,0 @@
|
|||
<runtime ram="16M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="streemerz-v02.nes"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<rom name="streemerz-v02.nes"/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 7437ccc0fb92c8177a980b8b45e2a3e995f98f8c
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 90e1d41b851cb812ab841344a21c4e61f5ff4232
|
Binary file not shown.
|
@ -1,20 +0,0 @@
|
|||
TARGET_NAME = 240pSuite-SNES
|
||||
RAW_VERSION = 1.03
|
||||
include_rules
|
||||
|
||||
# Mirrored here, fuck sourceforge
|
||||
: 240pSuite-SNES-$(RAW_VERSION).zip |> unzip %f \
|
||||
240pSuite.sfc README.TXT \
|
||||
-d $(RAW_DIR) \
|
||||
|> $(RAW_DIR)/240pSuite.sfc $(RAW_DIR)/README.TXT {unzipped}
|
||||
|
||||
PKG_DEPENDS += \
|
||||
_/src/vfs \
|
||||
@(PUBLIC_SRC_LIBC) \
|
||||
@(PUBLIC_SRC_STDCXX) \
|
||||
_/src/snes9x \
|
||||
_/src/retro_frontend \
|
||||
_/raw/$(TARGET_NAME) \
|
||||
|
||||
: runtime |> !collect_pkg_runtime |>
|
||||
include &(RAW_RULES)
|
|
@ -1,44 +0,0 @@
|
|||
<runtime ram="32M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="240pSuite.sfc"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<rom name="240pSuite.sfc"/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_S" to="X"/>
|
||||
<map from="KEY_A" to="Y"/>
|
||||
<map from="KEY_Q" to="L"/>
|
||||
<map from="KEY_W" to="R"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
Binary file not shown.
|
@ -1,21 +0,0 @@
|
|||
TARGET_NAME = 240pee-NES
|
||||
RAW_VERSION = 0.08.2
|
||||
include_rules
|
||||
|
||||
# Mirrored here, fuck sourceforge
|
||||
: 240pee-$(RAW_VERSION).zip |> unzip %f \
|
||||
240pee.nes 240pee-bnrom.nes README.md \
|
||||
-d $(RAW_DIR) \
|
||||
|> $(RAW_DIR)/240pee.nes $(RAW_DIR)/240pee-bnrom.nes $(RAW_DIR)/README.md {unzipped}
|
||||
|
||||
PKG_DEPENDS += \
|
||||
_/src/vfs \
|
||||
@(PUBLIC_SRC_LIBC) \
|
||||
_/src/fceumm \
|
||||
_/src/retro_frontend \
|
||||
_/raw/$(TARGET_NAME) \
|
||||
|
||||
: runtime |> !collect_pkg_runtime |>
|
||||
|
||||
include &(RAW_RULES)
|
||||
include &(PKG_RULES)
|
|
@ -1,39 +0,0 @@
|
|||
<runtime ram="16M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="240pee.nes"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<game/>
|
||||
<vfs>
|
||||
<rom name="240pee.nes"/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_X" to="A"/>
|
||||
<map from="KEY_Z" to="B"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1,16 +0,0 @@
|
|||
ifndef CONFIG_NO_NETWORK
|
||||
|
||||
TARGET_NAME = topbench
|
||||
include_rules
|
||||
|
||||
: |> wget --quiet https://github.com/MobyGamer/TOPBENCH/releases/download/0.38.h/%o |> TOPBV38H.ZIP {zip}
|
||||
|
||||
: {zip} \
|
||||
|> unzip -L %f -d tmp ; tar cf %o -C tmp . ; rm -r tmp \
|
||||
|> $(DEPOT_RAW_DIR)/%d/@(DEPOT_VERSION)/TOPBV38H.tar {tar}
|
||||
|
||||
RAW_VERSION = 0.38.h
|
||||
: {tar} |> !collect_raw |>
|
||||
include &(RAW_RULES)
|
||||
|
||||
endif
|
|
@ -1,3 +0,0 @@
|
|||
PKG_DEPENDS += ehmry/raw/topbench/0.38.h
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
|
@ -1,3 +0,0 @@
|
|||
TARGET_NAME = topbench_dosbox-libretro
|
||||
PKG_DEPENDS += _/src/dosbox
|
||||
include_rules
|
|
@ -1,3 +0,0 @@
|
|||
TARGET_NAME = topbench_dosbox-svn
|
||||
PKG_DEPENDS += _/src/dosbox_svn
|
||||
include_rules
|
|
@ -1,39 +0,0 @@
|
|||
<runtime ram="96M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<report/>
|
||||
<rtc/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="TOPBV38H.tar"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config ld_verbose="yes">
|
||||
<game path="/dosbox.conf"/>
|
||||
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
|
||||
<vfs>
|
||||
<inline name="dosbox.conf">
|
||||
[autoexec]
|
||||
mount c /drive_c
|
||||
c:
|
||||
TOPBENCH.EXE
|
||||
</inline>
|
||||
<dir name="drive_c">
|
||||
<tar name="TOPBV38H.tar"/>
|
||||
<fs/>
|
||||
</dir>
|
||||
<dir name="dev"> <log label="core"/> <rtc/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="771"/>
|
||||
</config>
|
||||
|
||||
</runtime>
|
31
manifest/Tupfile
Normal file
31
manifest/Tupfile
Normal file
|
@ -0,0 +1,31 @@
|
|||
ifeq (@(TUP_ARCH),x86_64)
|
||||
DEPOT_ARCH = x86_64
|
||||
endif
|
||||
|
||||
ifeq ($(DEPOT_ARCH),)
|
||||
error unhandled TUP_ARCH @(TUP_ARCH)
|
||||
endif
|
||||
|
||||
include_rules
|
||||
|
||||
: $(DEPOT_DIR)/<raw-archives> |> \
|
||||
awk -F '/' 'BEGIN { print "{=}"} {print "∧{"$3"={version=\""$4"\",owner=\"@(PUBLIC_USER)\"}}" }' $f \
|
||||
<<< %<raw-archives> | dhall > %o\
|
||||
|> raw.dhall {records}
|
||||
|
||||
: $(DEPOT_DIR)/<bin-archives> |> \
|
||||
awk -F '/' 'BEGIN { print "{=}"} {print "∧{"$3"={version=\""$4"\",owner=\"@(PUBLIC_USER)\"}}" }' $f <<< %<bin-archives> \
|
||||
| dhall > %o\
|
||||
|> bin.dhall {records}
|
||||
|
||||
SHORT_SUM = b2sum -l24
|
||||
|
||||
: $(DEPOT_DIR)/<pkg> |> \
|
||||
echo '{=}' > %o; \
|
||||
for d in `dirname %<pkg> | tr ' ' '\n' | sort -u`; do \
|
||||
echo $d/`cat $d/.ARCHIVES $d/runtime | $(SHORT_SUM)` | awk -F '/' \
|
||||
'{print "∧{"$4"={version=\""substr($6,0,6)"\",owner=\"@(PUBLIC_USER)\"}}"}' >> %o; \
|
||||
done \
|
||||
|> pkg.dhall {records}
|
||||
|
||||
: | {records} |> !dhall <<< '{bin = { $(DEPOT_ARCH) = ./bin.dhall }, pkg = ./pkg.dhall, raw = ./raw.dhall }' > %o |> $(DEPOT_MANIFEST) $(PUBLIC_DIR)/<manifest>
|
1
manifest/alex-ab.dhall
Normal file
1
manifest/alex-ab.dhall
Normal file
|
@ -0,0 +1 @@
|
|||
{ bin = { x86_64 = { ram_block = "2019-02-25" } } }
|
69
manifest/ehmry.dhall
Normal file
69
manifest/ehmry.dhall
Normal file
|
@ -0,0 +1,69 @@
|
|||
{ bin =
|
||||
{ x86_64 =
|
||||
{ block_shred =
|
||||
"2019-03-31"
|
||||
, libcrypto =
|
||||
"2019-05-24"
|
||||
, libmpg123 =
|
||||
"2019-05-24"
|
||||
, libpng =
|
||||
"2019-05-24"
|
||||
, libssh =
|
||||
"2019-05-24"
|
||||
, libssl =
|
||||
"2019-05-24"
|
||||
, menu_view =
|
||||
"2019-05-24"
|
||||
, mesa =
|
||||
"2019-05-24"
|
||||
, decorator =
|
||||
"2019-05-24"
|
||||
, mp3_audio_sink =
|
||||
"2019-05-24"
|
||||
, nic_bridge =
|
||||
"2019-05-24"
|
||||
, nit_fb =
|
||||
"2019-05-24"
|
||||
, noux =
|
||||
"2019-05-24"
|
||||
, ncurses =
|
||||
"2019-05-24"
|
||||
, rom_block =
|
||||
"2019-04-05-a"
|
||||
, sdl =
|
||||
"2019-05-24"
|
||||
, seoul-nova =
|
||||
"2019-05-01-a"
|
||||
, show_input =
|
||||
"2019-05-24"
|
||||
, ssh_client =
|
||||
"2019-05-24"
|
||||
, terminal =
|
||||
"2019-05-24-a"
|
||||
, vfs_audit =
|
||||
"2019-04-20"
|
||||
, vfs_jitterentropy =
|
||||
"2019-05-24"
|
||||
, vfs_lwip =
|
||||
"2019-05-24"
|
||||
, vfs_lxip =
|
||||
"2019-05-24"
|
||||
, window_layouter =
|
||||
"2019-05-24"
|
||||
, wm =
|
||||
"2019-05-24"
|
||||
}
|
||||
}
|
||||
, pkg =
|
||||
{ audio_player =
|
||||
"2019-05-15"
|
||||
, avplay =
|
||||
"2019-04-24"
|
||||
, backdrop =
|
||||
"2019-05-24"
|
||||
, noux-system =
|
||||
"2019-05-24"
|
||||
, pdf_view =
|
||||
"2019-05-17"
|
||||
}
|
||||
}
|
15
manifest/genodelabs.dhall
Normal file
15
manifest/genodelabs.dhall
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ bin =
|
||||
{ x86_64 =
|
||||
{ base-nova =
|
||||
"2019-05-26"
|
||||
, libiconv =
|
||||
"2019-05-26"
|
||||
, stdcxx =
|
||||
"2019-05-27"
|
||||
, vbox5-nova =
|
||||
"2019-05-28"
|
||||
, zlib =
|
||||
"2019-05-26"
|
||||
}
|
||||
}
|
||||
}
|
5
manifest/nfeske.dhall
Normal file
5
manifest/nfeske.dhall
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ bin =
|
||||
{ x86_64 =
|
||||
{ expat = "2019-02-19", libc = "2019-06-24", vfs_ttf = "2019-06-20" }
|
||||
}
|
||||
}
|
|
@ -5,7 +5,6 @@ let
|
|||
let f = (import path);
|
||||
in f (builtins.intersectAttrs (builtins.functionArgs f) (tool.nixpkgs // tool) );
|
||||
|
||||
hasSuffixNix = tool.hasSuffix ".nix";
|
||||
dir = builtins.readDir ../ports;
|
||||
in
|
||||
builtins.listToAttrs (
|
||||
|
|
35
ports/mpg123/Tupfile
Normal file
35
ports/mpg123/Tupfile
Normal file
|
@ -0,0 +1,35 @@
|
|||
TARGET_NAME = mpg123
|
||||
LIBS += libc
|
||||
include_rules
|
||||
|
||||
SOURCE_LINK = port-source
|
||||
API_LINK = port-api
|
||||
|
||||
: |> $(NIX_BUILD) .. --out-link port \
|
||||
--attr %d.source --attr %d.api |> $(SOURCE_LINK) $(API_LINK) {port}
|
||||
|
||||
: $(API_LINK) |> cp %f/pkg-config/%d.pc %o \
|
||||
|> $(PKG_CONFIG_DIR)/%d.pc $(GENODE_DIR)/<pkg-config>
|
||||
|
||||
: libmpg123.symbols |> !abi_stub |>
|
||||
|
||||
INCLUDES += -I.
|
||||
INCLUDES += -I$(SOURCE_LINK)/src/libmpg123
|
||||
INCLUDES += -I$(SOURCE_LINK)/src/compat
|
||||
INCLUDES += -I$(SOURCE_LINK)/src
|
||||
INCLUDES += -I$(API_LINK)/include
|
||||
|
||||
ifeq (@(TUP_ARCH),x86_64)
|
||||
DEFINES += -DOPT_X86_64
|
||||
run ./port_rules.sh $(SOURCE_LINK) common.files x86_64.files
|
||||
endif
|
||||
|
||||
ifeq (@(TUP_ARCH),arm)
|
||||
DEFINES += -DOPT_ARM
|
||||
run ./port_rules.sh $(SOURCE_LINK) common.files arm.files
|
||||
endif
|
||||
|
||||
: {obj} |> !lib |> libmpg123.lib.so {bin}
|
||||
: {bin} |> !collect_bin |>
|
||||
|
||||
include &(BIN_RULES)
|
1
ports/mpg123/arm.files
Normal file
1
ports/mpg123/arm.files
Normal file
|
@ -0,0 +1 @@
|
|||
src/libmpg123/synth_arm.S
|
38
ports/mpg123/common.files
Normal file
38
ports/mpg123/common.files
Normal file
|
@ -0,0 +1,38 @@
|
|||
src/compat/compat.c
|
||||
src/compat/compat_str.c
|
||||
src/libmpg123/parse.c
|
||||
src/libmpg123/layer1.c
|
||||
src/libmpg123/synth_stereo_avx.S
|
||||
src/libmpg123/feature.c
|
||||
src/libmpg123/lfs_alias.c
|
||||
src/libmpg123/synth_s32.c
|
||||
src/libmpg123/dct64_avx.S
|
||||
src/libmpg123/tabinit.c
|
||||
src/libmpg123/dct64_i386.c
|
||||
src/libmpg123/format.c
|
||||
src/libmpg123/dct64_avx_float.S
|
||||
src/libmpg123/dither.c
|
||||
src/libmpg123/synth.c
|
||||
src/libmpg123/synth_8bit.c
|
||||
src/libmpg123/layer3.c
|
||||
src/libmpg123/dct64.c
|
||||
src/libmpg123/synth_stereo_avx_accurate.S
|
||||
src/libmpg123/mpg123.h.in
|
||||
src/libmpg123/icy.c
|
||||
src/libmpg123/index.c
|
||||
src/libmpg123/equalizer.c
|
||||
src/libmpg123/readers.c
|
||||
src/libmpg123/icy2utf8.c
|
||||
src/libmpg123/stringbuf.c
|
||||
src/libmpg123/synth_real.c
|
||||
src/libmpg123/dct36_avx.S
|
||||
src/libmpg123/testcpu.c
|
||||
src/libmpg123/frame.c
|
||||
src/libmpg123/id3.c
|
||||
src/libmpg123/Makemodule.am
|
||||
src/libmpg123/ntom.c
|
||||
src/libmpg123/synth_stereo_avx_float.S
|
||||
src/libmpg123/libmpg123.c
|
||||
src/libmpg123/synth_stereo_avx_s32.S
|
||||
src/libmpg123/layer2.c
|
||||
src/libmpg123/optimize.c
|
48
ports/mpg123/config.h
Normal file
48
ports/mpg123/config.h
Normal file
|
@ -0,0 +1,48 @@
|
|||
#define ASMALIGN_BALIGN 1
|
||||
#define CCALIGN 1
|
||||
#define DYNAMIC_BUILD 1
|
||||
#define FRAME_INDEX 1
|
||||
#define GAPLESS 1
|
||||
#define HAVE_ATOLL 1
|
||||
#define HAVE_DIRENT_H 1
|
||||
#define HAVE_DLCLOSE 1
|
||||
#define HAVE_DLFCN_H 1
|
||||
#define HAVE_DLOPEN 1
|
||||
#define HAVE_DLSYM 1
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
#define HAVE_GETUID 1
|
||||
#define HAVE_INTTYPES_H 1
|
||||
#define HAVE_LIBM 1
|
||||
#define HAVE_LIMITS_H 1
|
||||
#define HAVE_MEMORY_H 1
|
||||
#define HAVE_RANDOM 1
|
||||
#define HAVE_STDINT_H 1
|
||||
#define HAVE_STDIO_H 1
|
||||
#define HAVE_STDLIB_H 1
|
||||
#define HAVE_STRERROR 1
|
||||
#define HAVE_STRINGS_H 1
|
||||
#define HAVE_STRING_H 1
|
||||
#define HAVE_SYS_IOCTL_H 1
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
#define HAVE_SYS_RESOURCE_H 1
|
||||
#define HAVE_SYS_SELECT_H 1
|
||||
#define HAVE_SYS_SIGNAL_H 1
|
||||
#define HAVE_SYS_SOUNDCARD_H 1
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
#define HAVE_SYS_WAIT_H 1
|
||||
#define HAVE_TERMIOS 1
|
||||
#define HAVE_UNISTD_H 1
|
||||
#define IEEE_FLOAT 1
|
||||
#define INDEX_SIZE 1000
|
||||
#define LFS_ALIAS_BITS 64
|
||||
#define SIZEOF_INT32_T 4
|
||||
#define SIZEOF_LONG 8
|
||||
#define SIZEOF_OFF_T 8
|
||||
#define SIZEOF_SIZE_T 8
|
||||
#define SIZEOF_SSIZE_T 8
|
||||
#define STDC_HEADERS 1
|
||||
#define USE_MODULES 1
|
||||
#define USE_NEW_HUFFTABLE 1
|
||||
#define lfs_alias_t off_t
|
27
ports/mpg123/default.nix
Normal file
27
ports/mpg123/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ preparePort, mpg123 }:
|
||||
|
||||
let
|
||||
apiVersion = 44; # found in configure.ac
|
||||
in
|
||||
preparePort rec {
|
||||
inherit (mpg123) name src;
|
||||
outputs = [ "source" "api" ];
|
||||
buildPhase =
|
||||
''
|
||||
mkdir -p $api/include $api/pkg-config
|
||||
|
||||
sed \
|
||||
-e 's/@API_VERSION@/$(API_VERSION)/' \
|
||||
-e '/@.*@/d' \
|
||||
src/libmpg123/mpg123.h.in > $api/include/mpg123.h
|
||||
|
||||
cp src/libmpg123/fmt123.h $api/include
|
||||
|
||||
sed \
|
||||
-e "s|@includedir@|$api/include|" \
|
||||
-e 's/@PACKAGE_VERSION@/${(builtins.parseDrvName name).version}/' \
|
||||
-e 's/^Libs:.*/Libs: -l:libmpg123.lib.so/' \
|
||||
-e '/@/d' \
|
||||
< libmpg123.pc.in > $api/pkg-config/mpg123.pc
|
||||
'';
|
||||
}
|
115
ports/mpg123/libmpg123.symbols
Normal file
115
ports/mpg123/libmpg123.symbols
Normal file
|
@ -0,0 +1,115 @@
|
|||
mpg123_add_string T
|
||||
mpg123_add_substring T
|
||||
mpg123_chomp_string T
|
||||
mpg123_clip T
|
||||
mpg123_close T
|
||||
mpg123_copy_string T
|
||||
mpg123_current_decoder T
|
||||
mpg123_decode T
|
||||
mpg123_decode_frame T
|
||||
mpg123_decode_frame_64 T
|
||||
mpg123_decoder T
|
||||
mpg123_decoders T
|
||||
mpg123_delete T
|
||||
mpg123_delete_pars T
|
||||
mpg123_enc_from_id3 T
|
||||
mpg123_encodings T
|
||||
mpg123_encsize T
|
||||
mpg123_eq T
|
||||
mpg123_errcode T
|
||||
mpg123_exit T
|
||||
mpg123_feature T
|
||||
mpg123_feed T
|
||||
mpg123_feedseek T
|
||||
mpg123_feedseek_64 T
|
||||
mpg123_fmt T
|
||||
mpg123_fmt_all T
|
||||
mpg123_fmt_none T
|
||||
mpg123_fmt_support T
|
||||
mpg123_format T
|
||||
mpg123_format_all T
|
||||
mpg123_format_none T
|
||||
mpg123_format_support T
|
||||
mpg123_framebyframe_decode T
|
||||
mpg123_framebyframe_decode_64 T
|
||||
mpg123_framebyframe_next T
|
||||
mpg123_framedata T
|
||||
mpg123_framelength T
|
||||
mpg123_framelength_64 T
|
||||
mpg123_framepos T
|
||||
mpg123_framepos_64 T
|
||||
mpg123_free_string T
|
||||
mpg123_geteq T
|
||||
mpg123_getformat T
|
||||
mpg123_getformat2 T
|
||||
mpg123_getpar T
|
||||
mpg123_getparam T
|
||||
mpg123_getstate T
|
||||
mpg123_getvolume T
|
||||
mpg123_grow_string T
|
||||
mpg123_icy T
|
||||
mpg123_icy2utf8 T
|
||||
mpg123_id3 T
|
||||
mpg123_index T
|
||||
mpg123_index_64 T
|
||||
mpg123_info T
|
||||
mpg123_init T
|
||||
mpg123_init_string T
|
||||
mpg123_length T
|
||||
mpg123_length_64 T
|
||||
mpg123_meta_check T
|
||||
mpg123_meta_free T
|
||||
mpg123_new T
|
||||
mpg123_new_pars T
|
||||
mpg123_noise T
|
||||
mpg123_open T
|
||||
mpg123_open_64 T
|
||||
mpg123_open_fd T
|
||||
mpg123_open_fd_64 T
|
||||
mpg123_open_feed T
|
||||
mpg123_open_handle T
|
||||
mpg123_open_handle_64 T
|
||||
mpg123_outblock T
|
||||
mpg123_par T
|
||||
mpg123_param T
|
||||
mpg123_parnew T
|
||||
mpg123_plain_strerror T
|
||||
mpg123_position T
|
||||
mpg123_position_64 T
|
||||
mpg123_rates T
|
||||
mpg123_read T
|
||||
mpg123_replace_buffer T
|
||||
mpg123_replace_reader T
|
||||
mpg123_replace_reader_64 T
|
||||
mpg123_replace_reader_handle T
|
||||
mpg123_replace_reader_handle_64 T
|
||||
mpg123_reset_eq T
|
||||
mpg123_resize_string T
|
||||
mpg123_safe_buffer T
|
||||
mpg123_scan T
|
||||
mpg123_seek T
|
||||
mpg123_seek_64 T
|
||||
mpg123_seek_frame T
|
||||
mpg123_seek_frame_64 T
|
||||
mpg123_set_filesize T
|
||||
mpg123_set_filesize_64 T
|
||||
mpg123_set_index T
|
||||
mpg123_set_index_64 T
|
||||
mpg123_set_string T
|
||||
mpg123_set_substring T
|
||||
mpg123_spf T
|
||||
mpg123_store_utf8 T
|
||||
mpg123_strerror T
|
||||
mpg123_strlen T
|
||||
mpg123_supported_decoders T
|
||||
mpg123_tell T
|
||||
mpg123_tell_64 T
|
||||
mpg123_tell_stream T
|
||||
mpg123_tell_stream_64 T
|
||||
mpg123_tellframe T
|
||||
mpg123_tellframe_64 T
|
||||
mpg123_timeframe T
|
||||
mpg123_timeframe_64 T
|
||||
mpg123_tpf T
|
||||
mpg123_volume T
|
||||
mpg123_volume_change T
|
16
ports/mpg123/port_rules.sh
Executable file
16
ports/mpg123/port_rules.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
LINK=$1
|
||||
shift
|
||||
|
||||
for LIST in $@
|
||||
do
|
||||
grep '\.c$' ${LIST} | while read f
|
||||
do
|
||||
echo ": {port} |> !cc_port ${LINK}/${f} |> ${f}.o {obj}"
|
||||
done
|
||||
grep '\.S$' ${LIST} | while read f
|
||||
do
|
||||
echo ": {port} |> !cc_port ${LINK}/${f} |> ${f}.o {obj}"
|
||||
done
|
||||
done
|
5
ports/mpg123/x86_64.files
Normal file
5
ports/mpg123/x86_64.files
Normal file
|
@ -0,0 +1,5 @@
|
|||
src/libmpg123/getcpuflags_x86_64.S
|
||||
src/libmpg123/dct64_x86_64.S
|
||||
src/libmpg123/synth_stereo_x86_64.S
|
||||
src/libmpg123/synth_x86_64.S
|
||||
src/libmpg123/dct36_x86_64.S
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user