{"id":18600734,"url":"https://github.com/velocityra/game.shader.presets","last_synced_at":"2025-07-30T02:05:38.714Z","repository":{"id":56598649,"uuid":"96441148","full_name":"VelocityRa/game.shader.presets","owner":"VelocityRa","description":"Kodi binary addon for libretro meta-shader (.cgp) support","archived":false,"fork":false,"pushed_at":"2020-03-09T03:53:51.000Z","size":206,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T04:51:36.359Z","etag":null,"topics":["cg","kodi","kodi-addon","libretro","shader"],"latest_commit_sha":null,"homepage":"","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/VelocityRa.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}},"created_at":"2017-07-06T14:47:58.000Z","updated_at":"2020-03-09T03:53:54.000Z","dependencies_parsed_at":"2022-08-15T21:40:33.879Z","dependency_job_id":null,"html_url":"https://github.com/VelocityRa/game.shader.presets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VelocityRa/game.shader.presets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VelocityRa%2Fgame.shader.presets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VelocityRa%2Fgame.shader.presets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VelocityRa%2Fgame.shader.presets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VelocityRa%2Fgame.shader.presets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VelocityRa","download_url":"https://codeload.github.com/VelocityRa/game.shader.presets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VelocityRa%2Fgame.shader.presets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267797320,"owners_count":24145701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":["cg","kodi","kodi-addon","libretro","shader"],"created_at":"2024-11-07T02:05:12.924Z","updated_at":"2025-07-30T02:05:38.659Z","avatar_url":"https://github.com/VelocityRa.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shader Preset Support\nThis is a Kodi binary addon for libretro meta shader support (.cgp files). It passes things like the preset configuration and options, shader source, LUTs/texture paths to Kodi.\n\n## Building\n\nBuilding this add-on requires Kodi's internal CMake-based build system for binary add-ons. If you are cross-compiling or just packaging the add-on, it is recommended that you use the Makefile provided with Kodi.\n\nThe Makefile will download, build and install the add-on and its dependencies. There is no need to manually clone the add-on if Kodi's source is available.\n\n### Building on Linux\n\nFirst, make sure Kodi's add-on build system is installed somewhere. You can perform a system install (to `/usr/local`) or a local install (I prefer `$HOME/kodi`). Specify this when you build Kodi:\n\n```shell\n./bootstrap\n./configure --prefix=$HOME/kodi\nmake\nmake install\n```\n\nClone the repo and make sure to download the submodules too with:\n```shell\ngit clone https://github.com/VelocityRa/game.shader.presets.git --recursive\n```\nIf you just want the submodules do:\n```shell\ngit submodule update --init --recursive\n```\n\nNow, run the Makefile with the path to the build system:\n\n```shell\ncd tools/depends/target/binary-addons\nmake PREFIX=$HOME/kodi ADDONS=\"game.shader.presets\"\n```\n\nYou can specify multiple add-ons, and wildcards are accepted too. For example, `ADDONS=\"pvr.*\"` will build all pvr add-ons.\n\nOn Linux this performs a cross-compile install, so to package the add-on you'll need to copy the library and add-on files manually:\n\n```shell\nmkdir game.shader.presets\ncp -r $HOME/kodi/share/kodi/addons/game.shader.presets/ .\ncp -r $HOME/kodi/lib/kodi/addons/game.shader.presets/ .\n```\n\nTo rebuild the add-on or compile a different one, clean the build directory:\n\n```shell\nmake clean\n```\n\n### Building on OSX\n\nBuilding on OSX is similar to Linux, but all the paths are determined for you. This command will download, build and install the add-on to the `addons/` directory in your Kodi repo:\n\n```shell\ncd tools/depends/target/binary-addons\nmake ADDONS=\"game.shader.presets\"\n```\n\n### Building on Windows\n\nFirst, download and install [CMake](http://www.cmake.org/download/).\n\nTo compile on windows, open a command prompt at `tools\\buildsteps\\win32` and run the script:\n\n```\nmake-addons.bat install game.shader.presets\n```\n\n## Developing\n\nWhen developing, compiling from a git repo is more convenient than repeatedly pushing changes to a remote one for Kodi's Makefile.\n\n### Developing on Linux\n\nThe add-on requires several dependencies to build properly. Like Kodi's build system, you can perform a system install or a local one (demonstrated here).\n\nFirst, clone p8-platform and build per standard CMake:\n\n```shell\ngit clone https://github.com/Pulse-Eight/platform.git\ncd platform\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Debug \\\n      -DCMAKE_INSTALL_PREFIX=$HOME/kodi \\\n      ..\nmake\nmake install\n```\n\nThe kodi-platform library was split from p8-platform. Do the same as above for this library:\n\n```\ngit clone https://github.com/xbmc/kodi-platform.git\ncd kodi-platform\n...\n```\n\nWith these dependencies in place, the add-on can be built:\n\n```shell\ngit clone https://github.com/VelocityRa/game.shader.presets.git\ncd game.shader.presets\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Debug \\\n      -DCMAKE_PREFIX_PATH=$HOME/kodi \\\n      -DCMAKE_INSTALL_PREFIX=$HOME/workspace/kodi/addons \\\n      -DPACKAGE_ZIP=1 \\\n      ..\nmake\nmake install\n```\n\nwhere `$HOME/workspace/kodi` symlinks to the directory you cloned Kodi into.\n\n### Developing on Windows\n\nThis instructions here came from this helpful [forum post](http://forum.kodi.tv/showthread.php?tid=173361\u0026pid=2097898#pid2097898).\n\nFirst, open `tools\\windows\\prepare-binary-addons-dev.bat` and change `-DCMAKE_BUILD_TYPE=Debug ^` to `-DCMAKE_BUILD_TYPE=Release ^`.\n\nOpen a command prompt at `tools\\windows` and run the script:\n\n```shell\nprepare-binary-addons-dev.bat game.shader.presets\n```\n\nOpen `cmake\\addons\\build\\kodi-addons.sln` and build the solution. This downloads the add-on from the version specified in its text file (see above) and creates a Visual Studio project for it. If the build fails, try running it twice.\n\nThis should package and copy the add-on to the `addons/` directory. If not, you can try opening the solution `cmake\\addons\\build\\\u003caddon-id\u003e-prefix\\src\\\u003caddon-id\u003e-build\\\u003caddon-id\u003e.sln` and building the INSTALL project or, worse case, copy by hand.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocityra%2Fgame.shader.presets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelocityra%2Fgame.shader.presets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocityra%2Fgame.shader.presets/lists"}