Skip to content

Commit

Permalink
[Kf5testeditor] fix single config (microsoft#42726)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neumann-A authored Dec 16, 2024
1 parent e1f8cf7 commit 948820b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
12 changes: 8 additions & 4 deletions ports/kf5texteditor/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ if(VCPKG_TARGET_IS_WINDOWS)
elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
set(DATAROOT "share")
endif()
file(COPY "${CURRENT_INSTALLED_DIR}/${DATAROOT}/kservicetypes5" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin/data")
file(GLOB TEMP_DESKTOP_FILES_DBG "${CURRENT_PACKAGES_DIR}/debug/${DATAROOT}/kservicetypes5/*")
if(NOT VCPKG_BUILD_TYPE)
file(COPY "${CURRENT_INSTALLED_DIR}/${DATAROOT}/kservicetypes5" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin/data")
file(GLOB TEMP_DESKTOP_FILES_DBG "${CURRENT_PACKAGES_DIR}/debug/${DATAROOT}/kservicetypes5/*")
endif()
file(COPY "${CURRENT_INSTALLED_DIR}/${DATAROOT}/kservicetypes5" DESTINATION "${CURRENT_PACKAGES_DIR}/bin/data")
file(GLOB TEMP_DESKTOP_FILES_REL "${CURRENT_PACKAGES_DIR}/${DATAROOT}/kservicetypes5/*")
else()
file(COPY "${CURRENT_INSTALLED_DIR}/share/kservicetypes5" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/share")
file(GLOB TEMP_DESKTOP_FILES_DBG "${CURRENT_PACKAGES_DIR}/debug/share/kservicetypes5/*")
if(NOT VCPKG_BUILD_TYPE)
file(COPY "${CURRENT_INSTALLED_DIR}/share/kservicetypes5" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/share")
file(GLOB TEMP_DESKTOP_FILES_DBG "${CURRENT_PACKAGES_DIR}/debug/share/kservicetypes5/*")
endif()
file(COPY "${CURRENT_INSTALLED_DIR}/share/kservicetypes5" DESTINATION "${CURRENT_PACKAGES_DIR}/share")
file(GLOB TEMP_DESKTOP_FILES_REL "${CURRENT_PACKAGES_DIR}/share/kservicetypes5/*")
endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/kf5texteditor/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kf5texteditor",
"version": "5.98.0",
"port-version": 1,
"port-version": 2,
"description": "Full text editor component",
"homepage": "https://api.kde.org/frameworks/ktexteditor/html/",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4106,7 +4106,7 @@
},
"kf5texteditor": {
"baseline": "5.98.0",
"port-version": 1
"port-version": 2
},
"kf5textwidgets": {
"baseline": "5.98.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/k-/kf5texteditor.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6eaa991090763dab7139de8114bc2c715659ef35",
"version": "5.98.0",
"port-version": 2
},
{
"git-tree": "184ee77705278a5194c32d6f6d38ea3bc19b4fd2",
"version": "5.98.0",
Expand Down

0 comments on commit 948820b

Please sign in to comment.