mirror of https://github.com/microsoft/vcpkg.git
[qlementine] Add port (#43914)
Co-authored-by: Jon <v-zhli17@microsoft.com>
This commit is contained in:
parent
b4a1269f8a
commit
639fa27446
|
|
@ -0,0 +1,28 @@
|
|||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO oclero/qlementine
|
||||
REF "v${VERSION}"
|
||||
SHA512 e6c2fb7855cf6152330d225b971fa8f2c2fd7b0c73ce10e1c55129606762632ae4ff4bddf23cb034dc19bd00d82f186663190d16923058eb4c2423d7c34e38a3
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DQLEMENTINE_SANDBOX=OFF
|
||||
-DQLEMENTINE_SHOWCASE=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/qlementine)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
qlementine provides CMake targets:
|
||||
|
||||
find_package(qlementine CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE qlementine::qlementine)
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"name": "qlementine",
|
||||
"version": "1.0.2",
|
||||
"description": "Modern QStyle for desktop Qt6 applications.",
|
||||
"homepage": "https://github.com/oclero/qlementine/",
|
||||
"documentation": "https://oclero.github.io/qlementine/",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"widgets"
|
||||
]
|
||||
},
|
||||
"qtsvg",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -7356,6 +7356,10 @@
|
|||
"baseline": "8.0.2",
|
||||
"port-version": 5
|
||||
},
|
||||
"qlementine": {
|
||||
"baseline": "1.0.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"qmex": {
|
||||
"baseline": "2024-10-31",
|
||||
"port-version": 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "40d552453fdeecb9cfbf222ba578c91392496fc8",
|
||||
"version": "1.0.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue