{"id":20026287,"url":"https://github.com/jhuix-ohos/ohos-native-build","last_synced_at":"2025-03-02T04:35:03.343Z","repository":{"id":260855301,"uuid":"882543310","full_name":"jhuix-ohos/ohos-native-build","owner":"jhuix-ohos","description":"A build set of native C/C++ third-party libraries for HarmonyOS on the Windows|MacOS|Linux platform.","archived":false,"fork":false,"pushed_at":"2024-11-13T07:40:38.000Z","size":57,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T17:13:04.047Z","etag":null,"topics":["cplusplus","harmonyos","ohos","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhuix-ohos.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":"2024-11-03T03:58:01.000Z","updated_at":"2025-01-08T07:37:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"68871385-c610-4a41-8b55-f653fd1e146b","html_url":"https://github.com/jhuix-ohos/ohos-native-build","commit_stats":null,"previous_names":["jhuix-ohos/ohos-native-build"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuix-ohos%2Fohos-native-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuix-ohos%2Fohos-native-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuix-ohos%2Fohos-native-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuix-ohos%2Fohos-native-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhuix-ohos","download_url":"https://codeload.github.com/jhuix-ohos/ohos-native-build/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460090,"owners_count":19966511,"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":["cplusplus","harmonyos","ohos","python"],"created_at":"2024-11-13T09:06:06.420Z","updated_at":"2025-03-02T04:35:03.321Z","avatar_url":"https://github.com/jhuix-ohos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OHOS-Native-Build\n\nA build set of native C/C++ third-party libraries for HarmonyOS on the Windows|MacOS|Linux platform. \n\n## Build\n\n- Download Python \u003e=3.7 installer from https://www.python.org/downloads/ and install it with adding to PATH.\n\n- Install [meson](https://mesonbuild.com) build on Mac or Linux platform: \n  \n       python3 -m pip install meson\n\n- Install [nasm](https://www.nasm.us/) on Mac or Linux platform.      \n\n* Params\n\n|name|desc.|\n|----|----|\n|ohos_sdk|HarmonyOS's sdk path. For expamle on windows platform: \u003cbr\u003e I:\\DevTools\\Huawei\\OpenHarmony\\Sdk\\12 |\n|proxy|Proxy address for download or git. |\n|archs|CPU architecture identifier for compiling libraries, separated by commas for multiple CPU architecture. For examples: \u003cbr\u003e arm64-v8a,x86_64,armeabi-v7a |\n|libs|Library names that need to be compiled, separated by commas for multiple libraries.|\n\n\n\n* Windows example\n\n        mkdir ohos\n        cd ohos\n        git clone https://github.com/jhuix-ohos/ohos-native-build.git\n        cd ohos-native-build\\build\n        build.bat --ohos_sdk=%YOUR_OHOS_SDK%  --archs=arm64-v8a,x86_64 --libs=zlib,tdnapi --proxy=http://127.0.0.1:10808\n\n* Mac or Linux example\n\n        mkdir ohos\n        cd ohos\n        git clone https://github.com/jhuix-ohos/ohos-native-build.git\n        cd ohos-native-build\\build\n        ./build.sh --ohos_sdk=$YOUR_OHOS_SDK  --archs=arm64-v8a,x86_64 --libs=zlib,tdnapi\n\n## The supported libraries\n\n|Name|Version|\n|----|----|\n|[zlib](https://github.com/madler/zlib.git)|main|\n|[mozjpeg](https://github.com/mozilla/mozjpeg.git)|main|\n|[opus](https://github.com/xiph/opus.git)|main|\n|[openssl](https://github.com/openssl/openssl/archive/refs/tags/openssl-3.3.2.tar.gz)|3.3.2|\n|[openssl_1_1_1](https://github.com/openssl/openssl.git)|OpenSSL_1_1_1-stable|\n|[openssl_1_0_2](https://github.com/openssl/openssl.git)|OpenSSL_1_0_2-stable|\n|[libyuv](https://chromium.googlesource.com/libyuv/libyuv)|main|\n|[libwebp](https://github.com/webmproject/libwebp.git)|main|\n|[openh264](https://github.com/cisco/openh264.git)|main|\n|[dav1d](https://code.videolan.org/videolan/dav1d.git)|main|\n|[libde265](https://github.com/strukturag/libde265.git)|main|\n|[libvpx](https://github.com/webmproject/libvpx.git)|main|\n|[libjxl](https://github.com/libjxl/libjxl.git)|main|\n|[libavif](https://github.com/AOMediaCodec/libavif.git)|main|\n|[libheif](https://github.com/strukturag/libheif.git)|main|\n|[ffmepg](https://github.com/FFmpeg/FFmpeg.git)|main|\n|[ffmepg](https://github.com/FFmpeg/FFmpeg.git) for telegram|main|\n|tdnapi|[tdlib](https://github.com/tdlib/td.git) main|\n\n## License\n\n[MIT](https://github.com/jhuix-ohos/ohos-native-build/blob/master/LICENSE)\n\nCopyright © 2023-present, Jhuix (Hui Jin) All Rights Reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhuix-ohos%2Fohos-native-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhuix-ohos%2Fohos-native-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhuix-ohos%2Fohos-native-build/lists"}