diff options
| author | Be <be@mixxx.org> | 2021-02-03 11:42:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-03 11:42:52 -0800 |
| commit | 63ca0234f42c7de1f3b2f606bb446cfb62e254a0 (patch) | |
| tree | 229a765189166e34ec67897eb45a72f7e034c3ba | |
| parent | bad6e874546d1acc5797c9e363e72813c39d47ef (diff) | |
| download | vcpkg-63ca0234f42c7de1f3b2f606bb446cfb62e254a0.tar.gz vcpkg-63ca0234f42c7de1f3b2f606bb446cfb62e254a0.zip | |
[libebur128] add new port with version 1.2.5 (#15988)
| -rw-r--r-- | ports/libebur128/portfile.cmake | 20 | ||||
| -rw-r--r-- | ports/libebur128/vcpkg.json | 8 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/l-/libebur128.json | 9 |
4 files changed, 41 insertions, 0 deletions
diff --git a/ports/libebur128/portfile.cmake b/ports/libebur128/portfile.cmake new file mode 100644 index 000000000..5e4db581e --- /dev/null +++ b/ports/libebur128/portfile.cmake @@ -0,0 +1,20 @@ +if((VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64") AND VCPKG_TARGET_IS_WINDOWS) + message(FATAL_ERROR "${PORT} does not support Windows ARM") +endif() + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO jiixyj/libebur128 + REF v1.2.5 + SHA512 5f53c64f47bbad224840eef978bbc357f3fab091ef45f849749e5fabba0035d074451bc6e60240d3ff2c56b96faaf66fb91f32f96dcaacd9d81d3c148688c2f7 +) +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA + OPTIONS -DENABLE_INTERNAL_QUEUE_H=ON +) +vcpkg_install_cmake() +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/libebur128/vcpkg.json b/ports/libebur128/vcpkg.json new file mode 100644 index 000000000..72624b6f8 --- /dev/null +++ b/ports/libebur128/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "libebur128", + "version-string": "1.2.5", + "description": "A library implementing the EBU R128 audio loudness standard", + "homepage": "https://github.com/jiixyj/libebur128", + "license": "MIT", + "supports": "!(arm & windows)" +} diff --git a/versions/baseline.json b/versions/baseline.json index 4e2afdd1a..1904594e2 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2924,6 +2924,10 @@ "baseline": "0.6.0-1", "port-version": 0 }, + "libebur128": { + "baseline": "1.2.5", + "port-version": 0 + }, "libepoxy": { "baseline": "1.5.5", "port-version": 0 diff --git a/versions/l-/libebur128.json b/versions/l-/libebur128.json new file mode 100644 index 000000000..82a6b3543 --- /dev/null +++ b/versions/l-/libebur128.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "9bfff5d49e34c3ff392662fca4b0ab398a4148b3", + "version-string": "1.2.5", + "port-version": 0 + } + ] +} |
