[dav1d] Adding usage (#29967)

This commit is contained in:
Cheney Wang 2023-03-07 07:39:58 +08:00 committed by GitHub
parent 03e6871f8b
commit bd719c5d6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 2 deletions

View File

@ -37,4 +37,5 @@ vcpkg_install_meson()
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()
configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

6
ports/dav1d/usage Normal file
View File

@ -0,0 +1,6 @@
The package dav1d can be imported via CMake FindPkgConfig module:
find_package(PkgConfig REQUIRED)
pkg_check_modules(dav1d REQUIRED IMPORTED_TARGET dav1d)
target_link_libraries(main PkgConfig::dav1d)

View File

@ -1,6 +1,7 @@
{
"name": "dav1d",
"version": "1.1.0",
"port-version": 1,
"description": "dav1d is a new open-source AV1 decoder developed by the VideoLAN and FFmpeg communities and sponsored by the Alliance for Open Media.",
"homepage": "https://code.videolan.org/videolan/dav1d",
"license": "BSD-2-Clause",

View File

@ -1958,7 +1958,7 @@
},
"dav1d": {
"baseline": "1.1.0",
"port-version": 0
"port-version": 1
},
"daw-header-libraries": {
"baseline": "2.76.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "33290c0ea8117f5ba572eaee0a27c0213ec3fe30",
"version": "1.1.0",
"port-version": 1
},
{
"git-tree": "2533f95516074908ec446a13ea70f8f8346494e3",
"version": "1.1.0",