{"id":30432229,"url":"https://github.com/lizardbyte/build-deps","last_synced_at":"2026-04-27T06:00:44.078Z","repository":{"id":63540839,"uuid":"553269012","full_name":"LizardByte/build-deps","owner":"LizardByte","description":"Prebuilt dependencies for LizardByte projects.","archived":false,"fork":false,"pushed_at":"2026-04-20T02:47:05.000Z","size":1393497,"stargazers_count":7,"open_issues_count":3,"forks_count":37,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-04-20T04:43:55.341Z","etag":null,"topics":["cpm","dependencies","ffmpeg","sunshine"],"latest_commit_sha":null,"homepage":"","language":"CMake","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/LizardByte.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["LizardByte"],"patreon":"LizardByte","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://paypal.me/ReenigneArcher"]}},"created_at":"2022-10-18T01:10:09.000Z","updated_at":"2026-04-20T02:46:48.000Z","dependencies_parsed_at":"2026-04-27T06:00:34.739Z","dependency_job_id":null,"html_url":"https://github.com/LizardByte/build-deps","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/LizardByte/build-deps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LizardByte%2Fbuild-deps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LizardByte%2Fbuild-deps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LizardByte%2Fbuild-deps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LizardByte%2Fbuild-deps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LizardByte","download_url":"https://codeload.github.com/LizardByte/build-deps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LizardByte%2Fbuild-deps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32324552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["cpm","dependencies","ffmpeg","sunshine"],"created_at":"2025-08-22T20:39:32.521Z","updated_at":"2026-04-27T06:00:44.066Z","avatar_url":"https://github.com/LizardByte.png","language":"CMake","funding_links":["https://github.com/sponsors/LizardByte","https://patreon.com/LizardByte","https://paypal.me/ReenigneArcher"],"categories":[],"sub_categories":[],"readme":"# build-deps\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/lizardbyte/build-deps/ci.yml.svg?branch=master\u0026label=build\u0026logo=github\u0026style=for-the-badge)](https://github.com/LizardByte/build-deps/actions/workflows/ci.yml?query=branch%3Amaster)\n\nThis is a common set of pre-compiled dependencies for [LizardByte/Sunshine](https://github.com/LizardByte/Sunshine).\n\n- [Boost](https://www.boost.org)\n- [FFmpeg](https://ffmpeg.org)\n\n## Usage\n\n1. Add this repository as a submodule to your project.\n\n   ```bash\n   git submodule add https://github.com/LizardByte/build-deps.git third-party/build-deps\n   cd third-party/build-deps\n   git submodule update --init --recursive\n   checkout dist\n   ```\n\n## License\n\nThis repo is licensed under the MIT License, but this does not cover submodules or patches.\nPlease see the individual projects for their respective licenses.\n\n\n## Build\n\n### Checkout\n\n```bash\ngit clone --recurse-submodules https://github.com/LizardByte/build-deps.git\n```\n\nYou can reduce the size of the repo by setting the depth to 1:\n\n```bash\ngit clone --recurse-submodules --depth 1 https://github.com/LizardByte/build-deps.git\n```\n\nℹ️ If you have already cloned the repository without submodules, you can initialize them with the following command:\n\n```bash\ncd build-deps\ngit submodule update --init --recursive\n```\n\n### Line Endings\n\nℹ️ On Windows, you must copy the `.gitattributes` file to `.git/modules/third-party/FFmpeg/x264/info/attributes`,\nsee https://stackoverflow.com/a/23671157/11214013 for more info.\n\nThen run the following commands:\n```bash\ncd third-party/FFmpeg/x264\ngit checkout HEAD -- .\n```\n\n### Dependencies\n\n#### FreeBSD\n\n```bash\npkg install -y \\\n  devel/autoconf \\\n  devel/automake \\\n  devel/cmake \\\n  devel/git \\\n  devel/gmake \\\n  devel/nasm \\\n  devel/ninja \\\n  devel/pkgconf \\\n  multimedia/libass \\\n  multimedia/libv4l \\\n  multimedia/libva \\\n  multimedia/v4l_compat \\\n  print/freetype2 \\\n  security/gnutls \\\n  shells/bash \\\n  x11/libxcb \\\n  x11/libX11 \\\n  x11/libXfixes\n```\n\n#### Linux\n\n##### Debian/Ubuntu\n\n```bash\nsudo apt install -y \\\n    autoconf \\\n    automake \\\n    build-essential \\\n    cmake \\\n    git-core \\\n    libass-dev \\\n    libfreetype6-dev \\\n    libgnutls28-dev \\\n    libmp3lame-dev \\\n    libnuma-dev \\\n    libopus-dev \\\n    libsdl2-dev \\\n    libtool \\\n    libvorbis-dev \\\n    libxcb1-dev \\\n    libxcb-shm0-dev \\\n    libxcb-xfixes0-dev \\\n    make \\\n    meson \\\n    nasm \\\n    ninja-build \\\n    pkg-config \\\n    texinfo \\\n    wget \\\n    zlib1g-dev\n```\n\n#### Alpine\n\n```bash\napk add --no-cache \\\n    autoconf \\\n    automake \\\n    bash \\\n    build-base \\\n    cmake \\\n    git \\\n    libdrm-dev \\\n    libtool \\\n    libx11-dev \\\n    libxcb-dev \\\n    libxext-dev \\\n    libxfixes-dev \\\n    libxrandr-dev \\\n    linux-headers \\\n    mesa-dev \\\n    nasm \\\n    numactl-dev \\\n    pkgconf \\\n    wayland-dev\n```\n\n#### macOS\n\n```bash\nbrew install \\\n    automake \\\n    fdk-aac \\\n    git \\\n    lame \\\n    libass \\\n    libtool \\\n    libvorbis \\\n    libvpx \\\n    nasm \\\n    ninja \\\n    opus \\\n    pkg-config \\\n    sdl \\\n    shtool \\\n    texi2html \\\n    theora \\\n    wget \\\n    xvid\n```\n\n#### Windows\n\nℹ️ Cross-compilation is not supported on Windows. You must build on the target architecture.\n\nFirst, install [MSYS2](https://www.msys2.org/).\n\n##### x86_64 / amd64\n\nOpen the UCRT64 shell and run the following commands:\n\n```bash\npacman -Syu\npacman -S \\\n    diffutils \\\n    git \\\n    make \\\n    patch \\\n    pkg-config \\\n    mingw-w64-ucrt-x86_64-binutils \\\n    mingw-w64-ucrt-x86_64-cmake \\\n    mingw-w64-ucrt-x86_64-gcc \\\n    mingw-w64-ucrt-x86_64-make \\\n    mingw-w64-ucrt-x86_64-nasm \\\n    mingw-w64-ucrt-x86_64-ninja \\\n    mingw-w64-ucrt-x86_64-onevpl\n```\n\n##### aarch64 / arm64\n\nOpen the CLANGARM64 shell and run the following commands:\n\n```bash\npacman -Syu\npacman -S \\\n    diffutils \\\n    git \\\n    make \\\n    patch \\\n    pkg-config \\\n    mingw-w64-clang-aarch64-binutils \\\n    mingw-w64-clang-aarch64-cmake \\\n    mingw-w64-clang-aarch64-gcc \\\n    mingw-w64-clang-aarch64-make \\\n    mingw-w64-clang-aarch64-nasm \\\n    mingw-w64-clang-aarch64-ninja \\\n    mingw-w64-clang-aarch64-onevpl\n```\n\n### Configure\n\nUse the `Unix Makefiles` generator for Linux and macOS, and the `MSYS Makefiles` generator for Windows.\n\n#### Standard\n\n```bash\nmkdir -p ./build/dist\ncmake \\\n    -B ./build \\\n    -S . \\\n    -G \"\u003cgenerator\u003e\" \\\n    -DCMAKE_INSTALL_PREFIX=./build/dist\n```\n\n#### Cross Compile\n\n```bash\nmkdir -p ./build/dist\ncmake \\\n    -B ./build \\\n    -S . \\\n    -G \"\u003cgenerator\u003e\" \\\n    -DCMAKE_INSTALL_PREFIX=./build/dist \\\n    -DCMAKE_TOOLCHAIN_FILE=./cmake/toolchains/\u003ctarget\u003e.cmake\n```\n\n#### Windows\n\nℹ️ On Windows, the environment is sometimes not properly passed to the `make` subprocesses. To account for this, there\nare three options. If the default does not work, you can try passing in the following flags:\n\n```bash\n-DMSYS2_OPTION=3\n```\n\nValid options are, 1, 2, and 3. The default is 1.\n\n### Build\n\nℹ️ On FreeBSD, use `gmake` instead of `make`.\n\n```bash\nmake -C build\n```\n\n### Install\n\n⚠️ It is critical that the `-DCMAKE_INSTALL_PREFIX` is set to the path where you want to install the dependencies.\n\n```bash\nmake -C build install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flizardbyte%2Fbuild-deps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flizardbyte%2Fbuild-deps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flizardbyte%2Fbuild-deps/lists"}