mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 07:53:06 +08:00
Merge pull request #1721 from mmha/kf5plotting
[KF5] Initial port of KPlotting
This commit is contained in:
commit
4cf0ed51c8
4
ports/kf5plotting/CONTROL
Normal file
4
ports/kf5plotting/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: kf5plotting
|
||||
Version: 5.37.0
|
||||
Description: Lightweight plotting framework
|
||||
Build-Depends: ecm, qt5
|
24
ports/kf5plotting/portfile.cmake
Normal file
24
ports/kf5plotting/portfile.cmake
Normal file
@ -0,0 +1,24 @@
|
||||
include(vcpkg_common_functions)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/kplotting-5.37.0)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://download.kde.org/stable/frameworks/5.37/kplotting-5.37.0.zip"
|
||||
FILENAME "kplotting-5.37.0.zip"
|
||||
SHA512 3a1b3f993123dea7141d280cd53ae1b5e49b859e9df39a188bac216758576106efd8b744e8f10f96fac158f980d79ae94d2b27f3d85a48fcd5673263ffce3c4e
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS -DBUILD_HTML_DOCS=OFF
|
||||
-DBUILD_MAN_DOCS=OFF
|
||||
-DBUILD_QTHELP_DOCS=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Plotting)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/KF5plotting RENAME copyright)
|
Loading…
Reference in New Issue
Block a user