early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/qwt/fix-dynamic-static.patch
vendored
Executable file
15
externals/vcpkg/ports/qwt/fix-dynamic-static.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/qwtconfig.pri b/qwtconfig.pri
|
||||
index 0b054e0..f93fef6 100644
|
||||
--- a/qwtconfig.pri
|
||||
+++ b/qwtconfig.pri
|
||||
@@ -72,7 +72,10 @@ QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features
|
||||
# it will be a static library.
|
||||
######################################################################
|
||||
|
||||
+CONFIG(dynamic, dynamic|static) {
|
||||
+
|
||||
QWT_CONFIG += QwtDll
|
||||
+}
|
||||
|
||||
######################################################################
|
||||
# QwtPlot enables all classes, that are needed to use the QwtPlot
|
||||
38
externals/vcpkg/ports/qwt/portfile.cmake
vendored
Executable file
38
externals/vcpkg/ports/qwt/portfile.cmake
vendored
Executable file
@@ -0,0 +1,38 @@
|
||||
vcpkg_from_sourceforge(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO qwt/qwt
|
||||
REF 6.2.0
|
||||
FILENAME "qwt-6.2.0.zip"
|
||||
SHA512 a3946c6e23481b5a2193819a1c1298db5a069d514ca60de54accb3a249403f5acd778172ae6fae24fae252767b1e58deba524de6225462f1bafd7c947996aae9
|
||||
PATCHES
|
||||
fix-dynamic-static.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_qmake(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
CONFIG+=${VCPKG_LIBRARY_LINKAGE}
|
||||
)
|
||||
|
||||
if (VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_install_qmake(
|
||||
RELEASE_TARGETS sub-src-release_ordered
|
||||
DEBUG_TARGETS sub-src-debug_ordered
|
||||
)
|
||||
else ()
|
||||
vcpkg_install_qmake(
|
||||
RELEASE_TARGETS sub-src-all-ordered
|
||||
DEBUG_TARGETS sub-src-all-ordered
|
||||
)
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
#Install the header files
|
||||
file(GLOB HEADER_FILES "${SOURCE_PATH}/src/*.h" "${SOURCE_PATH}/classincludes/*")
|
||||
file(INSTALL ${HEADER_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
15
externals/vcpkg/ports/qwt/vcpkg.json
vendored
Executable file
15
externals/vcpkg/ports/qwt/vcpkg.json
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "qwt",
|
||||
"version-semver": "6.2.0",
|
||||
"port-version": 2,
|
||||
"description": "qt widgets library for technical applications",
|
||||
"homepage": "https://sourceforge.net/projects/qwt",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qt5-base",
|
||||
"default-features": false
|
||||
},
|
||||
"qt5-svg",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user