2022-10-26 12:25:47 +08:00
if ( NOT X_VCPKG_FORCE_VCPKG_X_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_X_LIBRARIES in your triplet!" )
set ( VCPKG_POLICY_EMPTY_PACKAGE enabled )
2024-02-22 13:59:11 +08:00
return ( )
2022-10-26 12:25:47 +08:00
endif ( )
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 / x 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 l i b / l i b x c b - e r r o r s
R E F 5 1 7 d d 8 2 c 0 7 9 d e 7 6 2 a 7 4 2 6 f 2 0 1 6 6 a 4 4 f 1 1 e 8 d 3 8 c 5 #1.0.1
S H A 5 1 2 3 9 1 f 6 b c 9 4 5 2 b f 4 d 6 a 3 f 1 f a 6 9 2 3 2 c d b e f 4 3 f 9 f c d 3 3 9 b 8 d 1 9 6 5 1 3 2 a 3 b 2 2 7 e d 7 e b c b a a d 5 5 3 f e 6 4 d 4 2 b c 5 2 5 8 1 1 c a e d f 3 f f 9 d 5 b e c 1 0 8 f 6 a c 2 e f d 5 a 0 1 4 f 7 5 f b 3 5 c b f 8 5
H E A D _ R E F m a s t e r
)
file ( TOUCH "${SOURCE_PATH}/m4/dummy" )
set ( ENV{ACLOCAL} "aclocal -I \" ${ CURRENT_INSTALLED_DIR } /share/xorg/aclocal/\ "" )
vcpkg_find_acquire_program ( PYTHON3 )
get_filename_component ( PYTHON3_DIR "${PYTHON3}" DIRECTORY )
vcpkg_add_to_path ( "${PYTHON3_DIR}" )
vcpkg_configure_make (
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
A U T O C O N F I G
C O P Y _ S O U R C E
)
vcpkg_install_make ( )
vcpkg_fixup_pkgconfig ( )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share" )
file ( INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright )