2022-09-20 03:08:27 +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 f s
2024-03-08 13:59:59 +08:00
R E F " l i b F S - $ { V E R S I O N } "
S H A 5 1 2 8 d 2 1 f 8 2 f b 3 3 5 b 3 f f 2 f 0 9 8 7 5 a 1 1 8 e 9 0 a b 1 4 2 5 c e 3 4 5 6 e e 5 d 9 c b d 3 1 9 4 9 1 c 8 d e f 5 b 8 3 1 8 8 6 0 d 4 2 7 e 1 b b b 7 4 e a e 8 f b c 8 f 6 f 1 9 9 3 7 5 d 4 7 6 5 b 2 e 4 0 9 e a 9 1 a 8 2 e c b 8 5 2 a 7 b a b 4
2022-09-20 03:08:27 +08:00
H E A D _ R E F m a s t e r
)
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 ( )