2022-09-07 05:13:13 +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 i c e
R E F 8 e 6 a 1 4 c 6 3 d 6 b 7 3 c d e 8 7 c b 3 3 1 4 3 9 f 2 a 4 d 1 9 c b a 5 b 9 # 1.0.10
S H A 5 1 2 a d 7 9 c f b c 3 b 1 d 5 1 f b 1 f 0 1 9 b c 0 8 8 9 9 9 a c 8 a 6 4 0 6 2 a 7 1 6 6 7 d b b 4 f f b 6 2 f e 6 d 1 b 7 d b a 7 6 6 5 9 4 4 f 6 4 b e 6 d c d 2 7 d e 0 8 c c 7 7 e 9 1 5 1 2 d e 9 7 2 3 1 d b 1 e 4 a c 0 1 8 0 8 8 7 2 7 e 9 0 1 1 3 d 0 4 0
H E A D _ R E F m a s t e r
P A T C H E S f i x _ b u i l d . p a t c h
2022-11-12 09:32:25 +08:00
r e p l a c e _ m a c r o s . p a t c h
2022-09-07 05:13:13 +08:00
)
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 ( )