Plugins: dv (dvdec)
URL: http://libdv.sourceforge.net/
+Package: libmpg123
+Version: >= 1.3
+DebianPackage: libpng12-dev
+Plugins: mpg123 (mpg123audiodec)
+URL: https://www.mpg123.de/api/
+
Package: Libpng
Version: >= 1.2
DebianPackage: libpng12-dev
AG_GST_PKG_CHECK_MODULES(LIBPNG, libpng >= 1.2)
])
+dnl *** mpg123 ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_MPG123, true)
+AG_GST_CHECK_FEATURE(MPG123, [mpg123 audio decoder], mpg123, [
+ PKG_CHECK_MODULES(MPG123, libmpg123 >= 1.13, HAVE_MPG123="yes", HAVE_MPG123="no")
+ AC_SUBST(MPG123_CFLAGS)
+ AC_SUBST(MPG123_LIBS)
+])
+
dnl *** pulseaudio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_PULSE, true)
AG_GST_CHECK_FEATURE(PULSE, [pulseaudio plug-in], pulseaudio, [
AM_CONDITIONAL(USE_LIBDV, false)
AM_CONDITIONAL(USE_LIBIEC61883, false)
AM_CONDITIONAL(USE_LIBPNG, false)
+AM_CONDITIONAL(USE_MPG123, false)
AM_CONDITIONAL(USE_OSS, false)
AM_CONDITIONAL(USE_OSS4, false)
AM_CONDITIONAL(USE_OSX_AUDIO, false)
ext/jpeg/Makefile
ext/libcaca/Makefile
ext/libpng/Makefile
+ext/mpg123/Makefile
ext/pulse/Makefile
ext/raw1394/Makefile
ext/shout2/Makefile
LIBPNG_DIR =
endif
+if USE_MPG123
+MPG123_DIR = mpg123
+else
+MPG123_DIR =
+endif
+
if USE_DV1394
DV1394_DIR = raw1394
else
$(LIBDV_DIR) \
$(LIBMNG_DIR) \
$(LIBPNG_DIR) \
+ $(MPG123_DIR) \
$(PULSE_DIR) \
$(SHOUT2_DIR) \
$(SOUP_DIR) \
jpeg \
libcaca \
libpng \
+ mpg123 \
pulse \
raw1394 \
shout2 \
subdir('dv')
endif
subdir('libpng')
+subdir('mpg123')
subdir('raw1394')
subdir('pulse')
subdir('shout2')
-mpg123_sources = [
- 'gstmpg123audiodec.c',
-]
-
mpg123_dep = dependency('libmpg123', version : '>= 1.3', required : false)
if mpg123_dep.found()
gstmpg123 = library('gstmpg123',
- mpg123_sources,
- c_args : ugly_args,
+ 'gstmpg123audiodec.c',
+ c_args : gst_plugins_good_args,
include_directories : [configinc],
dependencies : [gstaudio_dep, mpg123_dep],
install : true,
check_matroska =
endif
+if USE_MPG123
+check_mpg123 = elements/mpg123audiodec
+else
+check_mpg123 =
+endif
+
if USE_PLUGIN_MULTIFILE
check_multifile = elements/multifile elements/splitmux
else
$(check_law) \
$(check_level) \
$(check_matroska) \
+ $(check_mpg123) \
$(check_multifile) \
$(check_replaygain) \
$(check_rtp) \
elements_matroskamux_LDADD = $(GST_BASE_LIBS) $(LDADD) $(LIBM)
+elements_mpg123audiodec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
+elements_mpg123audiodec_LDADD = \
+ $(GST_PLUGINS_BASE_LIBS) -lgstaudio-@GST_API_VERSION@ -lgstfft-@GST_API_VERSION@ \
+ -lgstapp-@GST_API_VERSION@ $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD)
+
elements_mulawdec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
elements_mulawenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
matroskamux
matroskaparse
mpegaudioparse
+mpg123audiodec
mulawdec
mulawenc
multifile
[ 'elements/matroskademux' ],
[ 'elements/matroskamux' ],
[ 'elements/matroskaparse' ],
+ [ 'elements/mpg123audiodec', not mpg123_dep.found() ],
[ 'elements/multifile' ],
[ 'elements/splitmux' ],
[ 'elements/rganalysis' ],