diff options
| author | Tom Henoch <40023589+Tom-Henoch@users.noreply.github.com> | 2018-07-09 07:34:16 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-07-08 22:34:16 -0700 |
| commit | 1258c413f62c96aa86af3fbdaed1ef9f7408a520 (patch) | |
| tree | f0e083b96f5098f3db663d0d0cd292de9b213f6b | |
| parent | a008fa29ae1d22ed7057d13840c5fc6485a254fb (diff) | |
| download | vcpkg-1258c413f62c96aa86af3fbdaed1ef9f7408a520.tar.gz vcpkg-1258c413f62c96aa86af3fbdaed1ef9f7408a520.zip | |
osg-qt initial port (#3848)
| -rw-r--r-- | ports/osg-qt/CONTROL | 4 | ||||
| -rw-r--r-- | ports/osg-qt/portfile.cmake | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/ports/osg-qt/CONTROL b/ports/osg-qt/CONTROL new file mode 100644 index 000000000..863fc8c3d --- /dev/null +++ b/ports/osg-qt/CONTROL @@ -0,0 +1,4 @@ +Source: osg-qt
+Version: 3.5.7
+Description: osgQt - Qt project for making use of OpenSceneGraph(OSG)
+Build-Depends: osg, protobuf
\ No newline at end of file diff --git a/ports/osg-qt/portfile.cmake b/ports/osg-qt/portfile.cmake new file mode 100644 index 000000000..aed06665c --- /dev/null +++ b/ports/osg-qt/portfile.cmake @@ -0,0 +1,24 @@ +include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO openscenegraph/osgQt
+ REF 6d324db8a56feb7d1976e9fb3f1de9bf7d255646
+ SHA512 6c6c0220de1b2314bc0e8ba149ef794229e0858914014dab91d577965acb19925dd64b8ee08add7b77f9353951ccf18f8e80b648509f894f3c2aaa08204b7625
+ HEAD_REF master
+)
+
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+
+#Debug
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+
+# Handle License
+file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/osg-qt)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/osg-qt/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/osg-qt/copyright)
\ No newline at end of file |
