aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorig-or <19777752+ig-or@users.noreply.github.com>2020-08-07 11:44:13 -0700
committerGitHub <noreply@github.com>2020-08-07 11:44:13 -0700
commit5b35ffe65b6b4878090f63a429e58a06c7771c1d (patch)
treeb1d4f92aaaed2545915fd20042587471af2d7c39
parent80ef2a34554283e7a926242b0353b103aa3aae48 (diff)
downloadvcpkg-5b35ffe65b6b4878090f63a429e58a06c7771c1d.tar.gz
vcpkg-5b35ffe65b6b4878090f63a429e58a06c7771c1d.zip
[qwtw] Add new port (#12748)
* [qwtw] add new port (qwtw library) * CI baseline updated * [qwtw] CONTROL bug fix
-rw-r--r--ports/qwtw/CONTROL7
-rw-r--r--ports/qwtw/portfile.cmake19
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/qwtw/CONTROL b/ports/qwtw/CONTROL
new file mode 100644
index 000000000..2ce5b0a13
--- /dev/null
+++ b/ports/qwtw/CONTROL
@@ -0,0 +1,7 @@
+Source: qwtw
+Version: 3.0
+Homepage: https://github.com/ig-or/qwtw
+Description: qwt-based 2D plotting library
+Supports: windows & x64 & !static
+Build-Depends: qt5-base, qt5-svg, qwt, marble, boost-system, boost-filesystem, boost-date-time, boost-chrono, boost-regex, boost-thread, boost-circular-buffer, boost-asio
+
diff --git a/ports/qwtw/portfile.cmake b/ports/qwtw/portfile.cmake
new file mode 100644
index 000000000..c88ac2179
--- /dev/null
+++ b/ports/qwtw/portfile.cmake
@@ -0,0 +1,19 @@
+vcpkg_fail_port_install(ON_TARGET "LINUX" "OSX" "UWP" "ANDROID" ON_ARCH "arm" "x86" ON_LIBRARY_LINKAGE "static")
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ig-or/qwtw
+ REF 54bedcce743991f2f274bebda0ee399683a9e9bb
+ SHA512 defd7f199c8bf490f5ac69deade4a4a45581c0fa5b79cf2aa1fbec8c46bbbe1d9c9cf0f7ba383e8e92f5e6145b42a837b7dc555017893797f72dab1ce490e57a
+ HEAD_REF master
+)
+
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+vcpkg_copy_pdbs()
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)