[librsvg] Remove debug postfix (#19460)

* [librsvg] Remove debug postfix

* Update the baseline version
This commit is contained in:
Phoebe 2021-08-09 23:56:04 +08:00 committed by GitHub
parent 57bd7102d9
commit d95f86ca08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 17 deletions

View File

@ -86,8 +86,6 @@ else()
list(APPEND LIBRSVG_SOURCES rsvg.symbols)
endif()
set(CMAKE_DEBUG_POSTFIX "d")
add_library(rsvg-2.40 ${LIBRSVG_SOURCES})
add_library(pixbufloader-svg ${PIXBUFLOADERSVG_SOURCES})

View File

@ -11,25 +11,23 @@ vcpkg_extract_source_archive_ex(
ARCHIVE ${ARCHIVE}
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
configure_file(${CMAKE_CURRENT_LIST_DIR}/config.h.linux ${SOURCE_PATH}/config.h.linux COPYONLY)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
configure_file("${CMAKE_CURRENT_LIST_DIR}/config.h.linux" "${SOURCE_PATH}/config.h.linux" COPYONLY)
vcpkg_find_acquire_program(PKGCONFIG)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
PREFER_NINJA
OPTIONS
-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-librsvg TARGET_PATH share/unofficial-librsvg)
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-librsvg CONFIG_PATH share/unofficial-librsvg)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,13 +1,21 @@
{
"name": "librsvg",
"version": "2.40.20",
"port-version": 4,
"port-version": 5,
"description": "A small library to render Scalable Vector Graphics (SVG)",
"homepage": "https://gitlab.gnome.org/GNOME/librsvg",
"dependencies": [
"cairo",
"gdk-pixbuf",
"libcroco",
"pango"
"pango",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -3562,7 +3562,7 @@
},
"librsvg": {
"baseline": "2.40.20",
"port-version": 4
"port-version": 5
},
"librsync": {
"baseline": "2020-09-16",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f1c471322f23a090a973337e83f0d9743adc549d",
"version": "2.40.20",
"port-version": 5
},
{
"git-tree": "0a02c4941810ea725b6686e203ae81deb257e24c",
"version": "2.40.20",