2022-08-27 05:07:10 +08:00
set ( VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled )
if ( NOT X_VCPKG_FORCE_VCPKG_WAYLAND_LIBRARIES AND NOT VCPKG_TARGET_IS_WINDOWS )
message ( STATUS "Utils and libraries provided by '${PORT}' should be provided by your system! Install the required packages or force vcpkg libraries by setting X_VCPKG_FORCE_VCPKG_WAYLAND_LIBRARIES" )
set ( VCPKG_POLICY_EMPTY_PACKAGE enabled )
else ( )
vcpkg_from_gitlab (
G I T L A B _ U R L h t t p s : / / g i t l a b . f r e e d e s k t o p . o r g
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O w a y l a n d / w a y l a n d - p r o t o c o l s
2022-10-26 12:01:40 +08:00
R E F e 6 3 1 0 1 0 a b 7 b 9 6 9 8 8 e 7 c 6 4 c 2 4 b 7 d 9 0 f 6 4 7 1 7 e a e e e
S H A 5 1 2 e a 1 0 d 8 4 0 b 8 9 e b 0 8 1 f 0 d 5 e 2 f b c 0 3 4 f 2 4 a 5 3 b e c e b 8 d a 0 3 a e c c 6 f a c c f 3 5 f 1 f c 7 8 e 5 d 5 e 2 9 a 5 d 6 0 2 a 8 2 3 a b 4 7 7 4 c 2 6 4 5 9 9 d 0 5 4 5 6 0 2 0 f 5 0 8 8 6 c c d d e 1 9 6 a f 2 4 6 b 7 c 6 0 1 f d
2022-08-27 05:07:10 +08:00
H E A D _ R E F m a s t e r
)
2022-10-26 12:01:40 +08:00
vcpkg_configure_meson (
2022-08-27 05:07:10 +08:00
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2022-10-26 12:01:40 +08:00
O P T I O N S
- D t e s t s = f a l s e
2022-08-27 05:07:10 +08:00
)
2022-10-26 12:01:40 +08:00
vcpkg_install_meson ( )
2022-08-27 05:07:10 +08:00
vcpkg_fixup_pkgconfig ( )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share" )
# Handle copyright
file ( INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright )
endif ( )