2021-01-11 00:02:08 -08:00
if ( VCPKG_TARGET_IS_WINDOWS )
vcpkg_check_linkage ( ONLY_DYNAMIC_LIBRARY )
endif ( )
2022-10-31 13:48:57 -07:00
if ( VCPKG_TARGET_IS_LINUX )
message ( WARNING "${PORT} currently requires the following libraries from the system package manager:\n libx11-dev\n libgles2-mesa-dev\n\nThese can be installed on Ubuntu systems via apt-get install libx11-dev libgles2-mesa-dev." )
2021-01-11 00:02:08 -08:00
endif ( )
2019-05-02 22:57:43 -07:00
2017-05-10 23:15:02 +02:00
vcpkg_from_github (
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 a n h o l t / l i b e p o x y
2022-10-24 23:27:04 +00:00
R E F 1 . 5 . 1 0
S H A 5 1 2 6 7 8 6 f 3 1 c 6 e 2 8 6 5 e 6 8 a 9 0 e b 9 1 2 9 0 0 a 8 6 b f 5 6 f d 3 d f 4 d 7 8 a 4 7 7 3 5 6 8 8 6 a c 3 b 6 e f 5 2 a c 8 8 7 b 9 c 7 a 7 7 a a 0 2 7 5 2 5 f 8 6 8 a e 9 e 8 8 b 1 2 e 5 9 2 7 b a 5 6 0 6 9 c 2 e 1 1 5 a c d 6 3 1 f c a 3 a b e e
2020-05-20 23:29:45 +02:00
H E A D _ R E F m a s t e r
)
2017-02-09 18:13:52 +01:00
2020-07-28 02:43:23 +02:00
if ( VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_OSX )
2021-01-11 00:02:08 -08:00
set ( OPTIONS -Dglx=no -Degl=no -Dx11=false )
2019-09-18 01:12:33 +08:00
else ( )
2021-01-11 00:02:08 -08:00
set ( OPTIONS -Dglx=yes -Degl=yes -Dx11=true )
2019-09-18 01:12:33 +08:00
endif ( )
2021-01-11 00:02:08 -08:00
if ( VCPKG_TARGET_IS_WINDOWS )
list ( APPEND OPTIONS -Dc_std=c99 )
endif ( )
vcpkg_configure_meson (
2021-11-15 23:54:45 +01:00
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2021-08-27 01:09:08 +08:00
O P T I O N S
$ { O P T I O N S }
- D t e s t s = f a l s e
2021-01-11 00:02:08 -08:00
)
vcpkg_install_meson ( )
vcpkg_copy_pdbs ( )
2017-02-09 18:13:52 +01:00
2021-08-27 01:09:08 +08:00
vcpkg_fixup_pkgconfig ( )
2017-06-06 16:36:34 +02:00
2021-08-27 01:09:08 +08:00
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/pkgconfig" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share/pkgconfig" )
file ( INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright )