{"id":20163958,"url":"https://github.com/webosbrew/native-toolchain","last_synced_at":"2025-03-03T03:13:13.931Z","repository":{"id":176523575,"uuid":"657496691","full_name":"webosbrew/native-toolchain","owner":"webosbrew","description":"Toolchain to build native program for webOS","archived":false,"fork":false,"pushed_at":"2024-05-19T01:49:21.000Z","size":63,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-13T14:24:11.016Z","etag":null,"topics":["toolchain","webos","webos-tv"],"latest_commit_sha":null,"homepage":"https://github.com/openlgtv/buildroot-nc4","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webosbrew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-06-23T07:32:24.000Z","updated_at":"2024-11-21T19:58:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa964680-9186-4d73-86e4-a98f8acbc451","html_url":"https://github.com/webosbrew/native-toolchain","commit_stats":null,"previous_names":["mariotaku/buildroot-nc4-sdk-ports","webosbrew/native-toolchain"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webosbrew%2Fnative-toolchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webosbrew%2Fnative-toolchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webosbrew%2Fnative-toolchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webosbrew%2Fnative-toolchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webosbrew","download_url":"https://codeload.github.com/webosbrew/native-toolchain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600492,"owners_count":19988715,"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","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":["toolchain","webos","webos-tv"],"created_at":"2024-11-14T00:32:44.305Z","updated_at":"2025-03-03T03:13:13.914Z","avatar_url":"https://github.com/webosbrew.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unofficial Native Toolchain for webOS\n\nPorts, downloads and documents for [unofficial webOS NDK](https://github.com/openlgtv/buildroot-nc4).\nYou can use this tool to develop native applications for your webOS based TV.\n\n---\n\n## Download\n\n| Operating System | x86_64                                                                                 | arm64                                                                                  |\n|------------------|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| Linux            | [arm-webos-linux-gnueabi_sdk-buildroot.tar.gz][toolchain-linux-x86_64]                 | [arm-webos-linux-gnueabi_sdk-buildroot_linux-aarch64.tar.bz2][toolchain-linux-aarch64] |\n| macOS            | [arm-webos-linux-gnueabi_sdk-buildroot_darwin-x86_64.tar.bz2][toolchain-darwin-x86_64] | [arm-webos-linux-gnueabi_sdk-buildroot_darwin-arm64.tar.bz2][toolchain-darwin-arm64]   |\n\n## Install\n\n1. Download tarball for your system listed above\n2. Extract the tarball to the location you want (please avoid having spaces and special characters in the path)\n3. Run `relocate-sdk.sh` in extracted contents\n\n## Usage\n\n### CMake\n\nWhen you build a CMake project in command line, assign `CMAKE_TOOLCHAIN_FILE` with toolchain file.\n\n```shell\ncmake -B build -DCMAKE_TOOLCHAIN_FILE=/path/to/extracted/tarball/arm-webos-linux-gnueabi_sdk-buildroot/share/buildroot/toolchainfile.cmake\n```\n\nFor VSCode [CMake Tools](https://github.com/microsoft/vscode-cmake-tools/), add entry in\n[Kit options](https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/kits.md#kit-options):\n\n```json\n[\n  {\n    \"name\": \"webOS\",\n    \"toolchainFile\": \"/path/to/extracted/tarball/arm-webos-linux-gnueabi_sdk-buildroot/share/buildroot/toolchainfile.cmake\"\n  }\n]\n```\n\n## Advanced Usage Guide: Building the Port\n\nIf your machine is not included, you can build it on your local machine. **Normally, you don't need to do this!**\n\n#### Prerequisites\n\n* GCC\n* CMake\n* Newer GNU Make (default one in macOS will probably not work)\n\n#### Build Toolchain Port\n\nPlease set `CC` and `CXX` environment variable to binary of GCC you have installed.\nIf your `LANG` environment variable is not `en_US.UTF-8`, please set to that.\n\n```shell\ncmake -E make_directory build\ncmake -B build -DCMAKE_INSTALL_PREFIX=/path/to/install/location\ncmake --build build \ncmake --install build # Ensure you have write permission to the prefix you set\n```\n\nThen the toolchain will be installed to the location you want automatically.\n\n[toolchain-linux-x86_64]: https://github.com/openlgtv/buildroot-nc4/releases/latest/download/arm-webos-linux-gnueabi_sdk-buildroot.tar.gz\n\n[toolchain-linux-aarch64]: https://github.com/webosbrew/native-toolchain/releases/latest/download/arm-webos-linux-gnueabi_sdk-buildroot_linux-aarch64.tar.bz2\n\n[toolchain-darwin-x86_64]: https://github.com/webosbrew/native-toolchain/releases/latest/download/arm-webos-linux-gnueabi_sdk-buildroot_darwin-x86_64.tar.bz2\n\n[toolchain-darwin-arm64]: https://github.com/webosbrew/native-toolchain/releases/latest/download/arm-webos-linux-gnueabi_sdk-buildroot_darwin-arm64.tar.bz2","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebosbrew%2Fnative-toolchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebosbrew%2Fnative-toolchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebosbrew%2Fnative-toolchain/lists"}