From bdd4b345eea97ea9bcdd3f847ee1f958bbcae774 Mon Sep 17 00:00:00 2001 From: Thomas1664 <46387399+Thomas1664@users.noreply.github.com> Date: Wed, 13 Apr 2022 19:51:30 +0200 Subject: [PATCH] [libatomic-ops] Disable docs (#24105) * [libatomic-ops] Disable docs * version * Fix license * uppercase * version * confusing license terms * version --- ports/libatomic-ops/portfile.cmake | 7 ++++--- ports/libatomic-ops/vcpkg.json | 3 +++ versions/baseline.json | 2 +- versions/l-/libatomic-ops.json | 5 +++++ 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ports/libatomic-ops/portfile.cmake b/ports/libatomic-ops/portfile.cmake index 357a590f2a..239de3c26e 100644 --- a/ports/libatomic-ops/portfile.cmake +++ b/ports/libatomic-ops/portfile.cmake @@ -8,7 +8,8 @@ vcpkg_from_github( vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" - PREFER_NINJA + OPTIONS + -Denable_docs=OFF OPTIONS_DEBUG -Dinstall_headers=OFF ) @@ -17,8 +18,8 @@ vcpkg_cmake_install() vcpkg_cmake_config_fixup(PACKAGE_NAME atomic_ops CONFIG_PATH lib/cmake/atomic_ops) vcpkg_copy_pdbs() -file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) - file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") vcpkg_fixup_pkgconfig() + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/libatomic-ops/vcpkg.json b/ports/libatomic-ops/vcpkg.json index 7bbf9dcd6b..46fcf653ce 100644 --- a/ports/libatomic-ops/vcpkg.json +++ b/ports/libatomic-ops/vcpkg.json @@ -1,7 +1,10 @@ { "name": "libatomic-ops", "version": "7.7.0", + "port-version": 1, "description": "The atomic_ops project (Atomic memory update operations portable implementation)", + "homepage": "https://github.com/ivmai/libatomic_ops", + "license": null, "dependencies": [ { "name": "vcpkg-cmake", diff --git a/versions/baseline.json b/versions/baseline.json index a74e365d07..6b7d2b4dd9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3402,7 +3402,7 @@ }, "libatomic-ops": { "baseline": "7.7.0", - "port-version": 0 + "port-version": 1 }, "libavif": { "baseline": "0.9.2", diff --git a/versions/l-/libatomic-ops.json b/versions/l-/libatomic-ops.json index 9103181269..df1982c850 100644 --- a/versions/l-/libatomic-ops.json +++ b/versions/l-/libatomic-ops.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "a0165283f0349283e2d14bd752fc428fb9fffd6b", + "version": "7.7.0", + "port-version": 1 + }, { "git-tree": "6d7b45bb0c10342d8e43900fab12f2baab4eb6a1", "version": "7.7.0",