2022-06-30 14:09:44 +08:00
|
|
|
vcpkg_from_gitlab(
|
|
|
|
GITLAB_URL https://gitlab.com/inivation
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO dv/dv-processing
|
2022-08-13 06:46:29 +08:00
|
|
|
REF 6029bb4ecc06566b5f68375c68f00dfe78587baa
|
|
|
|
SHA512 9d0928e6ded1dab147814f380c57fb5b2c467c213c1fd12dddad9982e7d6a94a7bef526fcd248dd672b4b84753a44599b10d7794640ec63027152cd33b675787
|
2022-08-02 00:58:22 +08:00
|
|
|
HEAD_REF rel_1.5
|
2022-06-30 14:09:44 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_from_gitlab(
|
|
|
|
GITLAB_URL https://gitlab.com/inivation
|
|
|
|
OUT_SOURCE_PATH CMAKEMOD_SOURCE_PATH
|
|
|
|
REPO dv/cmakemod
|
|
|
|
REF a4d7eccfdc5f83e399786a77df79b178b762858b
|
|
|
|
SHA512 4fe9cc5099ab8b41c982df45cbf9a000b2cb1f1c6ed536685943a60520cff49e262ec43af8187177c50a0df2dfca57e7861bf2e7d07834fc16e85c30eb9a9edb
|
|
|
|
HEAD_REF a4d7eccfdc5f83e399786a77df79b178b762858b
|
|
|
|
)
|
|
|
|
|
|
|
|
file(GLOB CMAKEMOD_FILES ${CMAKEMOD_SOURCE_PATH}/*)
|
|
|
|
file(COPY ${CMAKEMOD_FILES} DESTINATION ${SOURCE_PATH}/cmakemod)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
OPTIONS
|
|
|
|
-DENABLE_TESTS=OFF
|
|
|
|
-DENABLE_SAMPLES=OFF
|
|
|
|
-DENABLE_PYTHON=OFF
|
2022-08-02 00:58:22 +08:00
|
|
|
-DENABLE_UTILITIES=OFF
|
2022-06-30 14:09:44 +08:00
|
|
|
-DBUILD_CONFIG_VCPKG=ON
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME "dv-processing" CONFIG_PATH "share/dv-processing")
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2022-07-21 06:07:26 +08:00
|
|
|
|
|
|
|
if (VCPKG_TARGET_IS_WINDOWS)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
else()
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
endif()
|
2022-06-30 14:09:44 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|