{"id":20066131,"url":"https://github.com/gustafla/mehustin","last_synced_at":"2026-06-10T15:31:21.835Z","repository":{"id":89025465,"uuid":"142614212","full_name":"gustafla/mehustin","owner":"gustafla","description":"SDL2, stb_vorbis and rocket boilerplate in C and GNU make","archived":false,"fork":false,"pushed_at":"2023-08-06T19:44:40.000Z","size":264,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T11:14:41.898Z","etag":null,"topics":["demoscene","gnu-rocket","makefile","sdl2","stb-vorbis"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gustafla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-27T19:04:33.000Z","updated_at":"2023-04-12T16:03:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"21e69d1f-dce7-49e9-b69d-a069ea681253","html_url":"https://github.com/gustafla/mehustin","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/gustafla/mehustin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustafla%2Fmehustin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustafla%2Fmehustin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustafla%2Fmehustin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustafla%2Fmehustin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gustafla","download_url":"https://codeload.github.com/gustafla/mehustin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustafla%2Fmehustin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34159249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demoscene","gnu-rocket","makefile","sdl2","stb-vorbis"],"created_at":"2024-11-13T13:54:46.737Z","updated_at":"2026-06-10T15:31:21.803Z","avatar_url":"https://github.com/gustafla.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deprecated in favor of [gustafla/linux_demo](https://github.com/gustafla/linux_demo)\n\n## Mehustin is a system for building Linux demos using SDL2 and Rocket\n\nThis initializes an SDL2 window with OpenGL support, after which it\ndecodes music for playback using `stb_vorbis`.\nThen it loads a libdemo.so -module (debug builds only), calls it's `scene_init`\nfunction and starts calling `scene_render` in a loop. It also checks for\nkeyboard inputs and swaps the window.\n\nRelease builds don't (re)load the module dynamically.\n\n## Dependencies\n\n- GNU make\n- pkg-config\n- C99 compiler (clang and gcc tested)\n- SDL2\n- OpenGL (3.3 core by default)\n\nFor release builds of any kind:\n- sstrip from elfkickers\n\nFor monolithic builds:\n- xxd from vim\n- shader_minifier.exe by Ctrl-Alt-Test\n\nFor experimental windows builds in addition to everything above:\n- mingw-w64-gcc\n- mingw-w64-make\n- mingw-w64-pkg-config\n- mingw-w64-sdl2\n- mingw-w64-glew\n\n## Build instructions\n\nFirst time setup:\n```\ngit submodule update --init\nmake libs\n```\n\nDebugging and editing:\n```\nmake\n```\nRun with `MESA_DEBUG=1 ./debug/mehustin` and reload code with R key.\n\nRelease (separate files):\n```\nmake DEBUG=0\nmake DEBUG=0 install\n```\nA release directory with source code will be built (directory `demo`)\n\nRelease (single executable):\n```\nmake DEBUG=0 monolith\n```\nA release binary will be built (`release/demo`)\n\nRelease (Windows 64-bit, experimental):\n```\n./build_windows.sh\n```\nA release directory will be built (directory `demo`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustafla%2Fmehustin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgustafla%2Fmehustin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustafla%2Fmehustin/lists"}