From e18d1e9653281af6f5524c08e9e12354c0b64876 Mon Sep 17 00:00:00 2001 From: Leander Schulten Date: Tue, 10 Jan 2023 16:28:49 +0100 Subject: [PATCH] [libheif] no absolute paths --- ports/libheif/portfile.cmake | 2 ++ ports/libheif/vcpkg.json | 1 + versions/baseline.json | 2 +- versions/l-/libheif.json | 5 +++++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ports/libheif/portfile.cmake b/ports/libheif/portfile.cmake index a1fdb545f925d2..b307d8daba9140 100644 --- a/ports/libheif/portfile.cmake +++ b/ports/libheif/portfile.cmake @@ -36,4 +36,6 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/libheif" "${CURRENT_PACKAGES_DIR}/debug/lib/libheif") +vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libheif/heif_version.h" "#define LIBHEIF_PLUGIN_DIRECTORY \"${CURRENT_PACKAGES_DIR}/lib/libheif\"" "") + file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/libheif/vcpkg.json b/ports/libheif/vcpkg.json index b70d0db502ab97..2d0dc3a0fef84f 100644 --- a/ports/libheif/vcpkg.json +++ b/ports/libheif/vcpkg.json @@ -1,6 +1,7 @@ { "name": "libheif", "version": "1.14.2", + "port-version": 1, "description": "Open h.265 video codec implementation.", "homepage": "http://www.libheif.org/", "license": "LGPL-3.0-only", diff --git a/versions/baseline.json b/versions/baseline.json index cb4b5d88c7f634..b941dd400fb6bd 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3882,7 +3882,7 @@ }, "libheif": { "baseline": "1.14.2", - "port-version": 0 + "port-version": 1 }, "libhsplasma": { "baseline": "2022-05-19", diff --git a/versions/l-/libheif.json b/versions/l-/libheif.json index d009e62814aeee..f587a0f6df309d 100644 --- a/versions/l-/libheif.json +++ b/versions/l-/libheif.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "fc12171b1b2824cdd6ea053a3057a7471a74657e", + "version": "1.14.2", + "port-version": 1 + }, { "git-tree": "8283de8e2ea762947ac56b69056ee48a620e78f1", "version": "1.14.2",