2022-09-01 07:20:31 +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" )
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 / 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 - r e n d e r - u t i l
2022-10-26 12:25:47 +08:00
R E F 5 2 9 3 d 8 b 6 1 6 5 f 2 3 b 9 f 7 a 8 b c c 9 0 3 d a 0 e 4 d 7 a 7 5 9 8 4 c #v 0.3.10
S H A 5 1 2 e c d 1 8 7 6 b 6 2 c 1 3 4 5 c e 3 c 0 6 a c 5 2 5 f 1 a f 4 f 5 9 d c c e 3 c 8 d 7 6 0 0 3 c 5 9 d d 6 4 c 8 0 f 7 7 8 7 d 6 d 2 7 5 4 c 4 8 1 e 5 8 5 5 0 7 d 6 b c a f 4 4 3 0 2 6 a 7 a a 2 2 a b 9 e a c 2 8 b 5 1 5 3 e f f 7 8 d 2 1 6 e 5 3 e b 2 9 f
2022-09-01 07:20:31 +08:00
H E A D _ R E F m a s t e r # branch name
P A T C H E S p t h r e a d . p a t c h # required since this port directly depends on pthread functions. So it has to directly link it!
)
file ( TOUCH "${SOURCE_PATH}/m4/dummy" )
set ( ENV{ACLOCAL} "aclocal -I \" ${ CURRENT_INSTALLED_DIR } /share/xorg/aclocal/\ "" )
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
)
vcpkg_install_make ( )
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 ( )