-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libvmaf] New port #41152
Merged
Merged
[libvmaf] New port #41152
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ceb4f5d
[libvmaf] New port
bc-lee 5d6a8bd
Apply `vcpkg x-add-version --all`
bc-lee 4d54b28
Disable libvmaf on Windows
bc-lee 6e5b648
Remove port-version
bc-lee 4ad080f
Disable cross-compilation due to failures in arm_neon_android
bc-lee f722323
Update version database
bc-lee eeebb8b
Enable Android and iOS
bc-lee 19d3675
Update version database
bc-lee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Skip tools subdir in libvmaf to build only the library. | ||
--- a/libvmaf/meson.build | ||
+++ b/libvmaf/meson.build | ||
@@ -51,6 +51,5 @@ endif | ||
|
||
subdir('include') | ||
subdir('src') | ||
-subdir('tools') | ||
subdir('doc') | ||
subdir('test') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO Netflix/vmaf | ||
REF "v${VERSION}" | ||
SHA512 9e356bb274ce7d5d85a64d2a1a122ea9d267809edd83bb6e663fb348a1a46355882eb9044982bf679f03df7f93c6f66c9b0d9a94661979b2c722db30b21c4f32 | ||
HEAD_REF master | ||
PATCHES | ||
no-tools.patch | ||
) | ||
|
||
vcpkg_find_acquire_program(NASM) | ||
get_filename_component(NASM_PATH "${NASM}" DIRECTORY) | ||
vcpkg_add_to_path("${NASM_PATH}") | ||
|
||
vcpkg_configure_meson( | ||
SOURCE_PATH "${SOURCE_PATH}/libvmaf" | ||
OPTIONS | ||
-Denable_tests=false | ||
-Denable_docs=false | ||
) | ||
|
||
vcpkg_install_meson() | ||
vcpkg_copy_pdbs() | ||
vcpkg_fixup_pkgconfig() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "libvmaf", | ||
"version": "3.0.0", | ||
"port-version": 1, | ||
"description": "libvmaf is a library developed by Netflix to compute the VMAF (Video Multi-Method Assessment Fusion) metric.", | ||
"homepage": "https://github.com/Netflix/vmaf", | ||
"license": "BSD-2-Clause-Patent", | ||
"supports": "!windows", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-tool-meson", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "0dd987af51a76e8b775c3e73dbb38f21a4d69b65", | ||
"version": "3.0.0", | ||
"port-version": 1 | ||
} | ||
] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New port doesn't need add
port-version
.