diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libbluray/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/libbluray/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/libbluray/portfile.cmake | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/vcpkg/ports/libbluray/portfile.cmake b/vcpkg/ports/libbluray/portfile.cmake new file mode 100644 index 0000000..e2197a8 --- /dev/null +++ b/vcpkg/ports/libbluray/portfile.cmake @@ -0,0 +1,31 @@ +vcpkg_from_gitlab( + GITLAB_URL https://code.videolan.org + OUT_SOURCE_PATH SOURCE_PATH + REPO videolan/libbluray + REF ${VERSION} + SHA512 e728f8d93b311d540a3883ba869fdc2c10e91b4009bf1796947b510d3646088dfd7aeabaebb3a1dcbf49d5afee48743bfa620fd93aa54bf948238510e7e7719f + PATCHES + msvc.diff +) + +if(NOT VCPKG_TARGET_IS_WINDOWS) + list(APPEND options -Dfontconfig=enabled) +else() + list(APPEND options -Dfontconfig=disabled) +endif() + +vcpkg_configure_meson( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Denable_tools=false + -Dbdj_jar=disabled + -Dfreetype=enabled + -Dlibxml2=enabled + ${options} +) + +vcpkg_install_meson() +vcpkg_copy_pdbs() +vcpkg_fixup_pkgconfig() + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") |