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
2024-09-04 03:04:23 +08:00
R E F b e 1 8 8 8 a 4 6 e 4 4 6 d f c a a 6 2 a c 0 a 9 7 d 9 6 b b 7 7 b 6 8 1 6 d 4 # 1.1.1
S H A 5 1 2 0 8 9 2 e e 9 2 1 0 3 0 2 e 7 8 7 2 9 7 7 6 3 b c f 0 c 7 7 8 8 b c d 5 f 5 5 7 2 d 5 f d 8 6 4 7 2 e 8 1 0 4 d c 2 9 1 e 7 e 1 9 0 e f f c 0 1 0 0 b b c a 9 8 c 6 b 0 4 8 b 4 4 5 b d 9 e 8 b d f 4 9 0 2 8 7 e 1 d b f 2 a 6 4 6 9 3 a a 1 8 9 5 9 5 0 6 1 0
2022-09-07 05:13:13 +08:00
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 ( )