Arcan has some interesting idiosyncrasies. One of them is using cmake. The other
is using cmake to vendor some low-level, custom-patched dependencies.
In order to work around them, I have created ... a set of custom patches!
And on top of it, I have factored the vendored sources in a separate file, in
order to clean up the `default.nix` file.
This commit creates a wrapper with the purpose of gracefully execute Arcan
applications (appls, in Arcan jargon).
In a typical FHS system, Arcan can be invoked by a commandline like `arcan
<appl>`, or more generally `arcan <arcan options> <appl> <appl options>`. In
order to emulate this behaviour, this wrapper was crafted.
It `symlinkJoin`s Arcan and the appls, and sets the relevant environment
variables accordingly.
Arcan is a powerful development framework for creating virtually anything from
user interfaces for specialized embedded applications all the way to full-blown
standalone desktop environments.
At its heart lies a robust and portable multimedia engine, with a well-tested
and well-documented Lua scripting interface. The development emphasizes
security, debuggability and performance -- guided by a principle of least
surprise in terms of API design.
(Descriptions taken from official Github site!)