mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
164a91d10d
Orc is not a hard requirement. Things should still compile and work without orc, but slow fallback code may be used in this case. Fix up configure to not error out if orc is not installed and wrap use of orc profiling in audioresample in #ifdefs. Fixes #620136 some more.
44 lines
924 B
Makefile
44 lines
924 B
Makefile
plugin_LTLIBRARIES = libgstaudioresample.la
|
|
|
|
# FIXME: we still link against orc if it's there, even if --disable-orc was used
|
|
if HAVE_ORC
|
|
ORC_TEST_LIBS = -lorc-test-0.4
|
|
else
|
|
ORC_TEST_LIBS =
|
|
endif
|
|
|
|
libgstaudioresample_la_SOURCES = \
|
|
gstaudioresample.c \
|
|
speex_resampler_int.c \
|
|
speex_resampler_float.c \
|
|
speex_resampler_double.c
|
|
|
|
libgstaudioresample_la_CFLAGS = \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(ORC_CFLAGS)
|
|
|
|
libgstaudioresample_la_LIBADD = \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_LIBS) \
|
|
$(ORC_LIBS) $(ORC_TEST_LIBS) \
|
|
$(LIBM)
|
|
|
|
libgstaudioresample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstaudioresample_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
noinst_HEADERS = \
|
|
arch.h \
|
|
fixed_arm4.h \
|
|
fixed_arm5e.h \
|
|
fixed_bfin.h \
|
|
fixed_debug.h \
|
|
fixed_generic.h \
|
|
gstaudioresample.h \
|
|
resample.c \
|
|
resample_sse.h \
|
|
speex_resampler.h \
|
|
speex_resampler_wrapper.h
|
|
|