Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kf5textwidgets] new port #19766

Merged
merged 26 commits into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4dba78b
Add kf5textwidgets port
wrobelda Sep 13, 2020
463ae57
Fixed kf5textwidgets for windows
hellozee Sep 15, 2020
bb8ced2
[kf5*] update to 5.75.0
wrobelda Nov 10, 2020
fe3ed49
[kf5textwidgets] convert manifest to JSON
wrobelda Aug 27, 2021
bbfe9e6
[kf5textwidgets] use gettext port tools
wrobelda Aug 27, 2021
83fb64b
[kf5textwidgets] use current spec syntax
wrobelda Aug 27, 2021
0243071
[kf5textwidgets] remove redundant options
wrobelda Aug 27, 2021
e07b33f
[kf5textwidgets] update to 5.84
wrobelda Aug 27, 2021
fed11cf
[kf5textwidgets] only remove what's needed
wrobelda Aug 27, 2021
c4e6011
[kf5textwidgets] wrap paths in quotes
wrobelda Aug 27, 2021
5c40db8
[kf5textwidgets] default data location is OK
wrobelda Aug 27, 2021
9ab0d17
[kf5textwidgets] update versions
wrobelda Aug 27, 2021
a4faf89
[kf5textwidgets] DISABLE_PARALLEL_CONFIGURE
wrobelda Aug 27, 2021
98f88b3
[kf5textwidgets] update versions
wrobelda Aug 27, 2021
86942c1
[kf5textwidgets] fix Windows static builds
wrobelda Aug 27, 2021
eeff9e0
[kf5textwidgets] update versions
wrobelda Aug 27, 2021
3db7c45
[kf5textwidgets] remove /bin when building static
wrobelda Aug 27, 2021
60fdc13
[kf5textwidgets] update versions
wrobelda Aug 27, 2021
a95574e
[kf5textwidgets] add PACKAGE_NAME to vcpkg_cmake_config_fixup
wrobelda Aug 30, 2021
04a9997
[kf5textwidgets] update versions
wrobelda Aug 30, 2021
819fa2f
[kf5textwidgets] libiconv patches only for windows static builds
wrobelda Aug 30, 2021
720a770
[kf5textwidgets] update versions
wrobelda Aug 30, 2021
c86e5ae
[kf5textwidgets] cleanup, iconv was fixed in kf5i18n
wrobelda Sep 7, 2021
226d7fd
[kf5textwidgets] update versions
wrobelda Sep 7, 2021
b0d4fe5
[kf5textwidgets] use generic, non-semver versioning
wrobelda Sep 13, 2021
2b52314
[kf5textwidgets] update versions
wrobelda Sep 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions ports/kf5textwidgets/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/ktextwidgets
REF v5.84.0
SHA512 39afc3265c8aed26f78c836691548cafca05f31238e11f6d29e497c78b6e809d9dba5d3f6cbb9425cfe84d2a1d0910165e77c7841d833cccee3c7398e39bfc68
HEAD_REF master
)

vcpkg_cmake_configure(
DISABLE_PARALLEL_CONFIGURE
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
-DKDE_INSTALL_QTPLUGINDIR=plugins
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5TextWidgets CONFIG_PATH lib/cmake/KF5TextWidgets)
vcpkg_copy_pdbs()

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
32 changes: 32 additions & 0 deletions ports/kf5textwidgets/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "kf5textwidgets",
"version": "5.84.0",
"description": "Text editing widgets",
"homepage": "https://api.kde.org/frameworks/ktextwidgets/html/index.html",
"dependencies": [
"ecm",
{
"name": "gettext",
"host": true,
"features": [
"tools"
]
},
"kf5completion",
"kf5config",
"kf5configwidgets",
"kf5i18n",
"kf5sonnet",
"kf5widgetsaddons",
"qt5-base",
"qt5-tools",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2972,6 +2972,10 @@
"baseline": "5.84.0",
"port-version": 1
},
"kf5textwidgets": {
"baseline": "5.84.0",
"port-version": 0
},
"kf5wallet": {
"baseline": "5.84.0",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/k-/kf5textwidgets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "bdc98a609f6b939514630fb39de377fdb09560c0",
"version": "5.84.0",
"port-version": 0
}
]
}