Skip to content

Commit

Permalink
Add qt5-activeqt library. (#3347)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsmn authored and ras0219-msft committed May 31, 2018
1 parent 8770a01 commit 5a67a5f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ports/qt5-activeqt/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: qt5-activeqt
Version: 5.9.2-0
Description: Qt5 ActiveQt Module - ActiveX components
Build-Depends: qt5-modularscripts, qt5-base
7 changes: 7 additions & 0 deletions ports/qt5-activeqt/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include(vcpkg_common_functions)

include(${CURRENT_INSTALLED_DIR}/share/qt5modularscripts/qt_modular_library.cmake)

qt_modular_library(qtactiveqt c013e5cba0b11af88161d3cad21923c4b3bf04b0905e5b0c527c1984806d0eb39f31322ff464b139f5d36b5c9f4afefe70492fc1e1f0e964e6e0eaa3f6edaaf9)

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/qt5-activeqt/platforminputcontexts)
2 changes: 1 addition & 1 deletion ports/qt5-modularscripts/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: qt5-modularscripts
Version: 3
Version: 4
Description: Vcpkg helpers to package qt5 modules
2 changes: 2 additions & 0 deletions ports/qt5-modularscripts/qt_modular_library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ function(qt_modular_library NAME HASH)
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPLv3")
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPL3")
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPL3")
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPL3-EXCEPT")
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPL3-EXCEPT")
endif()
file(INSTALL ${LICENSE_PATH} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

Expand Down

0 comments on commit 5a67a5f

Please sign in to comment.