Skip to content

Commit

Permalink
[dav1d] Adding usage (#29967)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheney-W committed Mar 6, 2023
1 parent 03e6871 commit bd719c5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ports/dav1d/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 6 additions & 0 deletions ports/dav1d/usage
Original file line number Diff line number Diff line change
@@ -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)

1 change: 1 addition & 0 deletions ports/dav1d/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,7 @@
},
"dav1d": {
"baseline": "1.1.0",
"port-version": 0
"port-version": 1
},
"daw-header-libraries": {
"baseline": "2.76.2",
Expand Down
5 changes: 5 additions & 0 deletions versions/d-/dav1d.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "33290c0ea8117f5ba572eaee0a27c0213ec3fe30",
"version": "1.1.0",
"port-version": 1
},
{
"git-tree": "2533f95516074908ec446a13ea70f8f8346494e3",
"version": "1.1.0",
Expand Down

0 comments on commit bd719c5

Please sign in to comment.