diff options
| author | Gerald Combs <gerald@wireshark.org> | 2020-12-29 16:03:37 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-29 16:03:37 -0800 |
| commit | a5db2166414e22148510e45d211ededf845648a8 (patch) | |
| tree | a9c5a46419c7faad4d1a8adae343b7921b9c744a | |
| parent | ba70cea27a0a579c2065192ce474e626fa24ab61 (diff) | |
| download | vcpkg-a5db2166414e22148510e45d211ededf845648a8.tar.gz vcpkg-a5db2166414e22148510e45d211ededf845648a8.zip | |
[bcg729] New port (#15322)
* [bcg729] New port
Bcg729 is a G.729 Annex A&B codec. Closes #14835.
* Update ports/bcg729/CONTROL
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Update ports/bcg729/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [bcg729] Allow *-uwp in ci.baseline.txt.
* Update ports/bcg729/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Use a manifest rather than CONTROL; portfile.cmake nitpicks.
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
| -rw-r--r-- | ports/bcg729/portfile.cmake | 25 | ||||
| -rw-r--r-- | ports/bcg729/vcpkg.json | 6 |
2 files changed, 31 insertions, 0 deletions
diff --git a/ports/bcg729/portfile.cmake b/ports/bcg729/portfile.cmake new file mode 100644 index 000000000..4a6f5c6f6 --- /dev/null +++ b/ports/bcg729/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO BelledonneCommunications/bcg729 + REF 1.1.1 + SHA512 e8cc4b7486a9a29fb729ab9fd9e3c4a2155573f38cec16f5a53db3b416fc1119ea5f5a61243a8d37cb0b64580c5df1b632ff165dc7ff47421fa567dafffaacd8 + HEAD_REF master +) + +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" ENABLE_STATIC) +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ENABLE_SHARED) + +vcpkg_configure_cmake( + SOURCE_PATH "${SOURCE_PATH}" + PREFER_NINJA + OPTIONS + -DENABLE_STATIC=${ENABLE_STATIC} + -DENABLE_SHARED=${ENABLE_SHARED} +) + +vcpkg_install_cmake() + +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") diff --git a/ports/bcg729/vcpkg.json b/ports/bcg729/vcpkg.json new file mode 100644 index 000000000..5896ad827 --- /dev/null +++ b/ports/bcg729/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "bcg729", + "version-string": "1.1.1", + "description": "Bcg729 is an open source implementation of the ITU G.729 Annex A and B codec.", + "homepage": "https://github.com/BelledonneCommunications/bcg729" +} |
