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 s m
R E F a 5 2 c 7 9 5 4 4 f c d 6 b 5 e 2 2 4 2 b 9 1 2 2 d f a a 3 4 b e 0 7 a e b b 2 # 1.2.3
S H A 5 1 2 3 7 9 e 4 5 0 d 9 0 e 6 1 d 8 0 d 4 f e a 8 4 4 9 a 5 8 2 b 3 e e e 3 9 6 8 b e f 1 3 7 0 2 2 0 5 3 c b 3 b d 5 1 f a 2 8 1 5 d 8 f c c c 4 3 f f 1 1 e 3 b 5 9 3 c 4 a 6 7 a d 6 4 e 9 3 2 0 9 c 2 5 1 1 1 a 2 0 a c 8 8 e 3 8 c 1 f 6 6 3 c d 2 7 4 f 5 d 5 6
H E A D _ R E F m a s t e r
P A T C H E S w i n d o w s . p a t c h
2022-11-12 09:32:25 +08:00
m i s s i n g - i n c l u d e . p a t c h # avoids: warning C4013: '_getpid' undefined; assuming extern returning int
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 ( )