mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
fixed some GST_LIBS stuff added audiofile added gst-libs/audio building
Original commit message from CVS: fixed some GST_LIBS stuff added audiofile added gst-libs/audio building
This commit is contained in:
parent
d7534fac2d
commit
c2f6ad5224
5 changed files with 39 additions and 14 deletions
|
@ -1,3 +1,3 @@
|
||||||
SUBDIRS=sys ext
|
SUBDIRS=gst sys ext gst-libs
|
||||||
|
|
||||||
DIST_SUBDIRS=sys ext
|
DIST_SUBDIRS=gst sys ext gst-libs
|
||||||
|
|
2
TODO
2
TODO
|
@ -5,3 +5,5 @@
|
||||||
it better ;)
|
it better ;)
|
||||||
|
|
||||||
* check SDL optimisation flags
|
* check SDL optimisation flags
|
||||||
|
|
||||||
|
* check GST_* in configure.ac, there is too much in it
|
||||||
|
|
34
configure.ac
34
configure.ac
|
@ -348,6 +348,16 @@ AC_SUBST(X_PRE_LIBS)
|
||||||
AC_SUBST(X_EXTRA_LIBS)
|
AC_SUBST(X_EXTRA_LIBS)
|
||||||
AC_SUBST(X_LIBS)
|
AC_SUBST(X_LIBS)
|
||||||
|
|
||||||
|
dnl ==========================================================================
|
||||||
|
dnl ============================= gst plugins ================================
|
||||||
|
dnl ==========================================================================
|
||||||
|
|
||||||
|
dnl *** sine ***
|
||||||
|
translit(dnm, m, l) AM_CONDITIONAL(USE_SINE, true)
|
||||||
|
GST_CHECK_FEATURE(SINE, [sine plugin], sinesrc, [
|
||||||
|
HAVE_SINE="yes"
|
||||||
|
])
|
||||||
|
|
||||||
dnl ==========================================================================
|
dnl ==========================================================================
|
||||||
dnl ============================= sys plugins ================================
|
dnl ============================= sys plugins ================================
|
||||||
dnl ==========================================================================
|
dnl ==========================================================================
|
||||||
|
@ -428,11 +438,11 @@ GST_CHECK_FEATURE(ARTSC, [artsd plugins], artsdsink, [
|
||||||
|
|
||||||
dnl *** audiofile ***
|
dnl *** audiofile ***
|
||||||
dnl this check uses the GST_CHECK_CONFIGPROG macro
|
dnl this check uses the GST_CHECK_CONFIGPROG macro
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBAUDIOFILE, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_AUDIOFILE, true)
|
||||||
GST_CHECK_FEATURE(LIBAUDIOFILE, [audiofile], afsink afsrc, [
|
GST_CHECK_FEATURE(AUDIOFILE, [audiofile], afsink afsrc, [
|
||||||
translit(dnm, m, l) AC_SUBST(LIBAUDIOFILE_LIBS)
|
translit(dnm, m, l) AC_SUBST(AUDIOFILE_LIBS)
|
||||||
translit(dnm, m, l) AC_SUBST(LIBAUDIOFILE_CFLAGS)
|
translit(dnm, m, l) AC_SUBST(AUDIOFILE_CFLAGS)
|
||||||
GST_CHECK_CONFIGPROG(LIBAUDIOFILE, audiofile-config)
|
GST_CHECK_CONFIGPROG(AUDIOFILE, audiofile-config)
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl *** avifile ***
|
dnl *** avifile ***
|
||||||
|
@ -1071,10 +1081,11 @@ AC_SUBST(LIBGST_LIBS)
|
||||||
AC_SUBST(LIBGST_CFLAGS)
|
AC_SUBST(LIBGST_CFLAGS)
|
||||||
|
|
||||||
dnl Vars for everyone else
|
dnl Vars for everyone else
|
||||||
GST_LIBS="\$(top_builddir)/gst/libgst.la $LIBGST_LIBS"
|
dnl FIXME: is there a reason to add this top_builddir stuff ? don't think so
|
||||||
GST_CFLAGS="-I\$(top_srcdir) -I\$(top_srcdir)/include $LIBGST_CFLAGS"
|
dnl GST_LIBS="\$(top_builddir)/gst/libgst.la $LIBGST_LIBS"
|
||||||
AC_SUBST(GST_LIBS)
|
dnl GST_CFLAGS="-I\$(top_srcdir) -I\$(top_srcdir)/include $LIBGST_CFLAGS"
|
||||||
AC_SUBST(GST_CFLAGS)
|
dnl AC_SUBST(GST_LIBS)
|
||||||
|
dnl AC_SUBST(GST_CFLAGS)
|
||||||
|
|
||||||
dnl #############################
|
dnl #############################
|
||||||
dnl # Configure the subpackages #
|
dnl # Configure the subpackages #
|
||||||
|
@ -1127,6 +1138,8 @@ dnl stamp.h
|
||||||
dnl echo "$infomessages", infomessages="$infomessages"
|
dnl echo "$infomessages", infomessages="$infomessages"
|
||||||
AC_OUTPUT(
|
AC_OUTPUT(
|
||||||
Makefile
|
Makefile
|
||||||
|
gst/Makefile
|
||||||
|
gst/sine/Makefile
|
||||||
sys/Makefile
|
sys/Makefile
|
||||||
sys/oss/Makefile
|
sys/oss/Makefile
|
||||||
sys/qcam/Makefile
|
sys/qcam/Makefile
|
||||||
|
@ -1135,11 +1148,14 @@ sys/vcd/Makefile
|
||||||
sys/vga/Makefile
|
sys/vga/Makefile
|
||||||
sys/xvideo/Makefile
|
sys/xvideo/Makefile
|
||||||
ext/Makefile
|
ext/Makefile
|
||||||
|
ext/audiofile/Makefile
|
||||||
ext/esd/Makefile
|
ext/esd/Makefile
|
||||||
ext/lame/Makefile
|
ext/lame/Makefile
|
||||||
ext/mad/Makefile
|
ext/mad/Makefile
|
||||||
ext/sdl/Makefile
|
ext/sdl/Makefile
|
||||||
ext/vorbis/Makefile
|
ext/vorbis/Makefile
|
||||||
|
gst-libs/Makefile
|
||||||
|
gst-libs/audio/Makefile
|
||||||
)
|
)
|
||||||
|
|
||||||
echo -e "configure: *** Plugins that will be built : $GST_PLUGINS_YES"
|
echo -e "configure: *** Plugins that will be built : $GST_PLUGINS_YES"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
if USE_AUDIOFILE
|
||||||
|
AUDIOFILE_DIR=audiofile
|
||||||
|
else
|
||||||
|
AUDIOFILE_DIR=
|
||||||
|
endif
|
||||||
|
|
||||||
if USE_ESD
|
if USE_ESD
|
||||||
ESD_DIR=esd
|
ESD_DIR=esd
|
||||||
else
|
else
|
||||||
|
@ -29,6 +35,7 @@ VORBIS_DIR=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS=$(ESD_DIR) $(LAME_DIR) $(MAD_DIR) $(SDL_DIR) $(VORBIS_DIR)
|
SUBDIRS=$(AUDIOFILE_DIR) $(ESD_DIR) $(LAME_DIR) $(MAD_DIR) \
|
||||||
|
$(SDL_DIR) $(VORBIS_DIR)
|
||||||
|
|
||||||
DIST_SUBDIRS=esd lame mad sdl vorbis
|
DIST_SUBDIRS=audiofile esd lame mad sdl vorbis
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
libdir = $(libdir)/gst
|
## libdir = $(libdir)/gst
|
||||||
|
|
||||||
lib_LTLIBRARIES = libgstaudio.la
|
lib_LTLIBRARIES = libgstaudio.la
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue