| 1 |
option('x264_libraries', type : 'string', value : '', |
| 2 |
description : 'Colon separated list of additional x264 library paths, e.g. for 10-bit version') |
| 3 |
|
| 4 |
# Feature options for plugins without external deps |
| 5 |
option('asfdemux', type : 'feature', value : 'auto') |
| 6 |
option('dvdlpcmdec', type : 'feature', value : 'auto') |
| 7 |
option('dvdsub', type : 'feature', value : 'auto') |
| 8 |
option('realmedia', type : 'feature', value : 'auto') |
| 9 |
|
| 10 |
# Feature options for plugins that need external deps |
| 11 |
option('a52dec', type : 'feature', value : 'auto', description : 'Dolby Digital (AC-3) audio decoder plugin based on liba52 (GPL - only built if gpl option is also enabled!)') |
| 12 |
option('cdio', type : 'feature', value : 'auto', description : 'CD audio source plugin based on libcdio (GPL - only built if gpl option is also enabled!)') |
| 13 |
option('dvdread', type : 'feature', value : 'auto', description : 'DVD video source plugin based on libdvdread (GPL - only built if gpl option is also enabled!)') |
| 14 |
option('mpeg2dec', type : 'feature', value : 'auto', description : 'MPEG 2 video decoder plugin based on libmpeg2 (GPL - only built if gpl option is also enabled!)') |
| 15 |
option('sidplay', type : 'feature', value : 'auto', description : 'Commodore 64 audio decoder plugin based on libsidplay (GPL - only built if gpl option is also enabled!)') |
| 16 |
option('x264', type : 'feature', value : 'auto', description : 'H.264 video encoder plugin based on libx264 (GPL - only built if gpl option is also enabled!)') |
| 17 |
|
| 18 |
# License-related feature options |
| 19 |
option('gpl', type: 'feature', value: 'disabled', yield: true, |
| 20 |
description: 'Allow build plugins that have GPL-licensed dependencies') |
| 21 |
|
| 22 |
# Common feature options |
| 23 |
option('nls', type : 'feature', value : 'auto', yield: true, |
| 24 |
description : 'Enable native language support (translations)') |
| 25 |
option('orc', type : 'feature', value : 'auto', yield : true) |
| 26 |
option('orc-compiler', type : 'feature', value : 'auto', yield: true, description : 'Enable targets to allow regeneration of disted orc files') |
| 27 |
option('tests', type : 'feature', value : 'auto', yield : true) |
| 28 |
|
| 29 |
# Common options |
| 30 |
option('package-name', type : 'string', yield : true, |
| 31 |
description : 'package name to use in plugins') |
| 32 |
option('package-origin', type : 'string', value : 'Unknown package origin', yield: true, |
| 33 |
description : 'package origin URL to use in plugins') |
| 34 |
option('doc', type : 'feature', value : 'auto', yield: true, |
| 35 |
description: 'Enable documentation.') |
| 36 |
option('glib_debug', type : 'feature', value : 'auto', yield : true, description : 'Enable GLib debug infrastructure (see docs/macros.txt)') |
| 37 |
option('glib_assert', type : 'boolean', value : true, yield : true, description : 'Enable GLib assertion (see docs/macros.txt)', |
| 38 |
deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'}, |
| 39 |
) |
| 40 |
option('glib_checks', type : 'boolean', value : true, yield : true, description : 'Enable GLib checks such as API guards (see docs/macros.txt)', |
| 41 |
deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'}, |
| 42 |
) |
| 43 |
|
| 44 |
# Deprecated, kept for backward compat |
| 45 |
option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true, |
| 46 |
description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)', |
| 47 |
deprecated: 'glib_debug') |
| 48 |
option('glib-asserts', type : 'feature', value : 'enabled', yield : true, |
| 49 |
description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)', |
| 50 |
deprecated: 'glib_assert') |
| 51 |
option('glib-checks', type : 'feature', value : 'enabled', yield : true, |
| 52 |
description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)', |
| 53 |
deprecated: 'glib_checks') |