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 )
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 - w m
R E F 0 c 6 6 8 1 e 4 6 5 c 9 c c 7 b 1 f b b 6 0 7 7 8 b a 1 e a a 6 1 a b 0 1 a 1 4 #v 0.4.2
2023-02-03 11:36:12 +08:00
S H A 5 1 2 c 8 b e 4 8 0 0 0 a d 2 d b e 5 b d 4 3 0 2 4 1 7 4 5 e d b 1 6 2 8 0 c 2 d 7 e 6 0 2 8 7 2 e d 8 e 1 4 e 6 2 4 5 e 6 4 3 9 1 c b f 8 f 2 3 4 a 4 d 8 3 a a d 6 5 c 9 6 e c 5 8 c 3 b 3 1 2 f 2 f e 7 f 0 b f 0 1 c b 8 2 f 4 6 b 3 e 5 0 f 2 3 5 8 b 9 4 7 4 1
2022-10-26 12:25:47 +08:00
H E A D _ R E F m a s t e r
P A T C H E S b u i l d . p a t c h
2023-02-03 11:36:12 +08:00
)
2022-10-26 12:25:47 +08:00
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" )
file ( INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright )
endif ( )