gstreamer/gst/goom2k1/meson.build
Nirbheek Chauhan b09f478e80 Add support for Meson as alternative/parallel build system
https://github.com/mesonbuild/meson

With contributions from:

Tim-Philipp Müller <tim@centricular.com>
Jussi Pakkanen <jpakkane@gmail.com> (original port)

Highlights of the features provided are:
* Faster builds on Linux (~40-50% faster)
* The ability to build with MSVC on Windows
* Generate Visual Studio project files
* Generate XCode project files
* Much faster builds on Windows (on-par with Linux)
* Seriously fast configure and building on embedded

... and many more. For more details see:

http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html
http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html

Building with Meson should work on both Linux and Windows, but may
need a few more tweaks on other operating systems.
2016-08-20 11:21:12 +01:00

39 lines
1,023 B
Meson

goom2k1_args = [
'-Dgst_goom_get_type=gst_goom2k1_get_type',
'-Dgoom_init=goom2k1_init',
'-Dgoom_close=goom2k1_close',
'-Dgoom_update=goom2k1_update',
'-Dgoom_set_resolution=goom2k1_set_resolution',
'-Dgoom_lines=goom2k1_lines',
'-DBLACK=GOOM2K1_BLACK',
'-DWHITE=GOOM2K1_WHITE',
'-DRED=GOOM2K1_RED',
'-DBLUE=GOOM2K1_BLUE',
'-DGREEN=GOOM2K1_GREEN',
'-DYELLOW=GOOM2K1_YELLOW',
'-DORANGE=GOOM2K1_ORANGE',
'-DVIOLET=GOOM2K1_VIOLET',
'-DzoomFilterFastRGB=zoomFilterFastRGB2k1',
'-DpointFilter=pointFilter2k1',
'-DzoomFilterDestroy=zoomFilterDestroy2k1',
'-DzoomFilterNew=zoomFilterNew2k1'
]
filter_args = ['-UMMX', '-UUSE_ASM']
goom2k1_sources = [
'gstgoom.c',
'goom_core.c',
'filters.c',
'graphic.c',
'lines.c'
]
gstgoom2k1 = library('gstgoom2k1',
goom2k1_sources,
c_args : gst_plugins_good_args + goom2k1_args + filter_args,
include_directories : [configinc],
dependencies : [gstpbutils_dep, gstbase_dep, libm],
install : true,
install_dir : plugins_install_dir,
)