2022-02-16 10:21:56 +08:00
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
2019-03-26 04:45:20 +08:00
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
2022-02-16 10:21:56 +08:00
R E P O l i b n i c e / l i b n i c e
R E F 5 5 b 7 1 d 4 7 f 2 b 4 2 7 b 3 b a a 8 8 1 2 8 1 8 e d 3 f 0 5 9 a c c 7 4 8 d # 0.1.18
S H A 5 1 2 7 8 5 7 5 c 4 8 7 d 7 4 7 3 4 d 2 d f f 1 c 0 4 1 0 3 f d 5 5 c 7 6 c f 5 e 7 8 e d d e 0 3 f f d 6 8 0 5 0 3 4 8 8 8 1 a 3 e f c 9 8 5 5 1 3 c f d 3 0 5 5 3 b f c e 0 5 6 8 c 8 e d f c d 6 1 b e 7 d e a 8 9 9 1 7 3 1 e f c 7 4 9 e e 4 f e e 2 f 5 0 3 d 6
H E A D _ R E F m a s t e r
)
2017-02-13 11:35:12 +08:00
2022-02-16 10:21:56 +08:00
vcpkg_configure_meson (
2017-02-13 11:35:12 +08:00
S O U R C E _ P A T H $ { S O U R C E _ P A T H }
2021-04-27 01:28:21 +08:00
O P T I O N S
2022-02-16 10:21:56 +08:00
- D g t k _ d o c = d i s a b l e d #Enable generating the API reference (depends on GTK-Doc)
- D i n t r o s p e c t i o n = d i s a b l e d #Enable GObject Introspection (depends on GObject)'
- D t e s t s = d i s a b l e d
- D e x a m p l e s = d i s a b l e d
- D g s t r e a m e r = d i s a b l e d
- D c r y p t o - l i b r a r y = o p e n s s l
A D D I T I O N A L _ N A T I V E _ B I N A R I E S g l i b - g e n m a r s h a l = ' $ { C U R R E N T _ H O S T _ I N S T A L L E D _ D I R } / t o o l s / g l i b / g l i b - g e n m a r s h a l '
g l i b - m k e n u m s = ' $ { C U R R E N T _ H O S T _ I N S T A L L E D _ D I R } / t o o l s / g l i b / g l i b - m k e n u m s '
A D D I T I O N A L _ C R O S S _ B I N A R I E S g l i b - g e n m a r s h a l = ' $ { C U R R E N T _ H O S T _ I N S T A L L E D _ D I R } / t o o l s / g l i b / g l i b - g e n m a r s h a l '
g l i b - m k e n u m s = ' $ { C U R R E N T _ H O S T _ I N S T A L L E D _ D I R } / t o o l s / g l i b / g l i b - m k e n u m s '
2017-02-13 11:35:12 +08:00
)
2022-02-16 10:21:56 +08:00
# Could be features:
# option('gupnp', type: 'feature', value: 'auto',
# description: 'Enable or disable GUPnP IGD support')
# option('ignored-network-interface-prefix', type: 'array', value: ['docker', 'veth', 'virbr', 'vnet'],
# description: 'Ignore network interfaces whose name starts with a string from this list in the ICE connection check algorithm. For example, "virbr" to ignore virtual bridge interfaces added by virtd, which do not help in finding connectivity.')
# option('crypto-library', type: 'combo', choices : ['auto', 'gnutls', 'openssl'], value : 'auto')
vcpkg_install_meson ( )
2017-02-13 11:45:28 +08:00
2017-02-13 11:35:12 +08:00
vcpkg_copy_pdbs ( )
2022-02-16 10:21:56 +08:00
vcpkg_copy_tools ( TOOL_NAMES stunbdc stund AUTO_CLEAN )
vcpkg_fixup_pkgconfig ( )
2017-02-13 11:35:12 +08:00
2022-02-16 10:21:56 +08:00
file ( COPY "${SOURCE_PATH}/COPYING.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" )
file ( COPY "${SOURCE_PATH}/COPYING.MPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" )
file ( INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright )