[vcpkg baseline][dcmtk] Remove the leading spaces of pc file (#32049)

* [vcpkg baseline][dcmtk] Adding SKIP_CHECK for vcpkg_fixup_pkgconfig()

* Fix the format of pc.in file

* Remove local change
This commit is contained in:
Cheney Wang 2023-06-27 04:08:05 +08:00 committed by GitHub
parent 23fa37729d
commit a26fc81350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 41 additions and 3 deletions

View File

@ -0,0 +1,32 @@
diff --git a/CMake/dcmtk.pc.in b/CMake/dcmtk.pc.in
index 13c79c0..46fc98a 100644
--- a/CMake/dcmtk.pc.in
+++ b/CMake/dcmtk.pc.in
@@ -1,14 +1,14 @@
- prefix="@CMAKE_INSTALL_PREFIX@"
- exec_prefix="${prefix}"
- libdir="${prefix}/@CMAKE_INSTALL_LIBDIR@"
- includedir="${prefix}/include/"
+prefix="@CMAKE_INSTALL_PREFIX@"
+exec_prefix="${prefix}"
+libdir="${prefix}/@CMAKE_INSTALL_LIBDIR@"
+includedir="${prefix}/include/"
- Name: DCMTK
- Description: DICOM Toolkit (DCMTK)
- URL: https://dcmtk.org
- Version: @DCMTK_MAJOR_VERSION@.@DCMTK_MINOR_VERSION@.@DCMTK_BUILD_VERSION@
- Requires: @PKGCONF_REQ_PUB@
- Requires.private: @PKGCONF_REQ_PRIV@
- Cflags: -I"${includedir}"
- Libs: -L"${libdir}" @PKGCONF_LIBS@
- Libs.private: -L"${libdir}" @PKGCONF_LIBS_PRIV@
+Name: DCMTK
+Description: DICOM Toolkit (DCMTK)
+URL: https://dcmtk.org
+Version: @DCMTK_MAJOR_VERSION@.@DCMTK_MINOR_VERSION@.@DCMTK_BUILD_VERSION@
+Requires: @PKGCONF_REQ_PUB@
+Requires.private: @PKGCONF_REQ_PRIV@
+Cflags: -I"${includedir}"
+Libs: -L"${libdir}" @PKGCONF_LIBS@
+Libs.private: -L"${libdir}" @PKGCONF_LIBS_PRIV@

View File

@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
dcmtk.patch
windows-patch.patch
fix-pc-format.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
@ -134,6 +135,6 @@ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "
vcpkg_fixup_pkgconfig()
file(INSTALL "${SOURCE_PATH}/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYRIGHT")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

View File

@ -1,7 +1,7 @@
{
"name": "dcmtk",
"version": "3.6.7",
"port-version": 4,
"port-version": 5,
"description": "This DICOM ToolKit (DCMTK) package consists of source code, documentation and installation instructions for a set of software libraries and applications implementing part of the DICOM/MEDICOM Standard.",
"homepage": "https://github.com/DCMTK/dcmtk",
"license": "BSD-3-Clause OR BSD-2-Clause OR libtiff OR MIT OR Zlib OR Libpng",

View File

@ -2050,7 +2050,7 @@
},
"dcmtk": {
"baseline": "3.6.7",
"port-version": 4
"port-version": 5
},
"debug-assert": {
"baseline": "1.3.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a66dd62879ace07389aae2f77cc909744f9d7458",
"version": "3.6.7",
"port-version": 5
},
{
"git-tree": "99287653b98406054ee56cb8447c38aff0528444",
"version": "3.6.7",