Add retroarch

This commit is contained in:
Jeremy Soller 2022-07-22 21:29:28 -06:00
parent fb1809c84e
commit d35a769daf
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE

View File

@ -0,0 +1,24 @@
[source]
git = "https://github.com/jackpot51/retroarch.git"
[build]
template = "custom"
dependencies = [
"liborbital",
"sdl",
]
script = """
pushd "${COOKBOOK_SOURCE}"
./fetch-submodules.sh
popd
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
COOKBOOK_CONFIGURE_FLAGS=(
--host="${TARGET}"
--prefix="/"
--disable-networking # missing ifaddrs.h
--disable-thread_storage # crash in pthread_setspecific called by sthread_tls_set
)
cookbook_configure
"""