diff options
Diffstat (limited to 'ports/qcustomplot')
| -rw-r--r-- | ports/qcustomplot/CONTROL | 4 | ||||
| -rw-r--r-- | ports/qcustomplot/portfile.cmake | 4 | ||||
| -rw-r--r-- | ports/qcustomplot/vcpkg.json | 12 |
3 files changed, 15 insertions, 5 deletions
diff --git a/ports/qcustomplot/CONTROL b/ports/qcustomplot/CONTROL deleted file mode 100644 index ec7dac08f..000000000 --- a/ports/qcustomplot/CONTROL +++ /dev/null @@ -1,4 +0,0 @@ -Source: qcustomplot
-Version: 2.0.1-4
-Description: QCustomPlot is a Qt C++ widget for plotting and data visualization.
-Build-Depends: qt5-base[core]
diff --git a/ports/qcustomplot/portfile.cmake b/ports/qcustomplot/portfile.cmake index b180d8bd7..026f62fb3 100644 --- a/ports/qcustomplot/portfile.cmake +++ b/ports/qcustomplot/portfile.cmake @@ -16,7 +16,9 @@ vcpkg_download_distfile(ARCHIVE FILENAME "QCustomPlot-sharedlib-${QCP_VERSION}.tar.gz"
SHA512 ce90540fca7226eac37746327e1939a9c7af38fc2595f385ed04d6d1f49560da08fb5fae15d1b9d22b6ba578583f70de8f89ef26796770d41bf599c1b15c535d
)
-vcpkg_extract_source_archive(${ARCHIVE} ${SOURCE_PATH})
+vcpkg_extract_source_archive(SharedLib_SOURCE_PATH ARCHIVE "${ARCHIVE}")
+file(RENAME "${SharedLib_SOURCE_PATH}" "${SOURCE_PATH}/qcustomplot-sharedlib")
+
vcpkg_configure_qmake(SOURCE_PATH
${SOURCE_PATH}/qcustomplot-sharedlib/sharedlib-compilation/sharedlib-compilation.pro
diff --git a/ports/qcustomplot/vcpkg.json b/ports/qcustomplot/vcpkg.json new file mode 100644 index 000000000..6d2c2c665 --- /dev/null +++ b/ports/qcustomplot/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "qcustomplot", + "version": "2.0.1", + "port-version": 5, + "description": "QCustomPlot is a Qt C++ widget for plotting and data visualization.", + "dependencies": [ + { + "name": "qt5-base", + "default-features": false + } + ] +} |
