2022-11-02 05:00:11 +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 d m x
2024-03-08 14:35:47 +08:00
R E F " l i b d m x - $ { V E R S I O N } "
S H A 5 1 2 2 c 6 3 4 f 5 7 a 7 2 2 9 e 2 d 1 0 b 3 c e 7 0 0 f e 2 0 d 5 3 a 1 5 7 8 b 9 e b 6 d 5 7 5 e a b 9 f 0 a 9 f 2 2 8 4 1 0 d d 6 a 1 7 a a 2 a 3 d 6 0 5 0 3 c 0 c 0 a 1 4 0 2 9 d 8 a 4 c a 8 d b 6 0 6 1 b 9 6 6 1 0 8 2 7 2 a c 8 e 8 0 5 2 b d 3 7 5 0 3 0 0
2022-11-02 05:00:11 +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
O P T I O N S - - e n a b l e - m a l l o c 0 r e t u r n s n u l l = y e s
)
vcpkg_install_make ( )
vcpkg_fixup_pkgconfig ( )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share" )
file ( MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}/" )
file ( INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright )
endif ( )