From c9a47c0c8db30a19d1402d76e93c688d11d73cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 9 Jun 2019 00:43:00 +0100 Subject: [PATCH] Remove autotools build system --- .gitignore | 59 +- .gitmodules | 3 - Makefile.am | 77 -- README | 103 +- autogen.sh | 124 --- common | 1 - configure.ac | 1322 -------------------------- docs/.gitignore | 1 - ext/Makefile.am | 183 ---- ext/aalib/Makefile.am | 8 - ext/cairo/Makefile.am | 16 - ext/dv/Makefile.am | 19 - ext/flac/Makefile.am | 12 - ext/gdk_pixbuf/Makefile.am | 26 - ext/gtk/Makefile.am | 44 - ext/jack/.gitignore | 1 - ext/jack/Makefile.am | 9 - ext/jpeg/Makefile.am | 17 - ext/lame/Makefile.am | 10 - ext/libcaca/Makefile.am | 17 - ext/libpng/Makefile.am | 9 - ext/mpg123/Makefile.am | 11 - ext/pulse/Makefile.am | 21 - ext/qt/.gitignore | 1 - ext/qt/Makefile.am | 60 -- ext/raw1394/.gitignore | 1 - ext/raw1394/Makefile.am | 28 - ext/shout2/Makefile.am | 8 - ext/soup/Makefile.am | 12 - ext/speex/Makefile.am | 17 - ext/taglib/.gitignore | 1 - ext/taglib/Makefile.am | 18 - ext/twolame/Makefile.am | 11 - ext/vpx/Makefile.am | 37 - ext/wavpack/Makefile.am | 21 - gst/Makefile.am | 4 - gst/alpha/Makefile.am | 17 - gst/apetag/Makefile.am | 15 - gst/audiofx/.gitignore | 6 - gst/audiofx/Makefile.am | 62 -- gst/audioparsers/Makefile.am | 19 - gst/auparse/.gitignore | 7 - gst/auparse/Makefile.am | 8 - gst/autodetect/Makefile.am | 18 - gst/avi/.gitignore | 8 - gst/avi/Makefile.am | 27 - gst/cutter/Makefile.am | 10 - gst/debugutils/Makefile.am | 39 - gst/deinterlace/Makefile.am | 52 - gst/dtmf/Makefile.am | 16 - gst/effectv/Makefile.am | 21 - gst/equalizer/.gitignore | 1 - gst/equalizer/Makefile.am | 21 - gst/flv/Makefile.am | 12 - gst/flx/Makefile.am | 8 - gst/goom/.gitignore | 11 - gst/goom/Makefile.am | 46 - gst/goom2k1/.gitignore | 8 - gst/goom2k1/Makefile.am | 29 - gst/icydemux/Makefile.am | 8 - gst/id3demux/Makefile.am | 9 - gst/imagefreeze/Makefile.am | 9 - gst/interleave/Makefile.am | 9 - gst/isomp4/Makefile.am | 45 - gst/law/Makefile.am | 15 - gst/level/.gitignore | 1 - gst/level/Makefile.am | 8 - gst/matroska/Makefile.am | 43 - gst/monoscope/.gitignore | 7 - gst/monoscope/Makefile.am | 9 - gst/multifile/Makefile.am | 31 - gst/multipart/Makefile.am | 8 - gst/replaygain/Makefile.am | 22 - gst/rtp/Makefile.am | 228 ----- gst/rtpmanager/Makefile.am | 44 - gst/rtsp/.gitignore | 8 - gst/rtsp/Makefile.am | 15 - gst/shapewipe/Makefile.am | 9 - gst/smpte/Makefile.am | 10 - gst/spectrum/.gitignore | 9 - gst/spectrum/Makefile.am | 11 - gst/udp/Makefile.am | 13 - gst/videobox/Makefile.am | 20 - gst/videocrop/Makefile.am | 12 - gst/videofilter/.gitignore | 3 - gst/videofilter/Makefile.am | 22 - gst/videomixer/Makefile.am | 23 - gst/wavenc/Makefile.am | 16 - gst/wavparse/.gitignore | 7 - gst/wavparse/Makefile.am | 19 - gst/y4m/Makefile.am | 9 - m4/.gitignore | 17 - m4/Makefile.am | 35 - m4/README | 3 - m4/a52.m4 | 125 --- m4/aalib.m4 | 178 ---- m4/as-ffmpeg.m4 | 99 -- m4/as-liblame.m4 | 50 - m4/as-slurp-ffmpeg.m4 | 59 -- m4/check-libheader.m4 | 39 - m4/freetype2.m4 | 143 --- m4/glib.m4 | 196 ---- m4/gst-alsa.m4 | 150 --- m4/gst-artsc.m4 | 28 - m4/gst-fionread.m4 | 42 - m4/gst-ivorbis.m4 | 68 -- m4/gst-matroska.m4 | 262 ----- m4/gst-sdl.m4 | 184 ---- m4/gst-shout2.m4 | 102 -- m4/gst-sid.m4 | 39 - m4/gtk.m4 | 194 ---- m4/libfame.m4 | 182 ---- m4/ogg.m4 | 102 -- m4/vorbis.m4 | 128 --- pkgconfig/.gitignore | 1 - pkgconfig/Makefile.am | 31 - po/.gitignore | 17 - po/Makevars | 46 - po/{POTFILES.in => POTFILES} | 0 sys/Makefile.am | 53 -- sys/directsound/Makefile.am | 21 - sys/oss/.gitignore | 1 - sys/oss/Makefile.am | 20 - sys/oss4/Makefile.am | 22 - sys/osxaudio/Makefile.am | 37 - sys/osxvideo/Makefile.am | 18 - sys/v4l2/Makefile.am | 93 -- sys/waveform/Makefile.am | 15 - sys/ximage/Makefile.am | 15 - tests/Makefile.am | 22 - tests/check/.gitignore | 2 - tests/check/Makefile.am | 692 -------------- tests/check/elements/.gitignore | 91 -- tests/check/generic/.gitignore | 3 - tests/check/pipelines/.gitignore | 10 - tests/examples/Makefile.am | 40 - tests/examples/audiofx/.gitignore | 2 - tests/examples/audiofx/Makefile.am | 10 - tests/examples/cairo/.gitignore | 1 - tests/examples/cairo/Makefile.am | 5 - tests/examples/equalizer/.gitignore | 1 - tests/examples/equalizer/Makefile.am | 8 - tests/examples/gtk/.gitignore | 3 - tests/examples/gtk/Makefile.am | 39 - tests/examples/jack/Makefile.am | 12 - tests/examples/level/.gitignore | 1 - tests/examples/level/Makefile.am | 4 - tests/examples/qt/qmlsink/.gitignore | 3 - tests/examples/qt/qmlsrc/.gitignore | 2 - tests/examples/rtp/.gitignore | 6 - tests/examples/rtp/Makefile.am | 36 - tests/examples/rtsp/Makefile.am | 3 - tests/examples/shapewipe/.gitignore | 1 - tests/examples/shapewipe/Makefile.am | 8 - tests/examples/spectrum/.gitignore | 3 - tests/examples/spectrum/Makefile.am | 18 - tests/examples/v4l2/.gitignore | 3 - tests/examples/v4l2/Makefile.am | 9 - tests/files/Makefile.am | 22 - tests/icles/.gitignore | 12 - tests/icles/Makefile.am | 70 -- 161 files changed, 53 insertions(+), 7379 deletions(-) delete mode 100644 .gitmodules delete mode 100644 Makefile.am delete mode 100755 autogen.sh delete mode 160000 common delete mode 100644 configure.ac delete mode 100644 docs/.gitignore delete mode 100644 ext/Makefile.am delete mode 100644 ext/aalib/Makefile.am delete mode 100644 ext/cairo/Makefile.am delete mode 100644 ext/dv/Makefile.am delete mode 100644 ext/flac/Makefile.am delete mode 100644 ext/gdk_pixbuf/Makefile.am delete mode 100644 ext/gtk/Makefile.am delete mode 100644 ext/jack/.gitignore delete mode 100644 ext/jack/Makefile.am delete mode 100644 ext/jpeg/Makefile.am delete mode 100644 ext/lame/Makefile.am delete mode 100644 ext/libcaca/Makefile.am delete mode 100644 ext/libpng/Makefile.am delete mode 100644 ext/mpg123/Makefile.am delete mode 100644 ext/pulse/Makefile.am delete mode 100644 ext/qt/.gitignore delete mode 100644 ext/qt/Makefile.am delete mode 100644 ext/raw1394/.gitignore delete mode 100644 ext/raw1394/Makefile.am delete mode 100644 ext/shout2/Makefile.am delete mode 100644 ext/soup/Makefile.am delete mode 100644 ext/speex/Makefile.am delete mode 100644 ext/taglib/.gitignore delete mode 100644 ext/taglib/Makefile.am delete mode 100644 ext/twolame/Makefile.am delete mode 100644 ext/vpx/Makefile.am delete mode 100644 ext/wavpack/Makefile.am delete mode 100644 gst/Makefile.am delete mode 100644 gst/alpha/Makefile.am delete mode 100644 gst/apetag/Makefile.am delete mode 100644 gst/audiofx/.gitignore delete mode 100644 gst/audiofx/Makefile.am delete mode 100644 gst/audioparsers/Makefile.am delete mode 100644 gst/auparse/.gitignore delete mode 100644 gst/auparse/Makefile.am delete mode 100644 gst/autodetect/Makefile.am delete mode 100644 gst/avi/.gitignore delete mode 100644 gst/avi/Makefile.am delete mode 100644 gst/cutter/Makefile.am delete mode 100644 gst/debugutils/Makefile.am delete mode 100644 gst/deinterlace/Makefile.am delete mode 100644 gst/dtmf/Makefile.am delete mode 100644 gst/effectv/Makefile.am delete mode 100644 gst/equalizer/.gitignore delete mode 100644 gst/equalizer/Makefile.am delete mode 100644 gst/flv/Makefile.am delete mode 100644 gst/flx/Makefile.am delete mode 100644 gst/goom/.gitignore delete mode 100644 gst/goom/Makefile.am delete mode 100644 gst/goom2k1/.gitignore delete mode 100644 gst/goom2k1/Makefile.am delete mode 100644 gst/icydemux/Makefile.am delete mode 100644 gst/id3demux/Makefile.am delete mode 100644 gst/imagefreeze/Makefile.am delete mode 100644 gst/interleave/Makefile.am delete mode 100644 gst/isomp4/Makefile.am delete mode 100644 gst/law/Makefile.am delete mode 100644 gst/level/.gitignore delete mode 100644 gst/level/Makefile.am delete mode 100644 gst/matroska/Makefile.am delete mode 100644 gst/monoscope/.gitignore delete mode 100644 gst/monoscope/Makefile.am delete mode 100644 gst/multifile/Makefile.am delete mode 100644 gst/multipart/Makefile.am delete mode 100644 gst/replaygain/Makefile.am delete mode 100644 gst/rtp/Makefile.am delete mode 100644 gst/rtpmanager/Makefile.am delete mode 100644 gst/rtsp/.gitignore delete mode 100644 gst/rtsp/Makefile.am delete mode 100644 gst/shapewipe/Makefile.am delete mode 100644 gst/smpte/Makefile.am delete mode 100644 gst/spectrum/.gitignore delete mode 100644 gst/spectrum/Makefile.am delete mode 100644 gst/udp/Makefile.am delete mode 100644 gst/videobox/Makefile.am delete mode 100644 gst/videocrop/Makefile.am delete mode 100644 gst/videofilter/.gitignore delete mode 100644 gst/videofilter/Makefile.am delete mode 100644 gst/videomixer/Makefile.am delete mode 100644 gst/wavenc/Makefile.am delete mode 100644 gst/wavparse/.gitignore delete mode 100644 gst/wavparse/Makefile.am delete mode 100644 gst/y4m/Makefile.am delete mode 100644 m4/.gitignore delete mode 100644 m4/Makefile.am delete mode 100644 m4/README delete mode 100644 m4/a52.m4 delete mode 100644 m4/aalib.m4 delete mode 100644 m4/as-ffmpeg.m4 delete mode 100644 m4/as-liblame.m4 delete mode 100644 m4/as-slurp-ffmpeg.m4 delete mode 100644 m4/check-libheader.m4 delete mode 100644 m4/freetype2.m4 delete mode 100644 m4/glib.m4 delete mode 100644 m4/gst-alsa.m4 delete mode 100644 m4/gst-artsc.m4 delete mode 100644 m4/gst-fionread.m4 delete mode 100644 m4/gst-ivorbis.m4 delete mode 100644 m4/gst-matroska.m4 delete mode 100644 m4/gst-sdl.m4 delete mode 100644 m4/gst-shout2.m4 delete mode 100644 m4/gst-sid.m4 delete mode 100644 m4/gtk.m4 delete mode 100644 m4/libfame.m4 delete mode 100644 m4/ogg.m4 delete mode 100644 m4/vorbis.m4 delete mode 100644 pkgconfig/.gitignore delete mode 100644 pkgconfig/Makefile.am delete mode 100644 po/.gitignore delete mode 100644 po/Makevars rename po/{POTFILES.in => POTFILES} (100%) delete mode 100644 sys/Makefile.am delete mode 100644 sys/directsound/Makefile.am delete mode 100644 sys/oss/.gitignore delete mode 100644 sys/oss/Makefile.am delete mode 100644 sys/oss4/Makefile.am delete mode 100644 sys/osxaudio/Makefile.am delete mode 100644 sys/osxvideo/Makefile.am delete mode 100644 sys/v4l2/Makefile.am delete mode 100644 sys/waveform/Makefile.am delete mode 100644 sys/ximage/Makefile.am delete mode 100644 tests/Makefile.am delete mode 100644 tests/check/.gitignore delete mode 100644 tests/check/Makefile.am delete mode 100644 tests/check/elements/.gitignore delete mode 100644 tests/check/generic/.gitignore delete mode 100644 tests/check/pipelines/.gitignore delete mode 100644 tests/examples/Makefile.am delete mode 100644 tests/examples/audiofx/.gitignore delete mode 100644 tests/examples/audiofx/Makefile.am delete mode 100644 tests/examples/cairo/.gitignore delete mode 100644 tests/examples/cairo/Makefile.am delete mode 100644 tests/examples/equalizer/.gitignore delete mode 100644 tests/examples/equalizer/Makefile.am delete mode 100644 tests/examples/gtk/.gitignore delete mode 100644 tests/examples/gtk/Makefile.am delete mode 100644 tests/examples/jack/Makefile.am delete mode 100644 tests/examples/level/.gitignore delete mode 100644 tests/examples/level/Makefile.am delete mode 100644 tests/examples/qt/qmlsink/.gitignore delete mode 100644 tests/examples/qt/qmlsrc/.gitignore delete mode 100644 tests/examples/rtp/.gitignore delete mode 100644 tests/examples/rtp/Makefile.am delete mode 100644 tests/examples/rtsp/Makefile.am delete mode 100644 tests/examples/shapewipe/.gitignore delete mode 100644 tests/examples/shapewipe/Makefile.am delete mode 100644 tests/examples/spectrum/.gitignore delete mode 100644 tests/examples/spectrum/Makefile.am delete mode 100644 tests/examples/v4l2/.gitignore delete mode 100644 tests/examples/v4l2/Makefile.am delete mode 100644 tests/files/Makefile.am delete mode 100644 tests/icles/.gitignore delete mode 100644 tests/icles/Makefile.am diff --git a/.gitignore b/.gitignore index 78c1b05072..9cf107aa94 100644 --- a/.gitignore +++ b/.gitignore @@ -1,56 +1,5 @@ -aclocal.m4 -autom4te.cache -config.h -config.h.in -config.h-new -config.log -config.status -config.guess -config.sub -config.rpath -configure -libtool -stamp-h -stamp-h.in -stamp-h1 -gst-element-check-*.m4 -ltmain.sh -missing -mkinstalldirs -compile -install-sh -depcomp -autoregen.sh -ABOUT-NLS -/INSTALL -_stdint.h -gst-plugins-good-*.tar.* -.dirstamp - -/m4 - -.deps -.libs -*.lo -*.la -*.o -Makefile.in -Makefile *~ -*.swp -*.gc?? - -/m4 - -/ext/dv/smpte_test -/gst/multifile/test-splitmux-part-reader -/gst/deinterlace/tvtime.h - -tmp-orc.c -*orc.h - -/tests/examples/jack/jack_client -/tests/examples/rtsp/test-onvif +*.bak Build *.user @@ -60,9 +9,7 @@ Build *.opensdf *.DS_Store -/test-driver -*.log -*.trs - +# Meson /build +/_build /subprojects diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 596ee78b75..0000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "common"] - path = common - url = https://gitlab.freedesktop.org/gstreamer/common.git diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 80aedca65c..0000000000 --- a/Makefile.am +++ /dev/null @@ -1,77 +0,0 @@ -ALWAYS_SUBDIRS = \ - gst sys ext \ - tests \ - po \ - common \ - m4 \ - pkgconfig - -SUBDIRS = $(ALWAYS_SUBDIRS) - -DIST_SUBDIRS = $(ALWAYS_SUBDIRS) - -EXTRA_DIST = \ - depcomp \ - AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \ - ChangeLog gst-plugins-good.doap autogen.sh \ - $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \ - meson_options.txt - -DISTCLEANFILES = _stdint.h - -noinst_HEADERS = \ - gst-libs/gst/gettext.h \ - gst-libs/gst/gst-i18n-plugin.h \ - gst-libs/gst/glib-compat-private.h - -ACLOCAL_AMFLAGS = -I m4 -I common/m4 - -include $(top_srcdir)/common/release.mak -include $(top_srcdir)/common/po.mak - -check-valgrind: - $(MAKE) -C tests/check check-valgrind - -if HAVE_GST_CHECK -check-torture: - $(MAKE) -C tests/check torture -build-checks: - $(MAKE) -C tests/check build-checks -else -check-torture: - true -build-checks: - true -endif - -include $(top_srcdir)/common/coverage/lcov.mak - -# cruft: plugins that have been merged or moved or renamed - -CRUFT_FILES = \ - $(top_builddir)/gst-plugins-good.spec \ - $(top_builddir)/win32/common/config.h-new \ - $(top_builddir)/common/shave \ - $(top_builddir)/common/shave-libtool \ - $(top_builddir)/ext/pulse/.libs/libgstpulse.so \ - $(top_builddir)/ext/soup/.libs/libgstsouphttpsrc.so \ - $(top_builddir)/gst/median/.libs/*.{so,dll,DLL,dylib} \ - $(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \ - $(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \ - $(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \ - $(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \ - $(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib} \ - $(top_builddir)/sys/directsound/.libs/libgstdirectsoundsink.{dll,DLL} \ - $(top_builddir)/sys/oss4/.libs/libgstoss4audio.so \ - $(top_builddir)/sys/waveform/.libs/libgstwaveformsink.{dll,DLL} - -CRUFT_DIRS = \ - $(top_srcdir)/gst/median \ - $(top_srcdir)/gst/qtdemux \ - $(top_srcdir)/gst/quicktime \ - $(top_srcdir)/ext/annodex \ - $(top_srcdir)/tests/examples/pulse - -include $(top_srcdir)/common/cruft.mak - -all-local: check-cruft diff --git a/README b/README index 74a020d6e3..c55b0a6c00 100644 --- a/README +++ b/README @@ -9,17 +9,22 @@ WHERE TO START -------------- We have a website at -http://gstreamer.freedesktop.org/ -You should start by going through our FAQ at -http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/ + https://gstreamer.freedesktop.org -There is more documentation; go to -http://gstreamer.freedesktop.org/documentation +Our documentation, including tutorials, API reference and FAQ can be found at -You can subscribe to our mailing lists; see the website for details. + https://gstreamer.freedesktop.org/documentation/ -We track bugs in GNOME's bugzilla; see the website for details. +You can subscribe to our mailing lists: + + https://lists.freedesktop.org/mailman/listinfo/gstreamer-announce + + https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel + +We track bugs, feature requests and merge requests (patches) in GitLab at + + https://gitlab.freedesktop.org/gstreamer/ You can join us on IRC - #gstreamer on irc.freenode.org @@ -137,12 +142,11 @@ PLATFORMS --------- - Linux is of course fully supported -- FreeBSD is reported to work; other BSDs should work too -- Solaris is reported to work; a specific sunaudiosink plugin has been written -- MacOSX works, binary 1.x packages can be built using the cerbero build tool +- FreeBSD is reported to work; other BSDs should work too; same for Solaris +- MacOS works, binary 1.x packages can be built using the cerbero build tool - Windows works; binary 1.x packages can be built using the cerbero build tool - MSys/MinGW builds - - Microsoft Visual Studio builds are not yet available or supported + - Microsoft Visual Studio builds are also available and supported - Android works, binary 1.x packages can be built using the cerbero build tool - iOS works @@ -151,36 +155,49 @@ INSTALLING FROM PACKAGES You should always prefer installing from packages first. GStreamer is well-maintained for a number of distributions, including Fedora, Debian, -Ubuntu, Mandrake, Gentoo, ... +Ubuntu, Mandrake, Arch Linux, Gentoo, ... Only in cases where you: -- want to hack on GStreamer -- want to verify that a bug has been fixed -- do not have a sane distribution + + - want to hack on GStreamer + - want to verify that a bug has been fixed + - do not have a sane distribution + should you choose to build from source tarballs or git. Find more information about the various packages at -http://gstreamer.freedesktop.org/download/ + + https://gstreamer.freedesktop.org/download/ COMPILING FROM SOURCE TARBALLS ------------------------------ -- again, make sure that you really need to install from source ! +- again, make sure that you really need to install from source! If GStreamer is one of your first projects ever that you build from source, consider taking on an easier project. -- check output of ./configure --help to see if any options apply to you +- you need a recent version of Meson installed, see + + http://mesonbuild.com/Getting-meson.html + + and + + https://gitlab.freedesktop.org/gstreamer/gst-build/blob/master/README.md + - run - ./configure - make + + meson build + ninja -C build to build GStreamer. + - if you want to install it (not required, but what you usually want to do), run - make install + + ninja -C build install - try out a simple test: - gst-launch -v fakesrc num_buffers=5 ! fakesink - (If you didn't install GStreamer, prefix gst-launch with tools/) + gst-launch-1.0 -v fakesrc num_buffers=5 ! fakesink + (If you didn't install GStreamer, run `./build/tools/gst-launch-1.0`) If it outputs a bunch of messages from fakesrc and fakesink, everything is ok. @@ -196,45 +213,25 @@ COMPILING FROM SOURCE TARBALLS COMPILING FROM GIT ------------------ -When building from git sources, you will need to run autogen.sh to generate -the build system files. +You can build an uninstalled GStreamer from git for development or testing +purposes without affecting your system installation. -You will need a set of additional tools typical for building from git, -including: -- autoconf -- automake -- libtool +Get started with: -autogen.sh will check for recent enough versions and complain if you don't have -them. You can also specify specific versions of automake and autoconf with ---with-automake and --with-autoconf + git clone https://gitlab.freedesktop.org/gstreamer/gst-build + meson build + ninja -C build + ninja -C build uninstalled -Check autogen.sh options by running autogen.sh --help +For more information, see the `gst-build` module and its documentation: -autogen.sh can pass on arguments to configure - -When you have done this once, you can use autoregen.sh to re-autogen with -the last passed options as a handy shortcut. Use it. - -After the autogen.sh stage, you can follow the directions listed in -"COMPILING FROM SOURCE" - -You can also run your whole git stack uninstalled in your home directory, -so that you can quickly test changes without affecting your system setup or -interfering with GStreamer installed from packages. Many GStreamer developers -use an uninstalled setup for their work. - -There is a 'create-uninstalled-setup.sh' script in - - http://cgit.freedesktop.org/gstreamer/gstreamer/tree/scripts/ - -to easily create an uninstalled setup from scratch. + https://gitlab.freedesktop.org/gstreamer/gst-build/blob/master/README.md PLUG-IN DEPENDENCIES AND LICENSES --------------------------------- -GStreamer is developed under the terms of the LGPL (see LICENSE file for +GStreamer is developed under the terms of the LGPL (see COPYING file for details). Some of our plug-ins however rely on libraries which are available under other licenses. This means that if you are distributing an application which has a non-GPL compatible license (for instance a closed-source diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 39af028b9b..0000000000 --- a/autogen.sh +++ /dev/null @@ -1,124 +0,0 @@ -#!/bin/sh -# -# gst-plugins-good autogen.sh -# -# Run this to generate all the initial makefiles, etc. -# -# This file has been generated from common/autogen.sh.in via common/update-autogen - - -test -n "$srcdir" || srcdir=`dirname "$0"` -test -n "$srcdir" || srcdir=. - -olddir=`pwd` -cd "$srcdir" - -package=gst-plugins-good -srcfile=gst-plugins-good.doap - -# Make sure we have common -if test ! -f common/gst-autogen.sh; -then - echo "+ Setting up common submodule" - git submodule init -fi -git submodule update - -# source helper functions -if test ! -f common/gst-autogen.sh; -then - echo There is something wrong with your source tree. - echo You are missing common/gst-autogen.sh - exit 1 -fi -. common/gst-autogen.sh - -# install pre-commit hook for doing clean commits -if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \); -then - rm -f .git/hooks/pre-commit - if ! ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit 2> /dev/null - then - echo "Failed to create commit hook symlink, copying instead ..." - cp common/hooks/pre-commit.hook .git/hooks/pre-commit - fi -fi - -# GNU gettext automake support doesn't get along with git. -# https://bugzilla.gnome.org/show_bug.cgi?id=661128 -if test -d po ; then - touch -t 200001010000 po/gst-plugins-good-1.0.pot -fi - -CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc' - -if test "x$package" = "xgstreamer"; then - CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --enable-failing-tests --enable-poisoning" -elif test "x$package" = "xgst-plugins-bad"; then - CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-player-tests" -fi - -autogen_options $@ - -printf "+ check for build tools" -if test -z "$NOCHECK"; then - echo - - printf " checking for autoreconf ... " - echo - which "autoreconf" 2>/dev/null || { - echo "not found! Please install the autoconf package." - exit 1 - } - - printf " checking for pkg-config ... " - echo - which "pkg-config" 2>/dev/null || { - echo "not found! Please install pkg-config." - exit 1 - } -else - echo ": skipped version checks" -fi - -# if no arguments specified then this will be printed -if test -z "$*" && test -z "$NOCONFIGURE"; then - echo "+ checking for autogen.sh options" - echo " This autogen script will automatically run ./configure as:" - echo " ./configure $CONFIGURE_DEF_OPT" - echo " To pass any additional options, please specify them on the $0" - echo " command line." -fi - -toplevel_check $srcfile - -# autopoint -if test -d po && grep ^AM_GNU_GETTEXT_VERSION configure.ac >/dev/null ; then - tool_run "autopoint" "--force" -fi - -# aclocal -if test -f acinclude.m4; then rm acinclude.m4; fi - -autoreconf --force --install || exit 1 - -test -n "$NOCONFIGURE" && { - echo "+ skipping configure stage for package $package, as requested." - echo "+ autogen.sh done." - exit 0 -} - -cd "$olddir" - -echo "+ running configure ... " -test ! -z "$CONFIGURE_DEF_OPT" && echo " default flags: $CONFIGURE_DEF_OPT" -test ! -z "$CONFIGURE_EXT_OPT" && echo " external flags: $CONFIGURE_EXT_OPT" -echo - -echo "$srcdir/configure" $CONFIGURE_DEF_OPT $CONFIGURE_EXT_OPT -"$srcdir/configure" $CONFIGURE_DEF_OPT $CONFIGURE_EXT_OPT || { - echo " configure failed" - exit 1 -} - -echo "Now type 'make' to compile $package." diff --git a/common b/common deleted file mode 160000 index 59cb678164..0000000000 --- a/common +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 59cb678164719ff59dcf6c8b93df4617a1075d11 diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 74a6601755..0000000000 --- a/configure.ac +++ /dev/null @@ -1,1322 +0,0 @@ -AC_PREREQ([2.69]) - -dnl please read gstreamer/docs/random/autotools before changing this file - -dnl initialize autoconf -dnl releases only do -Wall, git and prerelease does -Werror too -dnl use a three digit version number for releases, and four for git/pre -AC_INIT([GStreamer Good Plug-ins],[1.17.0.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-good]) - -AG_GST_INIT - -dnl initialize automake -AM_INIT_AUTOMAKE([-Wno-portability 1.14 no-dist-gzip dist-xz tar-ustar subdir-objects]) - -dnl define PACKAGE_VERSION_* variables -AS_VERSION - -dnl check if this is a release version -AS_NANO(GST_GIT="no", GST_GIT="yes") - -dnl can autoconf find the source ? -AC_CONFIG_SRCDIR([gst/law/alaw.c]) - -dnl define the output header for config -AC_CONFIG_HEADERS([config.h]) - -dnl AM_MAINTAINER_MODE only provides the option to configure to enable it -AM_MAINTAINER_MODE([enable]) - -dnl sets host_* variables -AC_CANONICAL_HOST - -dnl PKG_CONFIG_SYSROOT_DIR is a valid environment variable -m4_pattern_allow(PKG_CONFIG_SYSROOT_DIR) - -dnl use pretty build output with automake >= 1.11 -m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])], - [AM_DEFAULT_VERBOSITY=1 - AC_SUBST(AM_DEFAULT_VERBOSITY)]) - -dnl our libraries and install dirs use GST_API_VERSION in the filename -dnl to allow side-by-side installation of different API versions -GST_API_VERSION=1.0 -AC_SUBST(GST_API_VERSION) -AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION", - [GStreamer API Version]) - -AG_GST_LIBTOOL_PREPARE -AS_LIBTOOL(GST, 1700, 0, 1700) - -dnl *** required versions of GStreamer stuff *** -GST_REQ=1.17.0.1 -GSTPB_REQ=1.17.0.1 - -dnl *** autotools stuff **** - -dnl allow for different autotools -AS_AUTOTOOLS_ALTERNATE - -dnl Add parameters for aclocal -AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4") - -dnl set up gettext -dnl the version check needs to stay here because autopoint greps for it -AM_GNU_GETTEXT_VERSION([0.17]) -AM_GNU_GETTEXT([external]) -AG_GST_GETTEXT([gst-plugins-good-$GST_API_VERSION]) - -dnl *** check for arguments to configure *** - -AG_GST_ARG_DISABLE_FATAL_WARNINGS -AG_GST_ARG_ENABLE_EXTRA_CHECKS - -AG_GST_ARG_DEBUG -AG_GST_ARG_PROFILING -AG_GST_ARG_VALGRIND -AG_GST_ARG_GCOV - -AG_GST_ARG_EXAMPLES - -AG_GST_ARG_WITH_PKG_CONFIG_PATH -AG_GST_ARG_WITH_PACKAGE_NAME -AG_GST_ARG_WITH_PACKAGE_ORIGIN - -AG_GST_ARG_WITH_PLUGINS - -AG_GST_ARG_ENABLE_EXTERNAL - -AG_GST_ARG_ENABLE_EXPERIMENTAL - -AG_GST_PKG_CONFIG_PATH - -dnl *** checks for platform *** - -dnl * hardware/architecture * - -dnl common/m4/gst-arch.m4 -dnl check CPU type -AG_GST_ARCH - -dnl Determine endianness -AC_C_BIGENDIAN - -dnl *** software *** - -dnl check for large file support -dnl affected plugins must include config.h -AC_SYS_LARGEFILE - -dnl *** checks for programs *** - -dnl find a compiler -AC_PROG_CC -AC_PROG_CC_STDC - -dnl determine c++ compiler -AC_PROG_CXX -dnl determine if c++ is available on this system -AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no) - -dnl determine c++ preprocessor -dnl FIXME: do we need this ? -AC_PROG_CXXCPP - -AC_PROG_OBJC - -dnl check if the compiler supports '-c' and '-o' options -AM_PROG_CC_C_O - -dnl find an assembler -AM_PROG_AS - -dnl check if the compiler supports do while(0) macros -AG_GST_CHECK_DOWHILE_MACROS - -AC_PATH_PROG(VALGRIND_PATH, valgrind, no) -AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno") - -dnl *** checks for libraries *** - -dnl check for libm, for sin() -LT_LIB_M -AC_SUBST(LIBM) - -AC_CHECK_FUNCS(clock_gettime, [], [ - AC_CHECK_LIB(rt, clock_gettime, [ - AC_DEFINE(HAVE_CLOCK_GETTIME, 1) - LIBRT="-lrt" - AC_SUBST([LIBRT]) - ]) -]) - -dnl check for pthreads -AX_PTHREAD - -dnl *** checks for header files *** - -dnl check if we have ANSI C header files -AC_HEADER_STDC - -dnl used by ext/wavpack -AX_CREATE_STDINT_H - -dnl used in gst/udp -AC_CHECK_HEADERS([sys/time.h]) - -dnl used in gst/udp -AC_CHECK_HEADERS([sys/socket.h]) - -dnl *** checks for types/defines *** - -dnl Check for FIONREAD ioctl declaration. This check is needed -dnl for the UDP plugin to build on Solaris -GST_CHECK_FIONREAD - -dnl *** checks for structures *** - -dnl *** checks for compiler characteristics *** - -dnl check if we have GCC inline-asm -AS_GCC_INLINE_ASSEMBLY([HAVE_GCC_ASM=yes], [HAVE_GCC_ASM=no]) -if test x$HAVE_GCC_ASM = xyes ; then - AC_DEFINE(HAVE_GCC_ASM, 1, - [Define if compiler supports gcc inline assembly]) -fi -AM_CONDITIONAL(HAVE_GCC_ASM, test "x$HAVE_GCC_ASM" = "xyes") - -dnl *** checks for library functions *** - -LIBS_SAVE=$LIBS -LIBS="$LIBS $LIBM" -AC_CHECK_FUNCS(rint sinh cosh asinh fpclass) -LIBS=$LIBS_SAVE - -dnl Check whether isinf() is defined by math.h -AC_CACHE_CHECK([for isinf], ac_cv_have_isinf, - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[float f = 0.0; int i=isinf(f)]])],[ac_cv_have_isinf="yes"],[ac_cv_have_isinf="no"])) -if test "$ac_cv_have_isinf" = "yes" -then - AC_DEFINE(HAVE_ISINF, 1, [Define to 1 if you have the `isinf' function.]) -fi - -dnl Check for mmap (needed by electricfence plugin) -AC_FUNC_MMAP -AC_CHECK_SIZEOF([off_t]) -AM_CONDITIONAL(GST_HAVE_MMAP, test "x$ac_cv_func_mmap_fixed_mapped" = "xyes") - -dnl Check for mmap (needed by electricfence plugin) - -AC_CHECK_TYPE([struct ip_mreqn], [ - AC_DEFINE(HAVE_IP_MREQN,, [Define if we have struct ip_mreqn])],, - [#include ]) - -dnl *** checks for dependency libraries *** - - -dnl GLib -GLIB_REQ=2.44.0 -AG_GST_GLIB_CHECK([$GLIB_REQ]) - -dnl Orc -ORC_CHECK([0.4.17]) - -dnl checks for gstreamer -dnl uninstalled is selected preferentially -- see pkg-config(1) -AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ], yes) -AG_GST_CHECK_GST_BASE($GST_API_VERSION, [$GST_REQ], yes) -AG_GST_CHECK_GST_CONTROLLER($GST_API_VERSION, [$GST_REQ], yes) -AG_GST_CHECK_GST_NET($GST_API_VERSION, [$GST_REQ], yes) -AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no) -AG_GST_CHECK_GST_PLUGINS_BASE($GST_API_VERSION, [$GSTPB_REQ], yes) - -GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION` -if test -z $GST_TOOLS_DIR; then - AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.]) -fi -AC_SUBST(GST_TOOLS_DIR) - -AC_MSG_NOTICE(Using GStreamer Core Plugins in $GST_PLUGINS_DIR) -AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR) - -AG_GST_PKG_CHECK_MODULES(GST_GL, gstreamer-gl-[$GST_API_VERSION], [$GST_REQ], no) - -dnl FIXME: if uninstalled setup we might not want to pick up an installed gst-gl? -if test "x$HAVE_GST_GL" = "xyes"; then - - AC_MSG_CHECKING([GStreamer OpenGL window systems ...]) - GST_GL_WINSYS=`$PKG_CONFIG --variable=gl_winsys gstreamer-gl-1.0` - AC_MSG_RESULT([$GST_GL_WINSYS]) - GST_GL_HAVE_WINDOW_X11="" - GST_GL_HAVE_WINDOW_WAYLAND="" - GST_GL_HAVE_WINDOW_ANDROID="" - GST_GL_HAVE_WINDOW_COCOA="" - GST_GL_HAVE_WINDOW_EAGL="" - case "$GST_GL_WINSYS" in *x11*) GST_GL_HAVE_WINDOW_X11="1" ;; esac - case "$GST_GL_WINSYS" in *wayland*) GST_GL_HAVE_WINDOW_WAYLAND="1" ;; esac - case "$GST_GL_WINSYS" in *android*) GST_GL_HAVE_WINDOW_ANDROID="1" ;; esac - case "$GST_GL_WINSYS" in *cocoa*) GST_GL_HAVE_WINDOW_COCOA="1" ;; esac - case "$GST_GL_WINSYS" in *eagl*) GST_GL_HAVE_WINDOW_EAGL="1" ;; esac - - AC_MSG_CHECKING([GStreamer OpenGL platforms ...]) - GST_GL_PLATFORMS=`$PKG_CONFIG --variable=gl_platforms gstreamer-gl-1.0` - AC_MSG_RESULT([$GST_GL_PLATFORMS]) - GST_GL_HAVE_PLATFORM_GLX="" - GST_GL_HAVE_PLATFORM_EGL="" - GST_GL_HAVE_PLATFORM_CGL="" - GST_GL_HAVE_PLATFORM_EAGL="" - case "$GST_GL_PLATFORMS" in *glx*) GST_GL_HAVE_PLATFORM_GLX="1" ;; esac - case "$GST_GL_PLATFORMS" in *egl*) GST_GL_HAVE_PLATFORM_EGL="1" ;; esac - case "$GST_GL_PLATFORMS" in *cgl*) GST_GL_HAVE_PLATFORM_CGL="1" ;; esac - case "$GST_GL_PLATFORMS" in *eagl*) GST_GL_HAVE_PLATFORM_EAGL="1" ;; esac - - AC_MSG_CHECKING([GStreamer OpenGL apis ...]) - GST_GL_APIS=`$PKG_CONFIG --variable=gl_apis gstreamer-gl-1.0` - AC_MSG_RESULT([$GST_GL_APIS]) - GST_GL_HAVE_API_GLES2="" - GST_GL_HAVE_API_GL="" - case "$GST_GL_APIS" in *gles2*) GST_GL_HAVE_API_GLES2="1" ;; esac - case "$GST_GL_APIS" in "gl"|"gl "*|*" gl"|*" gl "*) GST_GL_HAVE_API_GL="1" ;; esac -fi - -AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes") - -dnl Check for documentation xrefs -GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`" -GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`" -GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_API_VERSION`" -AC_SUBST(GLIB_PREFIX) -AC_SUBST(GST_PREFIX) -AC_SUBST(GSTPB_PREFIX) - -dnl GTK is optional and used in examples -HAVE_GTK=no -GTK_REQ=3.0.0 -if test "x$BUILD_EXAMPLES" = "xyes"; then - PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQ, HAVE_GTK=yes, HAVE_GTK=no) - dnl some examples need gtk+-x11 - PKG_CHECK_MODULES(GTK_X11, gtk+-x11-3.0 >= $GTK_REQ, HAVE_GTK_X11=yes, HAVE_GTK_X11=no) - AC_SUBST(GTK_LIBS) - AC_SUBST(GTK_CFLAGS) -fi -AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") -AM_CONDITIONAL(HAVE_GTK_X11, test "x$HAVE_GTK_X11" = "xyes") - -dnl Check for -Bsymbolic-functions linker flag used to avoid -dnl intra-library PLT jumps, if available. -AC_ARG_ENABLE(Bsymbolic, - [AS_HELP_STRING([--disable-Bsymbolic],[avoid linking with -Bsymbolic])],, - [SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}" - AC_MSG_CHECKING([for -Bsymbolic-functions linker flag]) - LDFLAGS=-Wl,-Bsymbolic-functions - LIBS= - AC_TRY_LINK([], [return 0], - AC_MSG_RESULT(yes) - enable_Bsymbolic=yes, - AC_MSG_RESULT(no) - enable_Bsymbolic=no) - LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"]) - -dnl *** set variables based on configure arguments *** - -dnl set license and copyright notice -GST_LICENSE="LGPL" -AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license]) -AC_SUBST(GST_LICENSE) - -dnl set location of plugin directory -AG_GST_SET_PLUGINDIR - -dnl set release date/time -AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO], - ["${srcdir}/gst-plugins-good.doap"], - [$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO]) - -# set by AG_GST_PARSE_SUBSYSTEM_DISABLES above -dnl make sure it doesn't complain about unused variables if debugging is disabled -NO_WARNINGS="" -AG_GST_CHECK_GST_DEBUG_DISABLED([NO_WARNINGS="-Wno-unused"], [NO_WARNINGS=""]) - -dnl define an ERROR_CFLAGS Makefile variable -dnl -Wundef: too many broken headers -AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [ - -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls - -Wwrite-strings -Wold-style-definition -Waggregate-return - -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar - -Wnested-externs $NO_WARNINGS]) - -dnl define an ERROR_CXXFLAGS Makefile variable -AG_GST_SET_ERROR_CXXFLAGS($FATAL_WARNINGS, [ - -Wmissing-declarations -Wredundant-decls - -Wwrite-strings - -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar - $NO_WARNINGS]) - -dnl define an ERROR_OBJCFLAGS Makefile variable -AG_GST_SET_ERROR_OBJCFLAGS($FATAL_WARNINGS, [ - -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls - -Wwrite-strings -Wold-style-definition - -Winit-self -Wmissing-include-dirs -Wno-multichar - -Wnested-externs $NO_WARNINGS]) - -dnl define correct level for debugging messages -AG_GST_SET_LEVEL_DEFAULT($GST_GIT) - -dnl used in examples -AG_GST_DEFAULT_ELEMENTS - -dnl *** plug-ins to include *** - -dnl these are all the gst plug-ins, compilable without additional libs -dnl videofilter is at the top because others depend on it -AG_GST_CHECK_PLUGIN(alpha) -AG_GST_CHECK_PLUGIN(apetag) -AG_GST_CHECK_PLUGIN(audiofx) -AG_GST_CHECK_PLUGIN(audioparsers) -AG_GST_CHECK_PLUGIN(auparse) -AG_GST_CHECK_PLUGIN(autodetect) -AG_GST_CHECK_PLUGIN(avi) -AG_GST_CHECK_PLUGIN(cutter) -AG_GST_CHECK_PLUGIN(debugutils) -AG_GST_CHECK_PLUGIN(deinterlace) -AG_GST_CHECK_PLUGIN(dtmf) -AG_GST_CHECK_PLUGIN(effectv) -AG_GST_CHECK_PLUGIN(equalizer) -AG_GST_CHECK_PLUGIN(flv) -AG_GST_CHECK_PLUGIN(flx) -AG_GST_CHECK_PLUGIN(goom) -AG_GST_CHECK_PLUGIN(goom2k1) -AG_GST_CHECK_PLUGIN(icydemux) -AG_GST_CHECK_PLUGIN(id3demux) -AG_GST_CHECK_PLUGIN(imagefreeze) -AG_GST_CHECK_PLUGIN(interleave) -AG_GST_CHECK_PLUGIN(isomp4) -AG_GST_CHECK_PLUGIN(law) -AG_GST_CHECK_PLUGIN(level) -AG_GST_CHECK_PLUGIN(matroska) -AG_GST_CHECK_PLUGIN(monoscope) -AG_GST_CHECK_PLUGIN(multifile) -AG_GST_CHECK_PLUGIN(multipart) -AG_GST_CHECK_PLUGIN(replaygain) -AG_GST_CHECK_PLUGIN(rtp) -AG_GST_CHECK_PLUGIN(rtpmanager) -AG_GST_CHECK_PLUGIN(rtsp) -AG_GST_CHECK_PLUGIN(shapewipe) -AG_GST_CHECK_PLUGIN(smpte) -AG_GST_CHECK_PLUGIN(spectrum) -AG_GST_CHECK_PLUGIN(udp) -AG_GST_CHECK_PLUGIN(videobox) -AG_GST_CHECK_PLUGIN(videocrop) -AG_GST_CHECK_PLUGIN(videofilter) -AG_GST_CHECK_PLUGIN(videomixer) -AG_GST_CHECK_PLUGIN(wavenc) -AG_GST_CHECK_PLUGIN(wavparse) -AG_GST_CHECK_PLUGIN(y4m) - -dnl disable experimental plug-ins -if test "x$BUILD_EXPERIMENTAL" != "xyes"; then - AG_GST_DISABLE_PLUGIN(monoscope) -fi - -dnl *** sys plug-ins *** - -echo -AC_MSG_NOTICE([Checking libraries for plugins in sys/]) -echo - -dnl DirectSound -translit(dnm, m, l) AM_CONDITIONAL(USE_DIRECTSOUND, true) -AG_GST_CHECK_FEATURE(DIRECTSOUND, [DirectSound plug-in], directsoundsink, [ - HAVE_DIRECTSOUND="no" - save_CFLAGS="$CFLAGS" - save_LDFLAGS="$LDFLAGS" - save_LIBS="$LIBS" - CFLAGS="$CFLAGS $DIRECTSOUND_CFLAGS" - LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS" - LIBS="$LIBS -ldsound -ldxerr9 -luser32 -lole32" - AC_MSG_CHECKING(for DirectSound LDFLAGS) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include -#include -#include -]], [[ - DXGetErrorString9 (0); - DirectSoundCreate(NULL, NULL, NULL); - CLSIDFromString(NULL, NULL); -]]) -], - [HAVE_DIRECTSOUND="yes"], - [HAVE_DIRECTSOUND="no"]) - AC_MSG_RESULT($HAVE_DIRECTSOUND) - CFLAGS=$save_CFLAGS - LDFLAGS=$save_LDFLAGS - LIBS=$save_LIBS - - if test "x$HAVE_DIRECTSOUND" = "xyes"; then - dnl this is much more than we want - DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32 -lole32" - AC_SUBST(DIRECTSOUND_CFLAGS) - AC_SUBST(DIRECTSOUND_LDFLAGS) - AC_SUBST(DIRECTSOUND_LIBS) - fi - AC_SUBST(HAVE_DIRECTSOUND) -]) - -dnl *** Win32 WaveOut *** -translit(dnm, m, l) AM_CONDITIONAL(USE_WAVEFORM, true) -AG_GST_CHECK_FEATURE(WAVEFORM, [Win32 WaveForm], waveformsink, [ - AC_CHECK_HEADER(mmsystem.h, HAVE_WAVEFORM="yes", HAVE_WAVEFORM="no", [#include ]) -]) - -dnl *** OSS audio *** (Linux, *BSD) -translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true) -AG_GST_CHECK_FEATURE(OSS, [OSS audio], ossaudio, [ - HAVE_OSS="yes" -dnl Linux and newer BSD versions : - AC_CHECK_HEADER(sys/soundcard.h, [ - AC_DEFINE(HAVE_OSS_INCLUDE_IN_SYS,, [Define if OSS includes are in /sys/]) - ] , [ -dnl Some old BSD versions and also newer OpenBSD versions : - AC_CHECK_HEADER(soundcard.h, [ - AC_DEFINE(HAVE_OSS_INCLUDE_IN_ROOT,, [Define if OSS includes are in /]) - ], [ - dnl Some old BSD versions : - AC_CHECK_HEADER(machine/soundcard.h, [ - AC_DEFINE(HAVE_OSS_INCLUDE_IN_MACHINE,, - [Define if OSS includes are in /machine/]) - ], [ - HAVE_OSS="no" - ]) - ]) - ]) -]) - -dnl *** oss4 *** -translit(dnm, m, l) AM_CONDITIONAL(USE_OSS4, true) -AG_GST_CHECK_FEATURE(OSS4, [Open Sound System 4], oss4, [ - AC_MSG_CHECKING([Checking if we can build the OSS4 elements]) - AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/stat.h sys/types.h], - [test -z "$OSS4_MISSING_HEADER" && HAVE_OSS4="yes"], - [OSS4_MISSING_HEADER="yes";HAVE_OSS4="no"]) -]) - -dnl *** OSX Audio *** -translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_AUDIO, true) -HAVE_IOS="no" -AG_GST_CHECK_FEATURE(OSX_AUDIO, [OSX audio], osxaudio, [ - AC_CHECK_HEADER(CoreAudio/CoreAudio.h, - [HAVE_OSX_AUDIO="yes"], - [AC_CHECK_HEADER(CoreAudio/CoreAudioTypes.h, - [ - HAVE_OSX_AUDIO="yes" - HAVE_IOS="yes" - ], [ - HAVE_OSX_AUDIO="no" - HAVE_IOS="no" - ])] - ) -]) -if test "x$HAVE_IOS" = "xyes"; then - AC_DEFINE(HAVE_IOS, 1, [building for iOS platofrm]) -fi -AM_CONDITIONAL(HAVE_IOS, test "x$HAVE_IOS" = "xyes") - -dnl *** OS X video *** -translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true) -HAVE_OSX_VIDEO="no" -AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [ - AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no") - - dnl in case header OpenGL/gl.h is found on other platforms (or older, unsupported OS X) - dnl also require Snow Leopard or newer - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include - #if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 - #error Too old OSX version - #endif - ]], [[return 0;]])],[HAVE_OSX_VIDEO="yes"],[HAVE_OSX_VIDEO="no"]) -]) - -dnl *** Video 4 Linux 2 *** -dnl renamed to GST_V4L2 because of some conflict with kernel headers -translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L2, true) -HAVE_GST_V4L2=no -AG_GST_CHECK_FEATURE(GST_V4L2, [Video 4 Linux 2], video4linux2, [ - AC_MSG_CHECKING([Checking for video4linux2 header ...]) - AC_CHECK_HEADER(linux/videodev2.h, [ HAVE_GST_V4L2=yes ], - [ - AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ], - [ - AC_CHECK_HEADER(sys/videoio.h, [ HAVE_GST_V4L2=yes ]) - ]) - ]) - if test "x$HAVE_VIDEODEV" = "xno"; then - AC_MSG_WARN([video4linux2 was not found]) - fi -]) - -# Optional gudev for device probing -AC_ARG_WITH([gudev], - AS_HELP_STRING([--with-gudev],[device detection with gudev]), - [], - [with_gudev=check]) -if test x$HAVE_GST_V4L2 = xyes; then - if test x$with_gudev != xno; then - PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 147 ], - [ AC_DEFINE(HAVE_GUDEV, 1, - [Whether gudev is available for device detection]) - ], - [true]) - fi -fi - -AC_SUBST(GUDEV_CFLAGS) -AC_SUBST(GUDEV_LIBS) - -# Make libv4l2 non-automagic -AC_ARG_WITH([libv4l2], - AS_HELP_STRING([--with-libv4l2],[support video buffer conversion using libv4l2]), - [], - [with_libv4l2=check]) -if test x$HAVE_GST_V4L2 = xyes; then - if test x$with_libv4l2 != xno; then - PKG_CHECK_MODULES(LIBV4L2, libv4l2, - [ have_libv4l2=yes - AC_DEFINE(HAVE_LIBV4L2, 1, - [Whether libv4l2 is available for video buffer conversion]) - ], [ - have_libv4l2=no - ]) - else - have_libv4l2=no - fi -fi - -dnl Allow enabling v4l2 device probing -default_v4l2_probe=no -AS_CASE([$host], - [*-*linux*], - [AS_CASE([$host_cpu], - [arm*], [ - default_v4l2_probe=yes], - [aarch64*], [ - default_v4l2_probe=yes])]) -AC_ARG_ENABLE( - v4l2-probe, - AC_HELP_STRING( - [--enable-v4l2-probe], - [enable V4L2 plugin to probe devices]), - [], [enable_v4l2_probe=$default_v4l2_probe]) -if test "x$enable_v4l2_probe" = "xyes"; then - AC_DEFINE(GST_V4L2_ENABLE_PROBE, 1, - [Define if Video4Linux probe shall be run at plugin load]) -fi - -dnl Check for X11 -translit(dnm, m, l) AM_CONDITIONAL(USE_X, true) -AG_GST_CHECK_FEATURE(X, [X libraries and plugins], - [ximagesrc], [ - PKG_CHECK_MODULES([X], [x11], [ - HAVE_X="yes" - dnl check for Xfixes - PKG_CHECK_MODULES([XFIXES], [ xfixes ], [ - AC_DEFINE(HAVE_XFIXES, 1, [Defined if Xfixes is available]) - ], [ HAVE_XFIXES="no" ]) - - dnl check for Xdamage - PKG_CHECK_MODULES([XDAMAGE], [ xdamage ], [ - AC_DEFINE(HAVE_XDAMAGE, 1, [Defined if Xdamage is available]) - ], [ HAVE_XDAMAGE="no" ]) - - dnl check for X Shm - PKG_CHECK_MODULES([XEXT], [ xext ], [ - AC_CHECK_LIB([Xext], [ XShmAttach ], [ - AC_DEFINE(HAVE_XSHM, 1, [Defined if XShm is available]) - XSHM_LIBS="$XEXT_LIBS" - XSHM_CFLAGS="$XEXT_CFLAGS" - ], [ HAVE_XEXT="no" ] , [ $X_LIBS ]) - ]) - AC_SUBST(XSHM_LIBS) - AC_SUBST(XSHM_CFLAGS) - ], [ HAVE_X="no" ]) -]) - -dnl *** ext plug-ins *** -dnl keep this list sorted alphabetically ! - -if test "x$BUILD_EXTERNAL" = "xyes"; then - -echo -AC_MSG_NOTICE([Checking libraries for plugins in ext/]) -echo - -dnl *** aalib *** -translit(dnm, m, l) AM_CONDITIONAL(USE_AALIB, true) -AG_GST_CHECK_FEATURE(AALIB, [aalib ASCII Art library], aasink, [ - AM_PATH_AALIB(, HAVE_AALIB=yes, HAVE_AALIB=no) -]) - -dnl *** cairo *** -translit(dnm, m, l) AM_CONDITIONAL(USE_CAIRO, true) -AG_GST_CHECK_FEATURE(CAIRO, [Cairo graphics rendering and gobject bindings], cairo, [ - AG_GST_PKG_CHECK_MODULES(CAIRO, cairo >= 1.10.0 cairo-gobject >= 1.10.0) -]) - -dnl *** FLAC *** -translit(dnm, m, l) AM_CONDITIONAL(USE_FLAC, true) -AG_GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flac, [ - AG_GST_PKG_CHECK_MODULES(FLAC, flac >= 1.1.4) -]) - -dnl *** GDK pixbuf *** -translit(dnm, m, l) AM_CONDITIONAL(USE_GDK_PIXBUF, true) -AG_GST_CHECK_FEATURE(GDK_PIXBUF, [GDK pixbuf], gdkpixbuf, [ - AG_GST_PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= 2.8.0) -]) - -dnl *** gtk+ *** -HAVE_GTK3_GL="no" -translit(dnm, m, l) AM_CONDITIONAL(USE_GTK3, true) -AG_GST_CHECK_FEATURE(GTK3, [Gtk+ elements], gtk, [ - PKG_CHECK_MODULES(GTK3, gtk+-3.0, [ - AC_DEFINE([HAVE_GTK3], 1, [Define if Gtk+ 3.0 is installed]) - HAVE_GTK3="yes" - ], [ - HAVE_GTK3="no" - ]) - PKG_CHECK_MODULES(GTK3_GL, gtk+-3.0 >= 3.15.0, [ - GDK_WINDOWING="no" - if test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_GLX" = "x1"; then - PKG_CHECK_MODULES(GTK3_X11, gtk+-x11-3.0, [ - GTK3_CFLAGS="$GTK3_CFLAGS $GTK3_X11_CFLAGS" - GTK3_LIBS="$GTK3_LIBS $GTK3_X11_LIBS" - GDK_WINDOWING="yes" - ], [AC_MSG_NOTICE([Could not find Gtk X11 integration])]) - fi - if test "x$GST_GL_HAVE_WINDOW_WAYLAND" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then - PKG_CHECK_MODULES(GTK3_WAYLAND, gtk+-wayland-3.0, [ - GTK3_CFLAGS="$GTK3_CFLAGS $GTK3_WAYLAND_CFLAGS" - GTK3_LIBS="$GTK3_LIBS $GTK3_WAYLAND_LIBS" - GDK_WINDOWING="yes" - ], [AC_MSG_NOTICE([Could not find Gtk Wayland integration])]) - fi - if test "x$GDK_WINDOWING" = "xyes" -a "x$HAVE_GST_GL" = "xyes"; then - AC_DEFINE([HAVE_GTK3_GL], 1, [Define if Gtk+ 3.0 GL is installed]) - HAVE_GTK3_GL="yes" - fi - ], [ - HAVE_GTK3_GL="no" - ]) -]) -AM_CONDITIONAL(USE_GTK3_GL, test "x$HAVE_GTK3_GL" = "xyes") - -dnl *** Jack *** -translit(dnm, m, l) AM_CONDITIONAL(USE_JACK, true) -AG_GST_CHECK_FEATURE(JACK, Jack, jack, [ - PKG_CHECK_MODULES(JACK, jack >= 0.99.10, HAVE_JACK="yes", HAVE_JACK="no") - AC_SUBST(JACK_CFLAGS) - AC_SUBST(JACK_LIBS) - - AG_GST_PKG_CHECK_MODULES(JACK_0_120_1, jack >= 0.120.1 jack < 1.0) - if test x$HAVE_JACK_0_120_1 = xyes; then - AC_DEFINE(HAVE_JACK_0_120_1, 1, [defined if jack >= 0.120.1 is available]) - fi - AG_GST_PKG_CHECK_MODULES(JACK_1_9_7, jack >= 1.9.7) - if test x$HAVE_JACK_1_9_7 = xyes; then - AC_DEFINE(HAVE_JACK_1_9_7, 1, [defined if jack >= 1.9.7 is available]) - fi - -]) - -dnl *** jpeg *** -dnl FIXME: we could use header checks here as well IMO -translit(dnm, m, l) AM_CONDITIONAL(USE_JPEG, true) -AG_GST_CHECK_FEATURE(JPEG, [jpeg library], jpeg, [ - AC_ARG_WITH(jpeg-mmx, - [ --with-jpeg-mmx, path to MMX'ified JPEG library]) - OLD_LIBS="$LIBS" - if test x$with_jpeg_mmx != x; then - LIBS="$LIBS -L$with_jpeg_mmx" - fi - AC_CHECK_LIB(jpeg-mmx, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no") - JPEG_LIBS="$LIBS -ljpeg-mmx" - LIBS="$OLD_LIBS" - if test x$HAVE_JPEG != xyes; then - AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no") - JPEG_LIBS="-ljpeg" - fi - AC_SUBST(JPEG_LIBS) -]) - -dnl *** lame *** -translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true) -AG_GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [ - AG_GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, $LIBM, lame/lame.h, - [ - HAVE_LAME="yes" - LAME_LIBS="-lmp3lame $LIBM" - dnl is lame presets available - LAME_CFLAGS="" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ int preset = MEDIUM ]])],[LAME_CFLAGS="-DGSTLAME_PRESET"],[LAME_CFLAGS="" - ]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ - void *ptr = &lame_set_VBR_quality - ]])],[LAME_CFLAGS="$LAME_CFLAGS -DHAVE_LAME_SET_VBR_QUALITY"],[LAME_CFLAGS="$LAME_CFLAGS" - ]) - AC_SUBST(LAME_CFLAGS) - AC_SUBST(LAME_LIBS) - ]) -]) - -dnl *** libcaca *** -translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true) -AG_GST_CHECK_FEATURE(LIBCACA, [libcaca coloured ASCII art], cacasink, [ - AG_GST_PKG_CHECK_MODULES(LIBCACA, caca) -]) - -dnl *** libdv *** -translit(dnm, m, l) AM_CONDITIONAL(USE_LIBDV, true) -AG_GST_CHECK_FEATURE(LIBDV, [libdv DV demuxer/decoder], dv, [ - AG_GST_PKG_CHECK_MODULES(LIBDV, libdv >= 0.100) -]) - -dnl *** libpng *** -translit(dnm, m, l) AM_CONDITIONAL(USE_LIBPNG, true) -AG_GST_CHECK_FEATURE(LIBPNG, [Portable Network Graphics library], png, [ - AG_GST_PKG_CHECK_MODULES(LIBPNG, libpng >= 1.2) - if test $HAVE_LIBPNG = "yes"; then - PKG_CHECK_MODULES(LIBPNG_1_5, libpng >= 1.5.1, [ - AC_DEFINE(HAVE_LIBPNG_1_5, 1, [Defined if libpng version is 1.5.1 or newer]) - ], [true]) - fi -]) - -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, [ - - dnl used in ext/pulse/pulseutil.c - AC_CHECK_HEADERS([process.h]) - - AG_GST_PKG_CHECK_MODULES(PULSE, libpulse >= 2.0) -]) - -dnl *** dv1394 *** -translit(dnm, m, l) AM_CONDITIONAL(USE_DV1394, true) -AG_GST_CHECK_FEATURE(DV1394, [raw1394 and avc1394 library], 1394, [ - dnl first test for libraw1394 >= 2.0.0 - AG_GST_PKG_CHECK_MODULES(RAW1394, libraw1394 >= 2.0.0) - AG_GST_PKG_CHECK_MODULES(LIBIEC61883, libiec61883 >= 1.0.0) - dnl now see how far we got - if test x$HAVE_RAW1394 = xyes && \ - test x$HAVE_LIBIEC61883 = xyes; then - AG_GST_CHECK_LIBHEADER(AVC1394, - avc1394, avc1394_send_command, $RAW1394_LIBS, - libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394") - AG_GST_CHECK_LIBHEADER(ROM1394, - rom1394, rom1394_free_directory, $RAW1394_LIBS, - libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394") - if test x$HAVE_AVC1394 = xyes && \ - test x$HAVE_AVC1394 = xyes && \ - test x$HAVE_ROM1394 = xyes; then - HAVE_DV1394=yes - DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS $LIBIEC61883_LIBS" - DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883" - AC_SUBST(DV1394_CFLAGS) - AC_SUBST(DV1394_LIBS) - fi - else - if test x$HAVE_RAW1394 = xno; then - AG_GST_PKG_CHECK_MODULES(RAW1394, libraw1394 >= 1.1.0) - AG_GST_CHECK_LIBHEADER(AVC1394, - avc1394, avc1394_send_command, $RAW1394_LIBS, - libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394") - AG_GST_CHECK_LIBHEADER(ROM1394, - rom1394, rom1394_free_directory, $RAW1394_LIBS, - libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394") - if test x$HAVE_RAW1394 = xyes && \ - test x$HAVE_AVC1394 = xyes && \ - test x$HAVE_ROM1394 = xyes; then - HAVE_DV1394=yes - DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS" - DV1394_CFLAGS="$RAW1394_CFLAGS" - if test x$HAVE_LIBIEC61883 = xyes; then - DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883" - DV1394_LIBS="$DV1394_LIBS $LIBIEC61883_LIBS" - fi - AC_SUBST(DV1394_CFLAGS) - AC_SUBST(DV1394_LIBS) - fi - fi - fi -]) -AM_CONDITIONAL(USE_LIBIEC61883, [ test "x${HAVE_LIBIEC61883}" = xyes ] ) - -dnl *** Qt *** -translit(dnm, m, l) AM_CONDITIONAL(USE_QT, true) -AG_GST_CHECK_FEATURE(QT, [Qt elements], qt, [ - PKG_CHECK_MODULES(QT, Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0, [ - QT_PATH=`$PKG_CONFIG --variable=exec_prefix Qt5Core` - QT_HOST_PATH=`$PKG_CONFIG --variable=host_bins Qt5Core` - AC_ARG_WITH([moc], - AS_HELP_STRING([--with-moc], [Set location of qt moc tool]), - [MOC=$withval]) - AC_PATH_PROGS(MOC, [moc-qt5 moc], [moc], ["${QT_HOST_PATH}" "${QT_PATH}/bin"]) - AC_ARG_WITH([rcc], - AS_HELP_STRING([--with-rcc], [Set location of qt rcc tool]), - [RCC=$withval]) - AC_PATH_PROGS(RCC, [rcc-qt5 rcc], [rcc], ["${QT_HOST_PATH}" "${QT_PATH}/bin"]) - AC_ARG_WITH([uic], - AS_HELP_STRING([--with-uic], [Set location of qt uic tool]), - [UIC=$withval]) - AC_PATH_PROGS(UIC, [uic-qt5 uic], [uic], ["${QT_HOST_PATH}" "${QT_PATH}/bin"]) - if test "x$MOC" = "x" || test "x$UIC" = "x" || test "x$RCC" = "x"; then - AC_MSG_WARN([One of the required qt build programs was not found]) - HAVE_QT="no" - else - HAVE_QT="yes" - HAVE_QT_WINDOWING="no" - QT_VERSION="`$PKG_CONFIG --define-prefix --modversion Qt5Core`" - QPA_INCLUDE_PATH=`$PKG_CONFIG --variable=includedir Qt5Core`/QtGui/${QT_VERSION}/QtGui - AS_IF([test -f "$PKG_CONFIG_SYSROOT_DIR/$QPA_INCLUDE_PATH/qpa/qplatformnativeinterface.h"], [ - QT_CFLAGS="$QT_CFLAGS -I$PKG_CONFIG_SYSROOT_DIR/$QPA_INCLUDE_PATH" - HAVE_QT_QPA_HEADER="yes" - AC_DEFINE([HAVE_QT_QPA_HEADER], [], [Define if the Qt QPA header is installed]) - ], [AC_MSG_NOTICE([Cannot find QPA])]) - if test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_GLX" = "x1" || test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then - PKG_CHECK_MODULES(QT_X11, Qt5X11Extras, [ - AC_DEFINE([HAVE_QT_X11], [], [Define if Qt X11 integration is installed]) - QT_CFLAGS="$QT_CFLAGS $QT_X11_CFLAGS" - QT_LIBS="$QT_LIBS $QT_X11_LIBS" - HAVE_QT_WINDOWING="yes" - ], [AC_MSG_NOTICE([Could not find Qt X11 integration])]) - fi - if test "x$GST_GL_HAVE_WINDOW_WAYLAND" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1" -a "x$HAVE_QT_QPA_HEADER" = "xyes"; then - PKG_CHECK_MODULES(QT_WAYLAND, Qt5WaylandClient, [ - AC_DEFINE([HAVE_QT_WAYLAND], [], - [Define if Qt Wayland integration is installed]) - QT_CFLAGS="$QT_CFLAGS $QT_WAYLAND_CFLAGS" - QT_LIBS="$QT_LIBS $QT_WAYLAND_LIBS" - HAVE_QT_WINDOWING="yes" - ], [AC_MSG_NOTICE([Could not find Qt Wayland integration])]) - fi - if test "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then - if test "x$GST_GL_HAVE_WINDOW_ANDROID" = "x1"; then - PKG_CHECK_MODULES(QT_ANDROID, Qt5AndroidExtras, [ - # c++ on android requires a standard library and there are multiple - # choices. cerbero provides a pkg-config file the describes a choice - # so try to use that. Outside cerbero one has to pass these flags - # manually for the library one is using - PKG_CHECK_MODULES(GNUSTL, gnustl, [ - QT_CFLAGS="$QT_CFLAGS $GNUSTL_CFLAGS" - QT_LIBS="$QT_LIBS $GNUSTL_LIBS" - ], [ - AC_MSG_NOTICE([Could not find Standard C++ library])]) - AC_DEFINE([HAVE_QT_ANDROID], [], - [Define if Qt Android integration is installed]) - QT_CFLAGS="$QT_CFLAGS $QT_ANDROID_CFLAGS" - QT_LIBS="$QT_LIBS $QT_ANDROID_LIBS" - HAVE_QT_WINDOWING="yes" - ], [AC_MSG_NOTICE([Could not find Qt Android integration])]) - else - AC_DEFINE([HAVE_QT_EGLFS], [], - [Define if Qt eglfs integration is installed]) - HAVE_QT_WINDOWING="yes" - fi - fi - if test "x$GST_GL_HAVE_WINDOW_COCOA" = "x1" -a "x$GST_GL_HAVE_PLATFORM_CGL" = "x1"; then - PKG_CHECK_MODULES(QT_MAC, Qt5MacExtras, [ - AC_DEFINE([HAVE_QT_MAC], [], - [Define if Qt Mac integration is installed]) - QT_LIBDIR=`$PKG_CONFIG --variable=libdir Qt5Core` - QT_CFLAGS="$QT_CFLAGS $QT_MAC_CFLAGS -F$QT_LIBDIR -framework QtCore -framework QtGui -framework QtQuick -framework QtQml -framework QtMacExtras" - QT_LIBS="$QT_LIBS $QT_MAC_LIBS" - HAVE_QT_WINDOWING="yes" - ], [AC_MSG_NOTICE([Could not find Qt Mac integration])]) - fi - if test "x$GST_GL_HAVE_WINDOW_EAGL" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EAGL" = "x1"; then - if test "x$HAVE_IOS" = "xyes"; then - # iOS doesn't have its own extras package so if we have the core - # modules we are good to go - AC_DEFINE([HAVE_QT_IOS], [], - [Define if Qt iOS integration is installed]) - HAVE_QT_WINDOWING="yes" - fi - fi - if test "x$HAVE_QT_WINDOWING" = "xno"; then - AC_MSG_WARN([Could not find any Qt Windowing integration]) - HAVE_QT="no" - fi - AC_SUBST([QT_CFLAGS]) - AC_SUBST([QT_LIBS]) - fi - ], [ - HAVE_QT="no" - ]) -]) - -dnl *** shout2 *** -translit(dnm, m, l) AM_CONDITIONAL(USE_SHOUT2, true) -AG_GST_CHECK_FEATURE(SHOUT2, [Shoutcast/Icecast client library], shout2, [ - AG_GST_PKG_CHECK_MODULES(SHOUT2, shout >= 2.0) -]) - -dnl *** soup *** -translit(dnm, m, l) AM_CONDITIONAL(USE_SOUP, true) -AG_GST_CHECK_FEATURE(SOUP, [soup http client plugin (2.4)], souphttpsrc, [ - PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.48, [HAVE_SOUP="yes"], [HAVE_SOUP="no"]) - AC_SUBST(SOUP_CFLAGS) - AC_SUBST(SOUP_LIBS) -]) - -dnl *** speex *** -translit(dnm, m, l) AM_CONDITIONAL(USE_SPEEX, true) -AG_GST_CHECK_FEATURE(SPEEX, [speex speech codec], speex, [ - AG_GST_PKG_CHECK_MODULES(SPEEX, speex >= 1.1.6) -]) - -dnl *** taglib *** -translit(dnm, m, l) AM_CONDITIONAL(USE_TAGLIB, true) -AG_GST_CHECK_FEATURE(TAGLIB, [taglib tagging library], taglib, [ - AG_GST_PKG_CHECK_MODULES(TAGLIB, taglib >= 1.5) - if test "x$HAVE_CXX" != "xyes"; then - USE_TAGLIB=false - AC_MSG_NOTICE([Not building taglib plugin: no C++ compiler found]) - else - dnl work around bug in taglib 1.5 headers, remove once there is a 1.6 - AS_CXX_COMPILER_FLAG([-Wno-attributes], [ - TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS -Wno-attributes" - ], [ - TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS" - ]) - AC_SUBST(TAGLIB_CXXFLAGS) - fi -]) - -dnl *** twolame *** -translit(dnm, m, l) AM_CONDITIONAL(USE_TWOLAME, true) -AG_GST_CHECK_FEATURE(TWOLAME, [twolame], twolame, [ - PKG_CHECK_MODULES(TWOLAME, twolame >= 0.3.10, [ - HAVE_TWOLAME="yes"], [ - HAVE_TWOLAME="no" - ]) - AC_SUBST(TWOLAME_CFLAGS) - AC_SUBST(TWOLAME_LIBS) -]) - - -dnl *** vpx *** -translit(dnm, m, l) AM_CONDITIONAL(USE_VPX, vpx) -AG_GST_CHECK_FEATURE(VPX, [VPX decoder], vpx, [ - PKG_CHECK_MODULES(VPX, vpx >= 1.1.0, [HAVE_VPX="yes"], [HAVE_VPX="no"]) - HAVE_VP8=no - HAVE_VP9=no - - if test $HAVE_VPX = "yes"; then - OLD_LIBS="$LIBS" - OLD_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $VPX_CFLAGS" - LIBS="$LIBS $VPX_LIBS" - AC_CHECK_LIB(vpx, vpx_codec_vp8_cx_algo, [ - HAVE_VP8=yes - AC_DEFINE(HAVE_VP8_ENCODER, 1, [Defined if the VP8 encoder is available]) - ]) - AC_CHECK_LIB(vpx, vpx_codec_vp8_dx_algo, [ - HAVE_VP8=yes - AC_DEFINE(HAVE_VP8_DECODER, 1, [Defined if the VP8 decoder is available]) - ]) - - PKG_CHECK_MODULES(VPX_130, vpx >= 1.3.0, [ - AC_CHECK_LIB(vpx, vpx_codec_vp9_cx_algo, [ - HAVE_VP9=yes - AC_DEFINE(HAVE_VP9_ENCODER, 1, [Defined if the VP9 encoder is available]) - ]) - AC_CHECK_LIB(vpx, vpx_codec_vp9_dx_algo, [ - HAVE_VP9=yes - AC_DEFINE(HAVE_VP9_DECODER, 1, [Defined if the VP9 decoder is available]) - ]) - ], [true]) - - PKG_CHECK_MODULES(VPX_140, vpx >= 1.4.0, [ - AC_DEFINE(HAVE_VPX_1_4, 1, [Defined if the VPX library version is 1.4 or bigger]) - ], [true]) - - PKG_CHECK_MODULES(VPX_180, vpx >= 1.8.0, [ - AC_DEFINE(HAVE_VPX_1_8, 1, [Defined if the VPX library version is 1.8 or bigger]) - ], [true]) - - LIBS="$OLD_LIBS" - CFLAGS="$OLD_CFLAGS" - fi - AC_SUBST(VPX_LIBS) - AC_SUBST(VPX_CFLAGS) -]) - -dnl *** wavpack *** -translit(dnm, m, l) AM_CONDITIONAL(USE_WAVPACK, true) -AG_GST_CHECK_FEATURE(WAVPACK, [wavpack plug-in], wavpack, [ - AG_GST_PKG_CHECK_MODULES(WAVPACK, wavpack >= 4.60.0) -]) - -dnl *** qtdemux & matroska prefer to have zlib *** -translit(dnm, m, l) AM_CONDITIONAL(USE_ZLIB, true) -AG_GST_CHECK_FEATURE(ZLIB, [zlib support for qtdemux/matroska],, [ - AG_GST_CHECK_LIBHEADER(ZLIB, - z, uncompress,, zlib.h, [ - HAVE_ZLIB="yes" - ZLIB_LIBS="-lz" - AC_SUBST(ZLIB_LIBS) - ]) -]) - -dnl *** matroska prefers to have bz2 *** -translit(dnm, m, l) AM_CONDITIONAL(USE_BZ2, true) -AG_GST_CHECK_FEATURE(BZ2, [bz2 library for matroska ],, [ - save_LIBS=$LIBS - LIBS="$LIBS -lbz2" - AC_MSG_CHECKING([for BZ2_bzlibVersion in -lbz2]) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[const char *version = BZ2_bzlibVersion ();]])],[HAVE_BZ2=yes],[HAVE_BZ2=no]) - AC_MSG_RESULT($HAVE_BZ2) - LIBS=$save_LIBS - if test "x$HAVE_BZ2" = "xyes"; then - BZ2_LIBS="-lbz2" - fi - AC_SUBST(BZ2_LIBS) -]) - -else - -dnl not building plugins with external dependencies, -dnl but we still need to set the conditionals -AM_CONDITIONAL(USE_AALIB, false) -AM_CONDITIONAL(USE_BZ2, false) -AM_CONDITIONAL(USE_CAIRO, false) -AM_CONDITIONAL(USE_DIRECTSOUND, false) -AM_CONDITIONAL(USE_DV1394, false) -AM_CONDITIONAL(USE_FLAC, false) -AM_CONDITIONAL(USE_GDK_PIXBUF, false) -AM_CONDITIONAL(USE_GTK3, false) -AM_CONDITIONAL(USE_GTK3_GL, false) -AM_CONDITIONAL(USE_JACK, false) -AM_CONDITIONAL(USE_JPEG, false) -AM_CONDITIONAL(USE_LAME, false) -AM_CONDITIONAL(USE_LIBCACA, false) -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) -AM_CONDITIONAL(USE_OSX_VIDEO, false) -AM_CONDITIONAL(USE_PULSE, false) -AM_CONDITIONAL(USE_QT, false) -AM_CONDITIONAL(USE_SHOUT2, false) -AM_CONDITIONAL(USE_SOUP, false) -AM_CONDITIONAL(USE_SPEEX, false) -AM_CONDITIONAL(USE_TAGLIB, false) -AM_CONDITIONAL(USE_TWOLAME, false) -AM_CONDITIONAL(USE_VPX, false) -AM_CONDITIONAL(USE_WAVEFORM, false) -AM_CONDITIONAL(USE_WAVPACK, false) -AM_CONDITIONAL(USE_X, false) -AM_CONDITIONAL(USE_ZLIB, false) - -fi dnl of EXT plugins - -dnl *** finalize CFLAGS, LDFLAGS, LIBS - -dnl Overview: -dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ... -dnl GST_*: flags shared by all built objects -dnl GST_ALL_LDFLAGS: linker flags shared by all -dnl GST_LIB_LDFLAGS: not needed, we don't install libraries -dnl GST_LT_LDFLAGS: library versioning of our libraries -dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins - -dnl GST_OPTION_CFLAGS -if test "x$USE_DEBUG" = xyes; then - PROFILE_CFLAGS="-g" -fi -AC_SUBST(PROFILE_CFLAGS) - -if test "x$PACKAGE_VERSION_NANO" = "x1"; then - dnl Define _only_ for git (not pre-releases or releases) - DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED" -else - DEPRECATED_CFLAGS="" -fi -AC_SUBST(DEPRECATED_CFLAGS) - -VISIBILITY_CFLAGS="" -AS_COMPILER_FLAG([-fvisibility=hidden], [VISIBILITY_CFLAGS="-fvisibility=hidden"]) -AC_SUBST(VISIBILITY_CFLAGS) - -VISIBILITY_CXXFLAGS="" -if test "x$HAVE_CXX" = "xyes"; then - AS_CXX_COMPILER_FLAG([-fvisibility=hidden], [VISIBILITY_CXXFLAGS="-fvisibility=hidden"]) -fi -AC_SUBST(VISIBILITY_CXXFLAGS) - -dnl disable strict aliasing -AS_COMPILER_FLAG([-fno-strict-aliasing], [EXTRA_CFLAGS="-fno-strict-aliasing"]) -AC_SUBST(EXTRA_CFLAGS) - -dnl every flag in GST_OPTION_CFLAGS, GST_OPTION_CXXFLAGS and GST_OPTION_OBJCFLAGS can be overridden -dnl at make time with e.g. make ERROR_CFLAGS="" -GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)" -GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)" -GST_OPTION_OBJCFLAGS="\$(WARNING_OBJCFLAGS) \$(ERROR_OBJCFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)" -AC_SUBST(GST_OPTION_CFLAGS) -AC_SUBST(GST_OPTION_CXXFLAGS) -AC_SUBST(GST_OPTION_OBJCFLAGS) - -dnl our libraries need to be versioned correctly -AC_SUBST(GST_LT_LDFLAGS) - -dnl FIXME: do we want to rename to GST_ALL_* ? -dnl prefer internal headers to already installed ones -dnl also add builddir include for enumtypes and marshal -dnl add ERROR_CFLAGS, but overridable -GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API" -GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(VISIBILITY_CXXFLAGS)" -GST_OBJCFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_OBJCFLAGS)" -GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS) \$(VISIBILITY_CFLAGS)" -AC_SUBST(GST_CFLAGS) -AC_SUBST(GST_CXXFLAGS) -AC_SUBST(GST_OBJCFLAGS) -AC_SUBST(GST_LIBS) - -dnl LDFLAGS really should only contain flags, not libs - they get added before -dnl whatevertarget_LIBS and -L flags here affect the rest of the linking -GST_ALL_LDFLAGS="-no-undefined" -if test "x${enable_Bsymbolic}" = "xyes"; then - GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions" -fi -AC_SUBST(GST_ALL_LDFLAGS) - -dnl this really should only contain flags, not libs - they get added before -dnl whatevertarget_LIBS and -L flags here affect the rest of the linking -GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS" -AC_SUBST(GST_PLUGIN_LDFLAGS) - -dnl *** output files *** - -$MKDIR_P tests/check/orc - -dnl keep this alphabetic per directory, please -AC_CONFIG_FILES( -Makefile -gst/Makefile -gst/alpha/Makefile -gst/apetag/Makefile -gst/audiofx/Makefile -gst/audioparsers/Makefile -gst/auparse/Makefile -gst/autodetect/Makefile -gst/avi/Makefile -gst/cutter/Makefile -gst/deinterlace/Makefile -gst/dtmf/Makefile -gst/debugutils/Makefile -gst/effectv/Makefile -gst/equalizer/Makefile -gst/flv/Makefile -gst/goom/Makefile -gst/goom2k1/Makefile -gst/id3demux/Makefile -gst/icydemux/Makefile -gst/imagefreeze/Makefile -gst/interleave/Makefile -gst/isomp4/Makefile -gst/law/Makefile -gst/level/Makefile -gst/matroska/Makefile -gst/monoscope/Makefile -gst/multifile/Makefile -gst/multipart/Makefile -gst/replaygain/Makefile -gst/rtp/Makefile -gst/rtpmanager/Makefile -gst/rtsp/Makefile -gst/shapewipe/Makefile -gst/smpte/Makefile -gst/spectrum/Makefile -gst/udp/Makefile -gst/videobox/Makefile -gst/videocrop/Makefile -gst/videofilter/Makefile -gst/videomixer/Makefile -gst/wavenc/Makefile -gst/wavparse/Makefile -gst/flx/Makefile -gst/y4m/Makefile -ext/Makefile -ext/aalib/Makefile -ext/cairo/Makefile -ext/dv/Makefile -ext/flac/Makefile -ext/gdk_pixbuf/Makefile -ext/gtk/Makefile -ext/jack/Makefile -ext/jpeg/Makefile -ext/lame/Makefile -ext/libcaca/Makefile -ext/libpng/Makefile -ext/mpg123/Makefile -ext/pulse/Makefile -ext/qt/Makefile -ext/raw1394/Makefile -ext/shout2/Makefile -ext/soup/Makefile -ext/speex/Makefile -ext/taglib/Makefile -ext/twolame/Makefile -ext/vpx/Makefile -ext/wavpack/Makefile -sys/Makefile -sys/directsound/Makefile -sys/oss/Makefile -sys/oss4/Makefile -sys/osxaudio/Makefile -sys/osxvideo/Makefile -sys/v4l2/Makefile -sys/waveform/Makefile -sys/ximage/Makefile -po/Makefile.in -tests/Makefile -tests/check/Makefile -tests/examples/Makefile -tests/examples/audiofx/Makefile -tests/examples/cairo/Makefile -tests/examples/equalizer/Makefile -tests/examples/gtk/Makefile -tests/examples/jack/Makefile -tests/examples/level/Makefile -tests/examples/rtp/Makefile -tests/examples/rtsp/Makefile -tests/examples/shapewipe/Makefile -tests/examples/spectrum/Makefile -tests/examples/v4l2/Makefile -tests/files/Makefile -tests/icles/Makefile -common/Makefile -common/m4/Makefile -m4/Makefile -pkgconfig/Makefile -pkgconfig/gstreamer-plugins-good-uninstalled.pc -) -AC_OUTPUT - -AG_GST_OUTPUT_PLUGINS -ORC_OUTPUT - diff --git a/docs/.gitignore b/docs/.gitignore deleted file mode 100644 index e5a7abe44d..0000000000 --- a/docs/.gitignore +++ /dev/null @@ -1 +0,0 @@ -version.entities diff --git a/ext/Makefile.am b/ext/Makefile.am deleted file mode 100644 index f996b65c02..0000000000 --- a/ext/Makefile.am +++ /dev/null @@ -1,183 +0,0 @@ -if USE_AALIB -AALIB_DIR = aalib -else -AALIB_DIR = -endif - -if USE_CAIRO -CAIRO_DIR = cairo -else -CAIRO_DIR = -endif - -if USE_FLAC -FLAC_DIR = flac -else -FLAC_DIR = -endif - -if USE_GDK_PIXBUF -GDK_PIXBUF_DIR = gdk_pixbuf -else -GDK_PIXBUF_DIR = -endif - - -if USE_GTK3 -GTK_DIR=gtk -else -GTK_DIR= -endif - -if USE_JACK -JACK_DIR=jack -else -JACK_DIR= -endif - -if USE_JPEG -JPEG_DIR = jpeg -else -JPEG_DIR = -endif - -if USE_LAME -LAME_DIR = lame -else -LAME_DIR = -endif - -if USE_LIBCACA -LIBCACA_DIR = libcaca -else -LIBCACA_DIR = -endif - -if USE_LIBDV -LIBDV_DIR = dv -else -LIBDV_DIR = -endif - -if USE_LIBPNG -LIBPNG_DIR = libpng -else -LIBPNG_DIR = -endif - -if USE_MPG123 -MPG123_DIR = mpg123 -else -MPG123_DIR = -endif - -if USE_DV1394 -DV1394_DIR = raw1394 -else -DV1394_DIR = -endif - -if USE_PULSE -PULSE_DIR = pulse -else -PULSE_DIR = -endif - -if USE_QT -QT_DIR=qt -else -QT_DIR= -endif - -if USE_SHOUT2 -SHOUT2_DIR = shout2 -else -SHOUT2_DIR = -endif - -if USE_SOUP -SOUP_DIR=soup -else -SOUP_DIR= -endif - -if USE_SPEEX -SPEEX_DIR = speex -else -SPEEX_DIR = -endif - -if USE_TAGLIB -TAGLIB_DIR = taglib -else -TAGLIB_DIR = -endif - -if USE_TWOLAME -TWOLAME_DIR = twolame -else -TWOLAME_DIR = -endif - -if USE_VPX -VPX_DIR=vpx -else -VPX_DIR= -endif - -if USE_WAVPACK -WAVPACK_DIR=wavpack -else -WAVPACK_DIR= -endif - -SUBDIRS = \ - $(AALIB_DIR) \ - $(CAIRO_DIR) \ - $(DV1394_DIR) \ - $(FLAC_DIR) \ - $(GDK_PIXBUF_DIR) \ - $(GTK_DIR) \ - $(JACK_DIR) \ - $(JPEG_DIR) \ - $(LAME_DIR) \ - $(LIBCACA_DIR) \ - $(LIBDV_DIR) \ - $(LIBMNG_DIR) \ - $(LIBPNG_DIR) \ - $(MPG123_DIR) \ - $(PULSE_DIR) \ - $(QT_DIR) \ - $(SHOUT2_DIR) \ - $(SOUP_DIR) \ - $(SPEEX_DIR) \ - $(TAGLIB_DIR) \ - $(TWOLAME_DIR) \ - $(VPX_DIR) \ - $(WAVPACK_DIR) - -DIST_SUBDIRS = \ - aalib \ - cairo \ - dv \ - flac \ - gdk_pixbuf \ - gtk \ - jack \ - jpeg \ - lame \ - libcaca \ - libpng \ - mpg123 \ - pulse \ - qt \ - raw1394 \ - shout2 \ - soup \ - speex \ - taglib \ - twolame \ - vpx \ - wavpack - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/ext/aalib/Makefile.am b/ext/aalib/Makefile.am deleted file mode 100644 index 41b66eb9b8..0000000000 --- a/ext/aalib/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -plugin_LTLIBRARIES = libgstaasink.la - -libgstaasink_la_SOURCES = gstaasink.c -libgstaasink_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(AALIB_CFLAGS) -libgstaasink_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_BASE_LIBS) $(GST_LIBS) $(AALIB_LIBS) -libgstaasink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstaasink.h diff --git a/ext/cairo/Makefile.am b/ext/cairo/Makefile.am deleted file mode 100644 index 8a37110fb1..0000000000 --- a/ext/cairo/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -plugin_LTLIBRARIES = libgstcairo.la - -noinst_HEADERS = \ - gstcairooverlay.h -libgstcairo_la_SOURCES = \ - gstcairo.c \ - gstcairooverlay.c -libgstcairo_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) $(CAIRO_CFLAGS) -libgstcairo_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(CAIRO_LIBS) $(LIBM) -libgstcairo_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - diff --git a/ext/dv/Makefile.am b/ext/dv/Makefile.am deleted file mode 100644 index 73d19f6bb2..0000000000 --- a/ext/dv/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -plugin_LTLIBRARIES = libgstdv.la - -libgstdv_la_SOURCES = gstdv.c gstdvdec.c gstdvdemux.c gstsmptetimecode.c -libgstdv_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBDV_CFLAGS) -libgstdv_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBDV_LIBS) -libgstdv_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstdvdemux.h gstdvdec.h gstsmptetimecode.h - -EXTRA_DIST = NOTES - -noinst_PROGRAMS = smpte_test - -smpte_test_SOURCES = smpte_test.c gstsmptetimecode.c -smpte_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(LIBDV_CFLAGS) -smpte_test_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) - diff --git a/ext/flac/Makefile.am b/ext/flac/Makefile.am deleted file mode 100644 index 994955ca42..0000000000 --- a/ext/flac/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -plugin_LTLIBRARIES = libgstflac.la - -libgstflac_la_SOURCES = gstflac.c gstflacdec.c gstflacenc.c gstflactag.c -libgstflac_la_CFLAGS = -DGST_USE_UNSTABLE_API \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(FLAC_CFLAGS) -libgstflac_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgsttag-$(GST_API_VERSION) \ - -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(FLAC_LIBS) -libgstflac_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstflacenc.h gstflacdec.h gstflactag.h diff --git a/ext/gdk_pixbuf/Makefile.am b/ext/gdk_pixbuf/Makefile.am deleted file mode 100644 index 5840086668..0000000000 --- a/ext/gdk_pixbuf/Makefile.am +++ /dev/null @@ -1,26 +0,0 @@ -plugin_LTLIBRARIES = libgstgdkpixbuf.la - -# gstgdkanimation.[ch] - GdkPixbuf animations decode everything from the start, -# which means it's easy to make us go OOM with manipulated input, disabled - -libgstgdkpixbuf_la_SOURCES = \ - gstgdkpixbufdec.c \ - gstgdkpixbufoverlay.c \ - gstgdkpixbufplugin.c \ - gstgdkpixbufsink.c -libgstgdkpixbuf_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CONTROLLER_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) $(GDK_PIXBUF_CFLAGS) -libgstgdkpixbuf_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \ - $(GST_CONTROLLER_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) $(GDK_PIXBUF_LIBS) -libgstgdkpixbuf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - gstgdkpixbufdec.h \ - gstgdkpixbufoverlay.h \ - gstgdkpixbufsink.h diff --git a/ext/gtk/Makefile.am b/ext/gtk/Makefile.am deleted file mode 100644 index a1eec26275..0000000000 --- a/ext/gtk/Makefile.am +++ /dev/null @@ -1,44 +0,0 @@ -# preamble -NULL = -BUILT_SOURCES = -CLEANFILES = -EXTRA_DIST = -DISTCLEANFILES = -lib_LTLIBRARIES = - -# source -sources = \ - gtkgstbasewidget.c \ - gtkgstbasewidget.h \ - gtkgstwidget.c \ - gtkgstwidget.h \ - gstgtkbasesink.c \ - gstgtkbasesink.h \ - gstgtksink.c \ - gstgtksink.h \ - gstgtkutils.c \ - gstgtkutils.h \ - gstplugin.c \ - $(NULL) - -libgstgtk_la_CFLAGS = \ - $(GST_PLUGINS_BAD_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_GL_CFLAGS) \ - $(GST_CFLAGS) \ - $(GTK3_CFLAGS) -libgstgtk_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(GTK3_LIBS) - -libgstgtk_la_SOURCES = $(sources) -libgstgtk_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -if USE_GTK3_GL -libgstgtk_la_SOURCES += gstgtkglsink.c gstgtkglsink.h gtkgstglwidget.c gtkgstglwidget.h -libgstgtk_la_LIBADD += $(GST_GL_LIBS) -endif - -plugin_LTLIBRARIES = libgstgtk.la diff --git a/ext/jack/.gitignore b/ext/jack/.gitignore deleted file mode 100644 index 916f265c7a..0000000000 --- a/ext/jack/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.loT diff --git a/ext/jack/Makefile.am b/ext/jack/Makefile.am deleted file mode 100644 index a8ef27abc7..0000000000 --- a/ext/jack/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ - -plugin_LTLIBRARIES = libgstjack.la - -libgstjack_la_SOURCES = gstjackutil.c gstjack.c gstjackaudiosrc.c gstjackaudiosink.c gstjackaudioclient.c -libgstjack_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(JACK_CFLAGS) -libgstjack_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(JACK_LIBS) -libgstjack_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstjackutil.h gstjackaudiosrc.h gstjackaudiosink.h gstjackaudioclient.h gstjack.h gstjackringbuffer.h diff --git a/ext/jpeg/Makefile.am b/ext/jpeg/Makefile.am deleted file mode 100644 index b0ff322d56..0000000000 --- a/ext/jpeg/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -plugin_LTLIBRARIES = libgstjpeg.la - -libgstjpeg_la_SOURCES = \ - gstjpeg.c \ - gstjpegenc.c \ - gstjpegdec.c -# deprecated gstsmokeenc.c smokecodec.c gstsmokedec.c - -libgstjpeg_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstjpeg_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) -lgstvideo-$(GST_API_VERSION) \ - $(JPEG_LIBS) $(LIBM) -libgstjpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - gstjpeg.h \ - gstjpegdec.h gstjpegenc.h -# deprecated gstsmokeenc.h gstsmokedec.h smokecodec.h smokeformat.h diff --git a/ext/lame/Makefile.am b/ext/lame/Makefile.am deleted file mode 100644 index 46198c8ec0..0000000000 --- a/ext/lame/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -plugin_LTLIBRARIES = libgstlame.la - -libgstlame_la_SOURCES = gstlamemp3enc.c plugin.c -libgstlame_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LAME_CFLAGS) -libgstlame_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LAME_LIBS) -libgstlame_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstlamemp3enc.h diff --git a/ext/libcaca/Makefile.am b/ext/libcaca/Makefile.am deleted file mode 100644 index 93371e3dab..0000000000 --- a/ext/libcaca/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -plugin_LTLIBRARIES = libgstcacasink.la - -libgstcacasink_la_SOURCES = gstcacasink.c -libgstcacasink_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(LIBCACA_CFLAGS) -libgstcacasink_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(LIBCACA_LIBS) -libgstcacasink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstcacasink.h diff --git a/ext/libpng/Makefile.am b/ext/libpng/Makefile.am deleted file mode 100644 index 598c8e30e0..0000000000 --- a/ext/libpng/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -plugin_LTLIBRARIES = libgstpng.la - -libgstpng_la_SOURCES = gstpng.c gstpngenc.c gstpngdec.c -libgstpng_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBPNG_CFLAGS) -libgstpng_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBPNG_LIBS) -libgstpng_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstpngdec.h gstpngenc.h diff --git a/ext/mpg123/Makefile.am b/ext/mpg123/Makefile.am deleted file mode 100644 index 465f325973..0000000000 --- a/ext/mpg123/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -plugin_LTLIBRARIES = libgstmpg123.la - -libgstmpg123_la_SOURCES = gstmpg123audiodec.c -libgstmpg123_la_CFLAGS = -DGST_USE_UNSTABLE_API \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(MPG123_CFLAGS) -libgstmpg123_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) $(MPG123_LIBS) -libgstmpg123_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstmpg123audiodec.h diff --git a/ext/pulse/Makefile.am b/ext/pulse/Makefile.am deleted file mode 100644 index 90e0002fab..0000000000 --- a/ext/pulse/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -plugin_LTLIBRARIES = libgstpulseaudio.la - -libgstpulseaudio_la_SOURCES = \ - plugin.c \ - pulsesink.c \ - pulsesrc.c \ - pulsedeviceprovider.c \ - pulseutil.c - -libgstpulseaudio_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(PULSE_CFLAGS) -libgstpulseaudio_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \ - -lgstpbutils-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(PULSE_LIBS) -libgstpulseaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - pulsesink.h \ - pulsesrc.h \ - pulsedeviceprovider.h \ - pulseutil.h - diff --git a/ext/qt/.gitignore b/ext/qt/.gitignore deleted file mode 100644 index f830c38fc1..0000000000 --- a/ext/qt/.gitignore +++ /dev/null @@ -1 +0,0 @@ -moc_*.cc diff --git a/ext/qt/Makefile.am b/ext/qt/Makefile.am deleted file mode 100644 index cf2f761c39..0000000000 --- a/ext/qt/Makefile.am +++ /dev/null @@ -1,60 +0,0 @@ -plugin_LTLIBRARIES = libgstqmlgl.la - -noinst_HEADERS = \ - gstqsgtexture.h \ - gstqtglutility.h \ - gstqtsink.h \ - gstqtsrc.h \ - qtitem.h \ - qtwindow.h - -moc_generated = \ - moc_qtitem.cc \ - moc_qtwindow.cc \ - moc_gstqsgtexture.cc - -#anything generated by the Qt tools... -BUILT_SOURCES = $(moc_generated) -CLEANFILES = $(moc_generated) - -nodist_libgstqmlgl_la_SOURCES = $(BUILT_SOURCES) - -libgstqmlgl_la_SOURCES = \ - gstqsgtexture.cc \ - gstqtglutility.cc \ - qtitem.cc \ - qtwindow.cc \ - gstqtsink.cc \ - gstqtsink.h \ - gstqtsrc.cc \ - gstqtsrc.h \ - gstqtgl.h \ - gstplugin.cc - -libgstqmlgl_la_CXXFLAGS = \ - $(GST_PLUGINS_BAD_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_GL_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CXXFLAGS) \ - $(QT_CFLAGS) \ - $(GL_CFLAGS) -std=c++11 - -libgstqmlgl_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - $(GST_GL_LIBS) \ - -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(QT_LIBS) - -libgstqmlgl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - - -$(moc_generated): moc_%.cc: %.h - @MOC@ -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MOC_CPPFLAGS) $< - -ui-%.h: %.ui - @UIC@ -o $@ $< - -qrc-%.cc: %.qrc - @RCC@ -o $@ $< diff --git a/ext/raw1394/.gitignore b/ext/raw1394/.gitignore deleted file mode 100644 index f8b5186dfa..0000000000 --- a/ext/raw1394/.gitignore +++ /dev/null @@ -1 +0,0 @@ -libgst1394_la-gstdv1394src.loT diff --git a/ext/raw1394/Makefile.am b/ext/raw1394/Makefile.am deleted file mode 100644 index 25b6a4839e..0000000000 --- a/ext/raw1394/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -plugin_LTLIBRARIES = libgst1394.la - -if USE_LIBIEC61883 -hdvsource = gsthdv1394src.c -hdvheaders = gsthdv1394src.h -else -hdvsource = -hdvheaders = -endif - -libgst1394_la_SOURCES = \ - gst1394.c gst1394probe.c gstdv1394src.c $(hdvsource) \ - gst1394clock.c -libgst1394_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(DV1394_CFLAGS) -libgst1394_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(DV1394_LIBS) -libgst1394_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstdv1394src.h gst1394probe.h $(hdvheaders) \ - gst1394clock.h - diff --git a/ext/shout2/Makefile.am b/ext/shout2/Makefile.am deleted file mode 100644 index 67705fb939..0000000000 --- a/ext/shout2/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -plugin_LTLIBRARIES = libgstshout2.la - -libgstshout2_la_SOURCES = gstshout2.c -libgstshout2_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(SHOUT2_CFLAGS) -libgstshout2_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(SHOUT2_LIBS) -libgstshout2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstshout2.h diff --git a/ext/soup/Makefile.am b/ext/soup/Makefile.am deleted file mode 100644 index 7751594a0d..0000000000 --- a/ext/soup/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -plugin_LTLIBRARIES = libgstsoup.la - -libgstsoup_la_SOURCES = gstsouphttpsrc.c gstsouphttpclientsink.c gstsouputils.c gstsoup.c - -libgstsoup_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) $(SOUP_CFLAGS) \ - -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_48 \ - -DSOUP_VERSION_MAX_ALLOWED=SOUP_DEPRECATED_IN_2_48 -libgstsoup_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgsttag-@GST_API_VERSION@ $(GST_BASE_LIBS) $(SOUP_LIBS) -libgstsoup_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstsouphttpsrc.h gstsouphttpclientsink.h gstsouputils.h diff --git a/ext/speex/Makefile.am b/ext/speex/Makefile.am deleted file mode 100644 index 930f594e95..0000000000 --- a/ext/speex/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -plugin_LTLIBRARIES = libgstspeex.la - -libgstspeex_la_SOURCES = gstspeex.c gstspeexdec.c gstspeexenc.c -libgstspeex_la_CFLAGS = -DGST_USE_UNSTABLE_API \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(SPEEX_CFLAGS) -libgstspeex_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgsttag-$(GST_API_VERSION) -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(SPEEX_LIBS) -libgstspeex_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBM) - -noinst_HEADERS = gstspeexenc.h gstspeexdec.h diff --git a/ext/taglib/.gitignore b/ext/taglib/.gitignore deleted file mode 100644 index 4682982f41..0000000000 --- a/ext/taglib/.gitignore +++ /dev/null @@ -1 +0,0 @@ -gsttaglibmux.loT diff --git a/ext/taglib/Makefile.am b/ext/taglib/Makefile.am deleted file mode 100644 index 515b342b9b..0000000000 --- a/ext/taglib/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -plugin_LTLIBRARIES = libgsttaglib.la - -libgsttaglib_la_SOURCES = gsttaglibplugin.c gstid3v2mux.cc gstapev2mux.cc -libgsttaglib_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(TAGLIB_CFLAGS) -libgsttaglib_la_CXXFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CXXFLAGS) \ - $(TAGLIB_CXXFLAGS) -libgsttaglib_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgsttag-$(GST_API_VERSION) \ - $(GST_LIBS) \ - $(TAGLIB_LIBS) -libgsttaglib_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstid3v2mux.h gstapev2mux.h diff --git a/ext/twolame/Makefile.am b/ext/twolame/Makefile.am deleted file mode 100644 index 362ee20f65..0000000000 --- a/ext/twolame/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -plugin_LTLIBRARIES = libgsttwolame.la - -libgsttwolame_la_SOURCES = gsttwolamemp2enc.c -libgsttwolame_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(TWOLAME_CFLAGS) -libgsttwolame_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-@GST_API_VERSION@ -lgstpbutils-@GST_API_VERSION@ \ - $(GST_LIBS) $(TWOLAME_LIBS) -libgsttwolame_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gsttwolamemp2enc.h diff --git a/ext/vpx/Makefile.am b/ext/vpx/Makefile.am deleted file mode 100644 index 71ce6de733..0000000000 --- a/ext/vpx/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -plugin_LTLIBRARIES = \ - libgstvpx.la - -libgstvpx_la_SOURCES = \ - gstvpxdec.c \ - gstvpxenc.c \ - gstvp8dec.c \ - gstvp8enc.c \ - gstvp8utils.c \ - gstvp9dec.c \ - gstvp9enc.c \ - plugin.c - -libgstvpx_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(VPX_CFLAGS) \ - -DGST_USE_UNSTABLE_API -libgstvpx_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgsttag-@GST_API_VERSION@ -lgstvideo-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) $(VPX_LIBS) -libgstvpx_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - gstvpxdec.h \ - gstvpxenc.h \ - gstvp8dec.h \ - gstvp8enc.h \ - gstvp9dec.h \ - gstvp9enc.h \ - gstvp8utils.h - -presetdir = $(datadir)/gstreamer-$(GST_API_VERSION)/presets -preset_DATA = GstVP8Enc.prs - -EXTRA_DIST = $(preset_DATA) diff --git a/ext/wavpack/Makefile.am b/ext/wavpack/Makefile.am deleted file mode 100644 index e6ed6d48f6..0000000000 --- a/ext/wavpack/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -plugin_LTLIBRARIES = libgstwavpack.la - -libgstwavpack_la_SOURCES = \ - gstwavpack.c \ - gstwavpackcommon.c \ - gstwavpackdec.c \ - gstwavpackenc.c \ - gstwavpackstreamreader.c - -libgstwavpack_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(WAVPACK_CFLAGS) -libgstwavpack_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(WAVPACK_LIBS) -libgstwavpack_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - gstwavpackdec.h \ - gstwavpackenc.h \ - gstwavpackcommon.h \ - gstwavpackstreamreader.h - diff --git a/gst/Makefile.am b/gst/Makefile.am deleted file mode 100644 index f25a56d9cb..0000000000 --- a/gst/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -SUBDIRS = $(GST_PLUGINS_SELECTED) -DIST_SUBDIRS = $(GST_PLUGINS_ALL) - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/gst/alpha/Makefile.am b/gst/alpha/Makefile.am deleted file mode 100644 index 73123dd316..0000000000 --- a/gst/alpha/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -plugin_LTLIBRARIES = libgstalpha.la libgstalphacolor.la - -libgstalpha_la_SOURCES = gstalpha.c -libgstalpha_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstalpha_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) -libgstalpha_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -libgstalphacolor_la_SOURCES = gstalphacolor.c -libgstalphacolor_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstalphacolor_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) -libgstalphacolor_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstalpha.h gstalphacolor.h diff --git a/gst/apetag/Makefile.am b/gst/apetag/Makefile.am deleted file mode 100644 index 64aecf5367..0000000000 --- a/gst/apetag/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -plugin_LTLIBRARIES = libgstapetag.la - -libgstapetag_la_SOURCES = gstapedemux.c -libgstapetag_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstapetag_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgsttag-@GST_API_VERSION@ \ - -lgstpbutils-@GST_API_VERSION@\ - $(GST_BASE_LIBS) \ - $(GST_LIBS) -libgstapetag_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstapedemux.h diff --git a/gst/audiofx/.gitignore b/gst/audiofx/.gitignore deleted file mode 100644 index 799fc97856..0000000000 --- a/gst/audiofx/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -.deps -.libs -*.lo -*.la -Makefile -Makefile.in diff --git a/gst/audiofx/Makefile.am b/gst/audiofx/Makefile.am deleted file mode 100644 index 793b8dea81..0000000000 --- a/gst/audiofx/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -# plugindir is set in configure - -plugin_LTLIBRARIES = libgstaudiofx.la - -# FIXME 0.11: ignore GValueArray warnings for now until this is sorted -ERROR_CFLAGS= - -ORC_SOURCE=audiopanoramaorc -include $(top_srcdir)/common/orc.mak - -# sources used to compile this plug-in -libgstaudiofx_la_SOURCES = audiofx.c\ - audiopanorama.c \ - audioinvert.c \ - audioamplify.c \ - audiodynamic.c \ - audiokaraoke.c \ - audiofxbaseiirfilter.c \ - audiocheblimit.c \ - audiochebband.c \ - audioiirfilter.c \ - audiofxbasefirfilter.c \ - audiowsincband.c \ - audiowsinclimit.c \ - audiofirfilter.c \ - audioecho.c \ - gstscaletempo.c \ - gststereo.c -nodist_libgstaudiofx_la_SOURCES = $(ORC_NODIST_SOURCES) - -# flags used to compile this plugin -libgstaudiofx_la_CFLAGS = $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(ORC_CFLAGS) -libgstaudiofx_la_LIBADD = $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-$(GST_API_VERSION) \ - -lgstfft-$(GST_API_VERSION) \ - $(ORC_LIBS) \ - $(LIBM) -libgstaudiofx_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -# headers we need but don't want installed -noinst_HEADERS = audiopanorama.h \ - audioinvert.h \ - audioamplify.h \ - audiodynamic.h \ - audiokaraoke.h \ - audiofxbaseiirfilter.h \ - audiocheblimit.h \ - audiochebband.h \ - audioiirfilter.h \ - audiofxbasefirfilter.h \ - audiowsincband.h \ - audiowsinclimit.h \ - audiofirfilter.h \ - audioecho.h \ - gstscaletempo.h \ - gststereo.h \ - math_compat.h diff --git a/gst/audioparsers/Makefile.am b/gst/audioparsers/Makefile.am deleted file mode 100644 index 6727688c30..0000000000 --- a/gst/audioparsers/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -plugin_LTLIBRARIES = libgstaudioparsers.la - -libgstaudioparsers_la_SOURCES = \ - gstaacparse.c gstamrparse.c gstac3parse.c \ - gstdcaparse.c gstflacparse.c gstmpegaudioparse.c \ - gstsbcparse.c gstwavpackparse.c plugin.c - -libgstaudioparsers_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstaudioparsers_la_LIBADD = \ - -lgstpbutils-$(GST_API_VERSION) \ - $(GST_PLUGINS_BASE_LIBS) -lgsttag-$(GST_API_VERSION) \ - -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) -libgstaudioparsers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstaacparse.h gstamrparse.h gstac3parse.h \ - gstdcaparse.h gstflacparse.h gstmpegaudioparse.h gstsbcparse.h \ - gstwavpackparse.h diff --git a/gst/auparse/.gitignore b/gst/auparse/.gitignore deleted file mode 100644 index 08f5ed37d8..0000000000 --- a/gst/auparse/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs diff --git a/gst/auparse/Makefile.am b/gst/auparse/Makefile.am deleted file mode 100644 index 013d0f22ce..0000000000 --- a/gst/auparse/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -plugin_LTLIBRARIES = libgstauparse.la - -libgstauparse_la_SOURCES = gstauparse.c -libgstauparse_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstauparse_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(GST_LIBS) $(GST_BASE_LIBS) -libgstauparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstauparse.h diff --git a/gst/autodetect/Makefile.am b/gst/autodetect/Makefile.am deleted file mode 100644 index 42928a510a..0000000000 --- a/gst/autodetect/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -plugin_LTLIBRARIES = libgstautodetect.la - -libgstautodetect_la_SOURCES = \ - gstautoaudiosink.c \ - gstautoaudiosrc.c \ - gstautodetect.c \ - gstautovideosink.c \ - gstautovideosrc.c -libgstautodetect_la_CFLAGS = $(GST_CFLAGS) -libgstautodetect_la_LIBADD = $(GST_LIBS) -libgstautodetect_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - gstautoaudiosink.h \ - gstautoaudiosrc.h \ - gstautodetect.h \ - gstautovideosink.h \ - gstautovideosrc.h diff --git a/gst/avi/.gitignore b/gst/avi/.gitignore deleted file mode 100644 index 3df96ad85b..0000000000 --- a/gst/avi/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs -codectest diff --git a/gst/avi/Makefile.am b/gst/avi/Makefile.am deleted file mode 100644 index 276a3275ba..0000000000 --- a/gst/avi/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -plugin_LTLIBRARIES = libgstavi.la - -libgstavi_la_SOURCES = \ - gstavi.c \ - gstavimux.c \ - gstavidemux.c \ - gstavisubtitle.c - -noinst_HEADERS = \ - avi-ids.h \ - gstavimux.h \ - gstavidemux.h \ - gstavisubtitle.h - -libgstavi_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstavi_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - -lgstriff-@GST_API_VERSION@ \ - -lgstaudio-@GST_API_VERSION@ \ - -lgsttag-@GST_API_VERSION@ \ - -lgstvideo-@GST_API_VERSION@ - -libgstavi_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -EXTRA_DIST = README diff --git a/gst/cutter/Makefile.am b/gst/cutter/Makefile.am deleted file mode 100644 index 3d5677ea9e..0000000000 --- a/gst/cutter/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -plugin_LTLIBRARIES = libgstcutter.la - -libgstcutter_la_SOURCES = gstcutter.c -libgstcutter_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstcutter_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LIBM) -libgstcutter_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstcutter.h filter.func - -EXTRA_DIST = README diff --git a/gst/debugutils/Makefile.am b/gst/debugutils/Makefile.am deleted file mode 100644 index 31e9c8ce2e..0000000000 --- a/gst/debugutils/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ - -plugin_LTLIBRARIES = libgstdebug.la libgstnavigationtest.la - -noinst_HEADERS = \ - cpureport.h \ - gstcapsdebug.h \ - gstcapssetter.h \ - gstnavigationtest.h \ - gstnavseek.h \ - gstpushfilesrc.h \ - gsttaginject.h \ - progressreport.h \ - tests.h - -libgstnavigationtest_la_SOURCES = gstnavigationtest.c -libgstnavigationtest_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) -libgstnavigationtest_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ $(LIBM) -libgstnavigationtest_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -libgstdebug_la_SOURCES = \ - gstdebug.c \ - breakmydata.c \ - gstcapssetter.c \ - gstnavseek.c \ - gstpushfilesrc.c \ - gsttaginject.c \ - rndbuffersize.c \ - progressreport.c \ - tests.c \ - cpureport.c \ - testplugin.c - -# gstcapsdebug.c - -libgstdebug_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) -libgstdebug_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) -libgstdebug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/deinterlace/Makefile.am b/gst/deinterlace/Makefile.am deleted file mode 100644 index 61e7ed9266..0000000000 --- a/gst/deinterlace/Makefile.am +++ /dev/null @@ -1,52 +0,0 @@ -plugin_LTLIBRARIES = libgstdeinterlace.la - -ORC_SOURCE=tvtime -include $(top_srcdir)/common/orc.mak - -libgstdeinterlace_la_SOURCES = \ - gstdeinterlace.c \ - gstdeinterlacemethod.c \ - tvtime/tomsmocomp.c \ - tvtime/greedy.c \ - tvtime/greedyh.c \ - tvtime/vfir.c \ - tvtime/weavetff.c \ - tvtime/weavebff.c \ - tvtime/weave.c \ - tvtime/linear.c \ - tvtime/linearblend.c \ - tvtime/scalerbob.c -nodist_libgstdeinterlace_la_SOURCES = $(ORC_NODIST_SOURCES) - -libgstdeinterlace_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS) -libgstdeinterlace_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) -libgstdeinterlace_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - gstdeinterlace.h \ - gstdeinterlacemethod.h \ - tvtime/mmx.h \ - tvtime/sse.h \ - tvtime/greedyh.asm \ - tvtime/greedyhmacros.h \ - tvtime/plugins.h \ - tvtime/x86-64_macros.inc \ - tvtime/tomsmocomp/SearchLoop0A.inc \ - tvtime/tomsmocomp/SearchLoopBottom.inc \ - tvtime/tomsmocomp/SearchLoopEdgeA8.inc \ - tvtime/tomsmocomp/SearchLoopEdgeA.inc \ - tvtime/tomsmocomp/SearchLoopOddA2.inc \ - tvtime/tomsmocomp/SearchLoopOddA6.inc \ - tvtime/tomsmocomp/SearchLoopOddAH2.inc \ - tvtime/tomsmocomp/SearchLoopOddAH.inc \ - tvtime/tomsmocomp/SearchLoopOddA.inc \ - tvtime/tomsmocomp/SearchLoopTop.inc \ - tvtime/tomsmocomp/SearchLoopVAH.inc \ - tvtime/tomsmocomp/SearchLoopVA.inc \ - tvtime/tomsmocomp/StrangeBob.inc \ - tvtime/tomsmocomp/TomsMoCompAll2.inc \ - tvtime/tomsmocomp/TomsMoCompAll.inc \ - tvtime/tomsmocomp/tomsmocompmacros.h \ - tvtime/tomsmocomp/WierdBob.inc diff --git a/gst/dtmf/Makefile.am b/gst/dtmf/Makefile.am deleted file mode 100644 index 68f8ce8214..0000000000 --- a/gst/dtmf/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -plugin_LTLIBRARIES = libgstdtmf.la - -libgstdtmf_la_SOURCES = gstdtmfsrc.c \ - gstrtpdtmfsrc.c \ - gstrtpdtmfdepay.c \ - gstdtmf.c - -noinst_HEADERS = gstdtmfsrc.h \ - gstrtpdtmfsrc.h \ - gstrtpdtmfdepay.h \ - gstdtmfcommon.h - -libgstdtmf_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgstdtmf_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) -libgstdtmf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/effectv/Makefile.am b/gst/effectv/Makefile.am deleted file mode 100644 index 6bc7076b51..0000000000 --- a/gst/effectv/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -plugin_LTLIBRARIES = libgsteffectv.la - -libgsteffectv_la_SOURCES = \ - gsteffectv.c gstedge.c gstaging.c gstdice.c gstwarp.c \ - gstshagadelic.c gstvertigo.c gstrev.c gstquark.c gstop.c \ - gstradioac.c gststreak.c gstripple.c -libgsteffectv_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - -I$(top_srcdir)/gst/videofilter -libgsteffectv_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(LIBM) -libgsteffectv_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gsteffectv.h gstaging.h gstdice.h gstedge.h \ - gstquark.h gstrev.h gstshagadelic.h gstvertigo.h gstwarp.h gstop.h \ - gstradioac.h gststreak.h gstripple.h diff --git a/gst/equalizer/.gitignore b/gst/equalizer/.gitignore deleted file mode 100644 index 1549b67ca5..0000000000 --- a/gst/equalizer/.gitignore +++ /dev/null @@ -1 +0,0 @@ -demo diff --git a/gst/equalizer/Makefile.am b/gst/equalizer/Makefile.am deleted file mode 100644 index e559f74ba5..0000000000 --- a/gst/equalizer/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -plugin_LTLIBRARIES = libgstequalizer.la - -libgstequalizer_la_SOURCES = \ - gstiirequalizer.c gstiirequalizer.h \ - gstiirequalizernbands.c gstiirequalizernbands.h \ - gstiirequalizer3bands.c gstiirequalizer3bands.h \ - gstiirequalizer10bands.c gstiirequalizer10bands.h - -libgstequalizer_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstequalizer_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-$(GST_API_VERSION) $(GST_BASE_LIBS) \ - $(GST_LIBS) $(LIBM) -libgstequalizer_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstiirequalizer.h - -presetdir = $(datadir)/gstreamer-$(GST_API_VERSION)/presets -preset_DATA = GstIirEqualizer3Bands.prs GstIirEqualizer10Bands.prs - -EXTRA_DIST = $(preset_DATA) diff --git a/gst/flv/Makefile.am b/gst/flv/Makefile.am deleted file mode 100644 index 60a10159b3..0000000000 --- a/gst/flv/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -plugin_LTLIBRARIES = libgstflv.la - -libgstflv_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstflv_la_LIBADD = -lgstpbutils-@GST_API_VERSION@ -lgstaudio-@GST_API_VERSION@ \ - -lgstvideo-@GST_API_VERSION@ -lgsttag-$(GST_API_VERSION) \ - $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) -libgstflv_la_LDFLAGS = ${GST_PLUGIN_LDFLAGS} -libgstflv_la_SOURCES = gstflvdemux.c gstflvmux.c - -noinst_HEADERS = gstflvdemux.h gstflvmux.h amfdefs.h gstindex.h - -EXTRA_DIST = gstindex.c gstmemindex.c diff --git a/gst/flx/Makefile.am b/gst/flx/Makefile.am deleted file mode 100644 index 58934ea792..0000000000 --- a/gst/flx/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -plugin_LTLIBRARIES = libgstflxdec.la - -libgstflxdec_la_SOURCES = gstflxdec.c flx_color.c -libgstflxdec_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstflxdec_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) -libgstflxdec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = flx_fmt.h flx_color.h gstflxdec.h diff --git a/gst/goom/.gitignore b/gst/goom/.gitignore deleted file mode 100644 index 8209050d88..0000000000 --- a/gst/goom/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs -goomsl_lex.c -goomsl_yacc.c -goomsl_yacc.h - diff --git a/gst/goom/Makefile.am b/gst/goom/Makefile.am deleted file mode 100644 index 7701b107c0..0000000000 --- a/gst/goom/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ - -plugin_LTLIBRARIES = libgstgoom.la - -PPC_FILES=ppc_zoom_ultimate.s ppc_drawings.s ppc_drawings.h ppc_zoom_ultimate.h -MMX_FILES=mmx.c xmmx.c mmx.h xmmx.h - -if HAVE_CPU_PPC -# disable until someone figures out how to build these correctly on ppc -#ARCH_FILES = $(PPC_FILES) -ARCH_FILES = -endif -if HAVE_CPU_PPC64 -# disable until someone figures out how to build these correctly on ppc -#ARCH_FILES = $(PPC_FILES) -ARCH_FILES = -endif -if HAVE_CPU_I386 -ARCH_FILES = $(MMX_FILES) -ARCH_CFLAGS = -DBUILD_MMX -endif - -libgstgoom_la_SOURCES = \ - gstgoom.c gstgoom.h \ - drawmethods.c drawmethods.h \ - sound_tester.c sound_tester.h \ - mathtools.c mathtools.h \ - lines.c lines.h ifs.c ifs.h surf3d.c surf3d.h \ - tentacle3d.c tentacle3d.h v3d.c v3d.h \ - convolve_fx.c flying_stars_fx.c \ - goom_fx.h goom_visual_fx.h \ - motif_goom1.h motif_goom2.h \ - plugin_info.c goom_plugin_info.h \ - goom_tools.c \ - config_param.c filters.c goom_core.c graphic.c \ - goom.h goom_typedefs.h goom_graphic.h \ - goom_config_param.h goom_visual_fx.h goom_filters.h \ - goom_tools.h goom_tools.h goom_config.h \ - $(ARCH_FILES) - -libgstgoom_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GOOM_FILTER_CFLAGS) $(ARCH_CFLAGS) $(ORC_CFLAGS) -libgstgoom_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstpbutils-$(GST_API_VERSION) $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(ORC_LIBS) -libgstgoom_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -EXTRA_DIST = $(PPC_FILES) $(MMX_FILES) - -.NOTPARALLEL: diff --git a/gst/goom2k1/.gitignore b/gst/goom2k1/.gitignore deleted file mode 100644 index 041d780c63..0000000000 --- a/gst/goom2k1/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs - diff --git a/gst/goom2k1/Makefile.am b/gst/goom2k1/Makefile.am deleted file mode 100644 index e75bb71db7..0000000000 --- a/gst/goom2k1/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -plugin_LTLIBRARIES = libgstgoom2k1.la - -GOOM_FILTER_FILES = filters.c -GOOM_FILTER_CFLAGS = -UMMX -UUSE_ASM - -noinst_HEADERS = gstgoom.h filters.h goom_core.h goom_tools.h graphic.h lines.h - -libgstgoom2k1_la_SOURCES = gstgoom.c goom_core.c $(GOOM_FILTER_FILES) graphic.c \ - lines.c - -libgstgoom2k1_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GOOM_FILTER_CFLAGS) \ - -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 - -libgstgoom2k1_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstpbutils-$(GST_API_VERSION) $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) -libgstgoom2k1_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -EXTRA_DIST = filters.c diff --git a/gst/icydemux/Makefile.am b/gst/icydemux/Makefile.am deleted file mode 100644 index 59c021e9b8..0000000000 --- a/gst/icydemux/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -plugin_LTLIBRARIES = libgsticydemux.la - -libgsticydemux_la_SOURCES = gsticydemux.c -libgsticydemux_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgsticydemux_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgsttag-@GST_API_VERSION@ $(GST_BASE_LIBS) $(GST_LIBS) -libgsticydemux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gsticydemux.h diff --git a/gst/id3demux/Makefile.am b/gst/id3demux/Makefile.am deleted file mode 100644 index a24a1ac82e..0000000000 --- a/gst/id3demux/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -plugin_LTLIBRARIES = libgstid3demux.la - -libgstid3demux_la_SOURCES = gstid3demux.c -libgstid3demux_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstid3demux_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgsttag-@GST_API_VERSION@ \ - -lgstpbutils-@GST_API_VERSION@ $(GST_BASE_LIBS) -libgstid3demux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstid3demux.h diff --git a/gst/imagefreeze/Makefile.am b/gst/imagefreeze/Makefile.am deleted file mode 100644 index 056d0342da..0000000000 --- a/gst/imagefreeze/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -plugin_LTLIBRARIES = libgstimagefreeze.la - -libgstimagefreeze_la_SOURCES = gstimagefreeze.c - -libgstimagefreeze_la_CFLAGS = $(GST_CFLAGS) -libgstimagefreeze_la_LIBADD = $(GST_LIBS) -libgstimagefreeze_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstimagefreeze.h diff --git a/gst/interleave/Makefile.am b/gst/interleave/Makefile.am deleted file mode 100644 index 2128d3efe8..0000000000 --- a/gst/interleave/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ - -plugin_LTLIBRARIES = libgstinterleave.la - -libgstinterleave_la_SOURCES = plugin.c interleave.c deinterleave.c -libgstinterleave_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstinterleave_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(GST_BASE_LIBS) $(GST_LIBS) -libgstinterleave_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = plugin.h interleave.h deinterleave.h diff --git a/gst/isomp4/Makefile.am b/gst/isomp4/Makefile.am deleted file mode 100644 index d76cb421cf..0000000000 --- a/gst/isomp4/Makefile.am +++ /dev/null @@ -1,45 +0,0 @@ - -plugin_LTLIBRARIES = libgstisomp4.la - -libgstisomp4_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstisomp4_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstriff-@GST_API_VERSION@ \ - -lgstaudio-@GST_API_VERSION@ \ - -lgstvideo-@GST_API_VERSION@ \ - -lgstrtp-@GST_API_VERSION@ \ - -lgsttag-@GST_API_VERSION@ \ - -lgstpbutils-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) $(ZLIB_LIBS) -libgstisomp4_la_LDFLAGS = ${GST_PLUGIN_LDFLAGS} -libgstisomp4_la_SOURCES = isomp4-plugin.c gstrtpxqtdepay.c \ - qtdemux.c qtdemux_types.c qtdemux_dump.c qtdemux_lang.c \ - gstqtmux.c gstqtmoovrecover.c atoms.c atomsrecovery.c descriptors.c \ - properties.c gstqtmuxmap.c gstisoff.c - -presetdir = $(datadir)/gstreamer-$(GST_API_VERSION)/presets -preset_DATA = GstQTMux.prs - -noinst_HEADERS = \ - qtatomparser.h \ - qtdemux.h \ - qtdemux_types.h \ - qtdemux_debug.h \ - qtdemux_dump.h \ - qtdemux_lang.h \ - qtpalette.h \ - gstrtpxqtdepay.h \ - gstqtmux.h \ - gstqtmoovrecover.h \ - atoms.h \ - atomsrecovery.h \ - descriptors.h \ - properties.h \ - fourcc.h \ - gstisoff.h \ - gstqtmuxmap.h - -EXTRA_DIST = \ - gstqtmux-doc.c \ - gstqtmux-doc.h \ - $(preset_DATA) diff --git a/gst/law/Makefile.am b/gst/law/Makefile.am deleted file mode 100644 index 9ed94ba957..0000000000 --- a/gst/law/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -plugin_LTLIBRARIES = libgstalaw.la libgstmulaw.la - -libgstalaw_la_SOURCES = alaw-encode.c alaw-decode.c alaw.c -libgstalaw_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgstalaw_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) -libgstalaw_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -libgstmulaw_la_SOURCES = mulaw-encode.c mulaw-conversion.c mulaw-decode.c mulaw.c -libgstmulaw_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgstmulaw_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) -libgstmulaw_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = mulaw-conversion.h alaw-encode.h alaw-decode.h mulaw-encode.h mulaw-decode.h diff --git a/gst/level/.gitignore b/gst/level/.gitignore deleted file mode 100644 index 11efff7d3f..0000000000 --- a/gst/level/.gitignore +++ /dev/null @@ -1 +0,0 @@ -level-example diff --git a/gst/level/Makefile.am b/gst/level/Makefile.am deleted file mode 100644 index 49c7b28e81..0000000000 --- a/gst/level/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -plugin_LTLIBRARIES = libgstlevel.la - -libgstlevel_la_SOURCES = gstlevel.c -libgstlevel_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstlevel_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LIBM) -libgstlevel_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstlevel.h diff --git a/gst/matroska/Makefile.am b/gst/matroska/Makefile.am deleted file mode 100644 index ade9865927..0000000000 --- a/gst/matroska/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -plugin_LTLIBRARIES = libgstmatroska.la - -libgstmatroska_la_SOURCES = \ - ebml-read.c \ - ebml-write.c \ - matroska.c \ - matroska-demux.c \ - matroska-parse.c \ - matroska-ids.c \ - matroska-mux.c \ - matroska-read-common.c \ - webm-mux.c \ - lzo.c - -noinst_HEADERS = \ - ebml-ids.h \ - ebml-read.h \ - ebml-write.h \ - matroska-demux.h \ - matroska-parse.h \ - matroska-ids.h \ - matroska-mux.h \ - matroska-read-common.h \ - webm-mux.h \ - lzo.h - -libgstmatroska_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstmatroska_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstriff-@GST_API_VERSION@ \ - -lgstaudio-@GST_API_VERSION@ \ - -lgstvideo-@GST_API_VERSION@ \ - -lgsttag-@GST_API_VERSION@ \ - -lgstpbutils-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(ZLIB_LIBS) \ - $(BZ2_LIBS) \ - $(LIBM) -libgstmatroska_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/monoscope/.gitignore b/gst/monoscope/.gitignore deleted file mode 100644 index 08f5ed37d8..0000000000 --- a/gst/monoscope/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs diff --git a/gst/monoscope/Makefile.am b/gst/monoscope/Makefile.am deleted file mode 100644 index a3da88410e..0000000000 --- a/gst/monoscope/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -plugin_LTLIBRARIES = libgstmonoscope.la - -libgstmonoscope_la_SOURCES = gstmonoscope.c monoscope.c convolve.c - -noinst_HEADERS = gstmonoscope.h monoscope.h convolve.h - -libgstmonoscope_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) -libgstmonoscope_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) -libgstmonoscope_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/multifile/Makefile.am b/gst/multifile/Makefile.am deleted file mode 100644 index e6e8a12dab..0000000000 --- a/gst/multifile/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -plugin_LTLIBRARIES = libgstmultifile.la - -libgstmultifile_la_SOURCES = \ - gstmultifilesink.c \ - gstmultifilesrc.c \ - gstmultifile.c \ - gstsplitfilesrc.c \ - gstsplitmuxsink.c \ - gstsplitmuxpartreader.c \ - gstsplitmuxsrc.c \ - gstsplitutils.c \ - patternspec.c -libgstmultifile_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -libgstmultifile_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS) -libgstmultifile_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstmultifilesrc.h gstmultifilesink.h gstsplitfilesrc.h gstsplitmuxsink.h \ - gstsplitmuxsrc.h gstsplitmuxpartreader.h gstsplitutils.h patternspec.h - -noinst_PROGRAMS = test-splitmux-part-reader - -test_splitmux_part_reader_SOURCES = \ - test-splitmuxpartreader.c \ - gstsplitmuxpartreader.c \ - gstsplitmuxsrc.c \ - gstsplitutils.c \ - patternspec.c -test_splitmux_part_reader_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -test_splitmux_part_reader_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS) -test_splitmux_part_reader_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/multipart/Makefile.am b/gst/multipart/Makefile.am deleted file mode 100644 index 8c730e87d9..0000000000 --- a/gst/multipart/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -plugin_LTLIBRARIES = libgstmultipart.la - -libgstmultipart_la_SOURCES = multipart.c multipartdemux.c multipartmux.c -libgstmultipart_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) -libgstmultipart_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) -libgstmultipart_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = multipartdemux.h multipartmux.h diff --git a/gst/replaygain/Makefile.am b/gst/replaygain/Makefile.am deleted file mode 100644 index c8e2406953..0000000000 --- a/gst/replaygain/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -plugin_LTLIBRARIES = libgstreplaygain.la - -libgstreplaygain_la_SOURCES = \ - gstrganalysis.c \ - gstrglimiter.c \ - gstrgvolume.c \ - replaygain.c \ - rganalysis.c -libgstreplaygain_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstreplaygain_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgstpbutils-$(GST_API_VERSION) -lgstaudio-$(GST_API_VERSION)\ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) -libgstreplaygain_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -# headers we need but don't want installed -noinst_HEADERS = \ - gstrganalysis.h \ - gstrglimiter.h \ - gstrgvolume.h \ - replaygain.h \ - rganalysis.h diff --git a/gst/rtp/Makefile.am b/gst/rtp/Makefile.am deleted file mode 100644 index 2e3b866f5a..0000000000 --- a/gst/rtp/Makefile.am +++ /dev/null @@ -1,228 +0,0 @@ -plugin_LTLIBRARIES = libgstrtp.la - -libgstrtp_la_SOURCES = \ - dboolhuff.c \ - fnv1hash.c \ - gstrtp.c \ - gstrtpchannels.c \ - gstrtpac3depay.c \ - gstrtpac3pay.c \ - gstrtpbvdepay.c \ - gstrtpbvpay.c \ - gstrtpceltdepay.c \ - gstrtpceltpay.c \ - gstrtpdvdepay.c \ - gstrtpdvpay.c \ - gstrtpgstdepay.c \ - gstrtpgstpay.c \ - gstrtpilbcdepay.c \ - gstrtpilbcpay.c \ - gstrtpmpadepay.c \ - gstrtpmpapay.c \ - gstrtpmparobustdepay.c \ - gstrtpmpvdepay.c \ - gstrtpmpvpay.c \ - gstrtppcmadepay.c \ - gstrtppcmudepay.c \ - gstrtppcmupay.c \ - gstrtppcmapay.c \ - gstrtpg722depay.c \ - gstrtpg722pay.c \ - gstrtpg723depay.c \ - gstrtpg723pay.c \ - gstrtpg726pay.c \ - gstrtpg726depay.c \ - gstrtpg729pay.c \ - gstrtpg729depay.c \ - gstrtpgsmdepay.c \ - gstrtpgsmpay.c \ - gstrtpamrdepay.c \ - gstrtpamrpay.c \ - gstrtph261pay.c \ - gstrtph261depay.c \ - gstrtph263pdepay.c \ - gstrtph263ppay.c \ - gstrtph263depay.c \ - gstrtph263pay.c \ - gstrtph264depay.c \ - gstrtph264pay.c \ - gstrtph265depay.c \ - gstrtph265pay.c \ - gstrtpj2kdepay.c \ - gstrtpj2kpay.c \ - gstrtpjpegdepay.c \ - gstrtpjpegpay.c \ - gstrtpklvdepay.c \ - gstrtpklvpay.c \ - gstrtpL8depay.c \ - gstrtpL8pay.c \ - gstrtpL16depay.c \ - gstrtpL16pay.c \ - gstrtpL24depay.c \ - gstrtpL24pay.c \ - gstasteriskh263.c \ - gstrtpmp1sdepay.c \ - gstrtpmp2tdepay.c \ - gstrtpmp2tpay.c \ - gstrtpmp4vdepay.c \ - gstrtpmp4vpay.c \ - gstrtpmp4gdepay.c \ - gstrtpmp4gpay.c \ - gstrtpmp4adepay.c \ - gstrtpmp4apay.c \ - gstrtpopusdepay.c \ - gstrtpopuspay.c \ - gstrtpqcelpdepay.c \ - gstrtpqdmdepay.c \ - gstrtpsbcdepay.c \ - gstrtpsbcpay.c \ - gstrtpsirenpay.c \ - gstrtpsirendepay.c \ - gstrtpspeexdepay.c \ - gstrtpspeexpay.c \ - gstrtpsv3vdepay.c \ - gstrtptheoradepay.c \ - gstrtptheorapay.c \ - gstrtpvorbisdepay.c \ - gstrtpvorbispay.c \ - gstrtpvp8depay.c \ - gstrtpvp8pay.c \ - gstrtpvp9depay.c \ - gstrtpvp9pay.c \ - gstrtpvrawdepay.c \ - gstrtpvrawpay.c \ - gstrtpstreampay.c \ - gstrtpstreamdepay.c \ - gstrtputils.c \ - rtpulpfeccommon.c \ - gstrtpulpfecdec.c \ - gstrtpulpfecenc.c \ - rtpredcommon.c \ - gstrtpredenc.c \ - gstrtpreddec.c \ - rtpstorage.c \ - rtpstoragestream.c \ - gstrtpstorage.c - -libgstrtp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) -Dvp8_norm=gst_rtpvp8_vp8_norm \ - -Dvp8dx_start_decode=gst_rtpvp8_vp8dx_start_decode \ - -Dvp8dx_bool_decoder_fill=gst_rtpvp8_vp8dx_bool_decoder_fill - -libgstrtp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-@GST_API_VERSION@ \ - -lgstvideo-@GST_API_VERSION@ \ - -lgsttag-@GST_API_VERSION@ \ - -lgstrtp-@GST_API_VERSION@ \ - -lgstpbutils-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) \ - $(LIBM) -libgstrtp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - dboolhuff.h \ - fnv1hash.h \ - gstrtpchannels.h \ - gstrtpL8depay.h \ - gstrtpL8pay.h \ - gstrtpL16depay.h \ - gstrtpL16pay.h \ - gstrtpL24depay.h \ - gstrtpL24pay.h \ - gstrtpac3depay.h \ - gstrtpac3pay.h \ - gstrtpbvdepay.h \ - gstrtpbvpay.h \ - gstrtpceltpay.h \ - gstrtpceltdepay.h \ - gstrtpdvdepay.h \ - gstrtpdvpay.h \ - gstrtpamrdepay.h \ - gstrtpamrpay.h \ - gstrtpgstdepay.h \ - gstrtpgstpay.h \ - gstrtpilbcdepay.h \ - gstrtpilbcpay.h \ - gstrtppcmadepay.h \ - gstrtppcmudepay.h \ - gstrtppcmupay.h \ - gstrtppcmapay.h \ - gstrtpg722depay.h \ - gstrtpg722pay.h \ - gstrtpg723depay.h\ - gstrtpg723pay.h \ - gstrtpg726depay.h \ - gstrtpg726pay.h \ - gstrtpg729depay.h \ - gstrtpg729pay.h \ - gstrtpgsmdepay.h \ - gstrtpgsmpay.h \ - gstrtpmpadepay.h \ - gstrtpmparobustdepay.h \ - gstrtpmpapay.h \ - gstrtpmpvdepay.h \ - gstrtpmpvpay.h \ - gstrtph261pay.h \ - gstrtph261depay.h \ - gstrtph263pdepay.h \ - gstrtph263ppay.h \ - gstrtph263depay.h \ - gstrtph263pay.h \ - gstrtph264depay.h \ - gstrtph264pay.h \ - gstrtph265depay.h \ - gstrtph265pay.h \ - gstrtph265types.h \ - gstrtpj2kdepay.h \ - gstrtpj2kpay.h \ - gstrtpj2kcommon.h \ - gstrtpjpegdepay.h \ - gstrtpjpegpay.h \ - gstrtpklvdepay.h \ - gstrtpklvpay.h \ - gstrtpmp1sdepay.h \ - gstrtpmp2tdepay.h \ - gstrtpmp2tpay.h \ - gstrtpmp4vdepay.h \ - gstrtpmp4vpay.h \ - gstrtpmp4gdepay.h \ - gstrtpmp4gpay.h \ - gstrtpmp4adepay.h \ - gstrtpmp4apay.h \ - gstrtpopusdepay.h \ - gstrtpopuspay.h \ - gstasteriskh263.h \ - gstrtpqcelpdepay.h \ - gstrtpqdmdepay.h \ - gstrtpreddec.h \ - gstrtpredenc.h \ - gstrtpsbcdepay.h \ - gstrtpsbcpay.h \ - gstrtpsirenpay.h \ - gstrtpsirendepay.h \ - gstrtpspeexdepay.h \ - gstrtpspeexpay.h \ - gstrtpstorage.h \ - gstrtpsv3vdepay.h \ - gstrtptheoradepay.h \ - gstrtptheorapay.h \ - gstrtpulpfecdec.h \ - gstrtpulpfecenc.h \ - gstrtpvorbisdepay.h \ - gstrtpvorbispay.h \ - gstrtpvp8depay.h \ - gstrtpvp8pay.h \ - gstrtpvp9depay.h \ - gstrtpvp9pay.h \ - gstrtpvrawdepay.h \ - gstrtpvrawpay.h \ - gstrtpstreampay.h \ - gstrtpstreamdepay.h \ - gstrtputils.h \ - rtpredcommon.h \ - rtpstorage.h \ - rtpstoragestream.h \ - rtpulpfeccommon.h - - -EXTRA_DIST = dboolhuff.LICENSE diff --git a/gst/rtpmanager/Makefile.am b/gst/rtpmanager/Makefile.am deleted file mode 100644 index 6221a9d187..0000000000 --- a/gst/rtpmanager/Makefile.am +++ /dev/null @@ -1,44 +0,0 @@ -plugin_LTLIBRARIES = libgstrtpmanager.la - -libgstrtpmanager_la_SOURCES = gstrtpmanager.c \ - gstrtpbin.c \ - gstrtpdtmfmux.c \ - gstrtpjitterbuffer.c \ - gstrtpmux.c \ - gstrtpptdemux.c \ - gstrtprtxqueue.c \ - gstrtprtxreceive.c \ - gstrtprtxsend.c \ - gstrtpssrcdemux.c \ - rtpjitterbuffer.c \ - rtpsession.c \ - rtpsource.c \ - rtpstats.c \ - rtptimerqueue.c \ - gstrtpsession.c \ - gstrtpfunnel.c - -noinst_HEADERS = gstrtpbin.h \ - gstrtpdtmfmux.h \ - gstrtpjitterbuffer.h \ - gstrtpmux.h \ - gstrtpptdemux.h \ - gstrtpssrcdemux.h \ - gstrtprtxqueue.h \ - gstrtprtxreceive.h \ - gstrtprtxsend.h \ - rtpjitterbuffer.h \ - rtpsession.h \ - rtpsource.h \ - rtpstats.h \ - rtptimerqueue.h \ - gstrtpsession.h \ - gstrtpfunnel.h - - -libgstrtpmanager_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ - $(GST_NET_CFLAGS) $(WARNING_CFLAGS) $(ERROR_CFLAGS) -libgstrtpmanager_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - $(GST_NET_LIBS) -lgstrtp-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) -libgstrtpmanager_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/rtsp/.gitignore b/gst/rtsp/.gitignore deleted file mode 100644 index 10846d78b1..0000000000 --- a/gst/rtsp/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs -test diff --git a/gst/rtsp/Makefile.am b/gst/rtsp/Makefile.am deleted file mode 100644 index 92a791e4ff..0000000000 --- a/gst/rtsp/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -plugin_LTLIBRARIES = libgstrtsp.la - -libgstrtsp_la_SOURCES = gstrtsp.c gstrtspsrc.c \ - gstrtpdec.c gstrtspext.c - -libgstrtsp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -libgstrtsp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) $(GST_BASE_LIBS) $(GIO_LIBS) \ - -lgstrtp-@GST_API_VERSION@ -lgstrtsp-@GST_API_VERSION@ \ - -lgstsdp-@GST_API_VERSION@ $(GST_NET_LIBS) $(GST_LIBS) -libgstrtsp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstrtspsrc.h \ - gstrtsp.h \ - gstrtpdec.h \ - gstrtspext.h diff --git a/gst/shapewipe/Makefile.am b/gst/shapewipe/Makefile.am deleted file mode 100644 index 2f3d938126..0000000000 --- a/gst/shapewipe/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -plugin_LTLIBRARIES = libgstshapewipe.la - -libgstshapewipe_la_SOURCES = gstshapewipe.c - -libgstshapewipe_la_CFLAGS = $(GIO_CFLAGS) $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) -libgstshapewipe_la_LIBADD = $(GIO_LIBS) $(GST_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ -libgstshapewipe_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstshapewipe.h diff --git a/gst/smpte/Makefile.am b/gst/smpte/Makefile.am deleted file mode 100644 index d5111b2340..0000000000 --- a/gst/smpte/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -plugin_LTLIBRARIES = libgstsmpte.la - -libgstsmpte_la_SOURCES = gstsmpte.c gstmask.c barboxwipes.c paint.c gstsmptealpha.c plugin.c - -noinst_HEADERS = gstsmpte.h gstmask.h paint.h gstsmptealpha.h - -libgstsmpte_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgstsmpte_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(LIBM) \ - -lgstvideo-$(GST_API_VERSION) -libgstsmpte_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/spectrum/.gitignore b/gst/spectrum/.gitignore deleted file mode 100644 index 08f366f8aa..0000000000 --- a/gst/spectrum/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs -demo-audiotest -demo-osssrc diff --git a/gst/spectrum/Makefile.am b/gst/spectrum/Makefile.am deleted file mode 100644 index dc0c9e44a5..0000000000 --- a/gst/spectrum/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -plugin_LTLIBRARIES = libgstspectrum.la - -libgstspectrum_la_SOURCES = gstspectrum.c -libgstspectrum_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstspectrum_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstfft-$(GST_API_VERSION) -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) -libgstspectrum_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstspectrum.h diff --git a/gst/udp/Makefile.am b/gst/udp/Makefile.am deleted file mode 100644 index 697405af48..0000000000 --- a/gst/udp/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -plugin_LTLIBRARIES = libgstudp.la - -libgstudp_la_SOURCES = gstudp.c gstudpsrc.c gstudpsink.c gstmultiudpsink.c gstdynudpsink.c gstudpnetutils.c - -libgstudp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -libgstudp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_NET_LIBS) $(GIO_LIBS) -libgstudp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstudpsink.h gstudpsrc.h gstmultiudpsink.h gstdynudpsink.h gstudpnetutils.h - -EXTRA_DIST = README - -CLEANFILES = $(BUILT_SOURCES) diff --git a/gst/videobox/Makefile.am b/gst/videobox/Makefile.am deleted file mode 100644 index f4b5a10c3d..0000000000 --- a/gst/videobox/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -plugin_LTLIBRARIES = libgstvideobox.la - -ORC_SOURCE=gstvideoboxorc -include $(top_srcdir)/common/orc.mak - -libgstvideobox_la_SOURCES = gstvideobox.c -nodist_libgstvideobox_la_SOURCES = $(ORC_NODIST_SOURCES) -libgstvideobox_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(ORC_CFLAGS) -libgstvideobox_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(ORC_LIBS) \ - -lgstvideo-@GST_API_VERSION@ -libgstvideobox_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstvideobox.h -EXTRA_DIST += README diff --git a/gst/videocrop/Makefile.am b/gst/videocrop/Makefile.am deleted file mode 100644 index 3520c21331..0000000000 --- a/gst/videocrop/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -plugin_LTLIBRARIES = libgstvideocrop.la - -# Note: we only use defines from gst/video/video.h, but none -# of the functions, so we don't need to link to libgstvideo - -libgstvideocrop_la_SOURCES = gstvideocrop.c gstaspectratiocrop.c -libgstvideocrop_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) -libgstvideocrop_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) -libgstvideocrop_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstvideocrop.h gstaspectratiocrop.h diff --git a/gst/videofilter/.gitignore b/gst/videofilter/.gitignore deleted file mode 100644 index acc0880434..0000000000 --- a/gst/videofilter/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -gstvideoexample.h -gstvideoexample.c - diff --git a/gst/videofilter/Makefile.am b/gst/videofilter/Makefile.am deleted file mode 100644 index cb517fe9cb..0000000000 --- a/gst/videofilter/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -plugin_LTLIBRARIES = libgstvideofilter.la - -noinst_HEADERS = gstvideoflip.h gstvideobalance.h gstgamma.h gstvideomedian.h - -EXTRA_DIST = gstvideotemplate.c make_filter -CLEANFILES = gstvideoexample.c - -libgstvideofilter_la_SOURCES = plugin.c \ - gstvideoflip.c \ - gstvideobalance.c \ - gstgamma.c \ - gstvideomedian.c -libgstvideofilter_la_CFLAGS = $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) -libgstvideofilter_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstvideo-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) -libgstvideofilter_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBM) - -gstvideoexample.c: $(srcdir)/make_filter $(srcdir)/gstvideotemplate.c - $(srcdir)/make_filter Videoexample $(srcdir)/gstvideotemplate.c diff --git a/gst/videomixer/Makefile.am b/gst/videomixer/Makefile.am deleted file mode 100644 index b10289a82f..0000000000 --- a/gst/videomixer/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -plugin_LTLIBRARIES = libgstvideomixer.la - -ORC_SOURCE=videomixerorc - -include $(top_srcdir)/common/orc.mak - -libgstvideomixer_la_SOURCES = \ - blend.c \ - videomixer2.c - -nodist_libgstvideomixer_la_SOURCES = $(ORC_NODIST_SOURCES) -libgstvideomixer_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS) -libgstvideomixer_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstvideo-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) $(LIBM) -libgstvideomixer_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -# headers we need but don't want installed -noinst_HEADERS = \ - blend.h \ - videomixer2.h \ - videomixer2pad.h diff --git a/gst/wavenc/Makefile.am b/gst/wavenc/Makefile.am deleted file mode 100644 index 1ee661d9d1..0000000000 --- a/gst/wavenc/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -plugin_LTLIBRARIES = libgstwavenc.la - -libgstwavenc_la_SOURCES = gstwavenc.c -libgstwavenc_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstwavenc_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-@GST_API_VERSION@ \ - -lgstriff-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) -libgstwavenc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstwavenc.h diff --git a/gst/wavparse/.gitignore b/gst/wavparse/.gitignore deleted file mode 100644 index 08f5ed37d8..0000000000 --- a/gst/wavparse/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs diff --git a/gst/wavparse/Makefile.am b/gst/wavparse/Makefile.am deleted file mode 100644 index 6076c28a51..0000000000 --- a/gst/wavparse/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -plugin_LTLIBRARIES = libgstwavparse.la - -libgstwavparse_la_SOURCES = gstwavparse.c -libgstwavparse_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstwavparse_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstriff-@GST_API_VERSION@ \ - -lgstaudio-@GST_API_VERSION@ \ - -lgsttag-@GST_API_VERSION@ \ - -lgstpbutils-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(LIBM) -libgstwavparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstwavparse.h diff --git a/gst/y4m/Makefile.am b/gst/y4m/Makefile.am deleted file mode 100644 index c6eb37b10c..0000000000 --- a/gst/y4m/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ - -plugin_LTLIBRARIES = libgsty4menc.la - -libgsty4menc_la_SOURCES = gsty4mencode.c -libgsty4menc_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgsty4menc_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_LIBS) -libgsty4menc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gsty4mencode.h diff --git a/m4/.gitignore b/m4/.gitignore deleted file mode 100644 index ae2f6d849d..0000000000 --- a/m4/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -codeset.m4 -gettext.m4 -glibc21.m4 -iconv.m4 -intdiv0.m4 -inttypes-pri.m4 -inttypes.m4 -inttypes_h.m4 -isc-posix.m4 -lcmessage.m4 -lib-ld.m4 -lib-link.m4 -lib-prefix.m4 -progtest.m4 -stdint_h.m4 -uintmax_t.m4 -ulonglong.m4 diff --git a/m4/Makefile.am b/m4/Makefile.am deleted file mode 100644 index d3738ca38b..0000000000 --- a/m4/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -EXTRA_DIST = \ - a52.m4 \ - aalib.m4 \ - as-ffmpeg.m4 \ - as-liblame.m4 \ - as-slurp-ffmpeg.m4 \ - check-libheader.m4 \ - codeset.m4 \ - freetype2.m4 \ - gettext.m4 \ - glibc21.m4 \ - glib.m4 \ - gst-alsa.m4 \ - gst-artsc.m4 \ - gst-fionread.m4 \ - gst-ivorbis.m4 \ - gst-matroska.m4 \ - gst-sdl.m4 \ - gst-shout2.m4 \ - gst-sid.m4 \ - gtk.m4 \ - iconv.m4 \ - intdiv0.m4 \ - inttypes_h.m4 \ - inttypes-pri.m4 \ - lcmessage.m4 \ - libfame.m4 \ - lib-ld.m4 \ - lib-link.m4 \ - lib-prefix.m4 \ - ogg.m4 \ - progtest.m4 \ - stdint_h.m4 \ - uintmax_t.m4 \ - vorbis.m4 diff --git a/m4/README b/m4/README deleted file mode 100644 index f044598500..0000000000 --- a/m4/README +++ /dev/null @@ -1,3 +0,0 @@ -All aclocal .m4 files we need are put here and cat'd to acinclude.m4 in -the source root. Official ones (taken from the relevant devel packages) -are named as-is, unofficial ones (or changed ones) get a gst-prefix. diff --git a/m4/a52.m4 b/m4/a52.m4 deleted file mode 100644 index 0065deeb15..0000000000 --- a/m4/a52.m4 +++ /dev/null @@ -1,125 +0,0 @@ -dnl -dnl A52_CHECK-LIBHEADER(FEATURE-NAME, LIB-NAME, LIB-FUNCTION, HEADER-NAME, -dnl ACTION-IF-FOUND, ACTION-IF-NOT-FOUND, -dnl EXTRA-LDFLAGS, EXTRA-CPPFLAGS) -dnl -dnl FEATURE-NAME - feature name; library and header files are treated -dnl as feature, which we look for -dnl LIB-NAME - library name as in AC_CHECK_LIB macro -dnl LIB-FUNCTION - library symbol as in AC_CHECK_LIB macro -dnl HEADER-NAME - header file name as in AC_CHECK_HEADER -dnl ACTION-IF-FOUND - when feature is found then execute given action -dnl ACTION-IF-NOT-FOUND - when feature is not found then execute given action -dnl EXTRA-LDFLAGS - extra linker flags (-L or -l) -dnl EXTRA-CPPFLAGS - extra C preprocessor flags, i.e. -I/usr/X11R6/include -dnl -dnl Based on GST_CHECK_LIBHEADER from gstreamer plugins 0.3.1. -dnl -AC_DEFUN([A52_CHECK_LIBHEADER], -[ - AC_CHECK_LIB([$2], [$3], HAVE_[$1]=yes, HAVE_[$1]=no, [$7]) - check_libheader_feature_name=translit([$1], A-Z, a-z) - - if test "x$HAVE_[$1]" = "xyes"; then - check_libheader_save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="[$8] $CPPFLAGS" - AC_CHECK_HEADER([$4], :, HAVE_[$1]=no) - CPPFLAGS=$check_libheader_save_CPPFLAGS - fi - - if test "x$HAVE_[$1]" = "xyes"; then - ifelse([$5], , :, [$5]) - else - ifelse([$6], , :, [$6]) - fi -] -) - -dnl -dnl AC_CHECK_A52DEC(ACTION-IF-FOUND, ACTION-IF-NOT-FOUND) -dnl -dnl ACTION-IF-FOUND - when feature is found then execute given action -dnl ACTION-IF-NOT-FOUND - when feature is not found then execute given action -dnl -dnl Defines HAVE_A52DEC to yes if liba52 is found -dnl -dnl CFLAGS and LDFLAGS for the library are stored in A52DEC_CFLAGS and -dnl A52DEC_LIBS, respectively -dnl -dnl Based on GST_CHECK_A52DEC from gstreamer plugins 0.3.3.1 -dnl Thomas Vander Stichele , Andy Wingo -dnl -AC_DEFUN([AC_CHECK_A52DEC], -[dnl -AC_ARG_WITH(a52dec-prefix, - AC_HELP_STRING([--with-a52dec-prefix=PFX], - [prefix where a52dec is installed (optional)]), - a52dec_config_prefix="$withval", a52dec_config_prefix="") - -if test x$a52dec_config_prefix = x ; then - A52_CHECK_LIBHEADER(A52DEC, a52, a52_init, a52dec/a52.h, - A52DEC_LIBS="-la52 -lm", , -lm) -else - A52_CHECK_LIBHEADER(A52DEC, a52, a52_init, a52dec/a52.h, [ - A52DEC_LIBS="-la52 -L$a52dec_config_prefix/lib -lm" - A52DEC_CFLAGS="-I$a52dec_config_prefix/include" - ], , -L$a52dec_config_prefix/lib, -I$a52dec_config_prefix/include) -fi - -if test $HAVE_A52DEC = "yes"; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $A52DEC_CFLAGS" - LIBS="$A52DEC_LIBS $LIBS" - AC_TRY_RUN([ -#include -#include - -int -main () -{ - a52_state_t *state; - state = a52_init (0); - a52_free (state); - return 0; -} - ],, HAVE_A52DEC=no, [echo $ac_n "cross compiling; assumed OK... $ac_c"]) - - if test HAVE_A52DEC = "no"; then - echo "*** Your a52dec is borked somehow. Please update to 0.7.4." - else - AC_TRY_RUN([ -#include -#include - -int -main () -{ - int i = sizeof (a52_state_t); - if ( i ) - return 0; -} - ], HAVE_A52DEC=no,, [echo $ac_n "cross compiling; assumed OK... $ac_c"]) - - if test HAVE_A52DEC = "no"; then - echo "*** Your a52dec is too old. Please update to 0.7.4." - fi - fi - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" -fi - -if test HAVE_A52DEC = "no"; then - A52DEC_CFLAGS="" - A52DEC_LIBS="" -fi - -if test "x$HAVE_A52DEC" = "xyes"; then - ifelse([$1], , :, [$1]) -else - ifelse([$2], , :, [$2]) -fi - -AC_SUBST(A52DEC_CFLAGS) -AC_SUBST(A52DEC_LIBS) -]) diff --git a/m4/aalib.m4 b/m4/aalib.m4 deleted file mode 100644 index 618ece00a3..0000000000 --- a/m4/aalib.m4 +++ /dev/null @@ -1,178 +0,0 @@ -# Configure paths for AALIB -# touched up for clean output by Thomas Vander Stichele -# Jan Hubicka 4/22/2001 -# stolen from Sam Lantinga 9/21/99 -# stolen from Manish Singh -# stolen back from Frank Belew -# stolen from Manish Singh -# Shamelessly stolen from Owen Taylor - -dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS -dnl -AC_DEFUN([AM_PATH_AALIB], -[dnl -dnl Get the cflags and libraries from the aalib-config script -dnl -AC_ARG_WITH(aalib-prefix, - AC_HELP_STRING([--with-aalib-prefix=PFX], - [prefix where AALIB is installed (optional)]), - aalib_prefix="$withval", aalib_prefix="") - -AC_ARG_WITH(aalib-exec-prefix, - AC_HELP_STRING([--with-aalib-exec-prefix=PFX], - [exec prefix where AALIB is installed (optional)]), - aalib_exec_prefix="$withval", aalib_exec_prefix="") - -AC_ARG_ENABLE(aalibtest, - AC_HELP_STRING([--disable-aalibtest], - [do not try to compile and run a test AALIB program]), - , enable_aalibtest=yes) - - if test x$aalib_exec_prefix != x ; then - aalib_args="$aalib_args --exec-prefix=$aalib_exec_prefix" - if test x${AALIB_CONFIG+set} != xset ; then - AALIB_CONFIG=$aalib_exec_prefix/bin/aalib-config - fi - fi - if test x$aalib_prefix != x ; then - aalib_args="$aalib_args --prefix=$aalib_prefix" - if test x${AALIB_CONFIG+set} != xset ; then - AALIB_CONFIG=$aalib_prefix/bin/aalib-config - fi - fi - - AC_PATH_PROG(AALIB_CONFIG, aalib-config, no) - min_aalib_version=ifelse([$1], ,0.11.0,$1) - AC_MSG_CHECKING(for AALIB - version >= $min_aalib_version) - no_aalib="" - if test "$AALIB_CONFIG" = "no" ; then - no_aalib=yes - else - AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags` - AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs` - - aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_aalibtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $AALIB_CFLAGS" - LIBS="$LIBS $AALIB_LIBS" -dnl -dnl Now check if the installed AALIB is sufficiently new. (Also sanity -dnl checks the results of aalib-config to some extent -dnl - rm -f conf.aalibtest - AC_TRY_RUN([ -#include -#include -#include -#include "aalib.h" - -char* -my_strdup (char *str) -{ - char *new_str; - - if (str) - { - new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); - strcpy (new_str, str); - } - else - new_str = NULL; - - return new_str; -} - -int main (int argc, char *argv[]) -{ - int major, minor, micro; - char *tmp_version; - - /* This hangs on some systems (?) - system ("touch conf.aalibtest"); - */ - { FILE *fp = fopen("conf.aalibtest", "a"); if ( fp ) fclose(fp); } - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = my_strdup("$min_aalib_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_aalib_version"); - exit(1); - } - - if (($aalib_major_version > major) || - (($aalib_major_version == major) && ($aalib_minor_version > minor)) || - (($aalib_major_version == major) && ($aalib_minor_version == minor) && ($aalib_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** 'aalib-config --version' returned %d.%d.%d, but the minimum version\n", $aalib_major_version, $aalib_minor_version, $aalib_micro_version); - printf("*** of AALIB required is %d.%d.%d. If aalib-config is correct, then it is\n", major, minor, micro); - printf("*** best to upgrade to the required version.\n"); - printf("*** If aalib-config was wrong, set the environment variable AALIB_CONFIG\n"); - printf("*** to point to the correct copy of aalib-config, and remove the file\n"); - printf("*** config.cache before re-running configure\n"); - return 1; - } -} - -],, no_aalib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_aalib" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$AALIB_CONFIG" = "no" ; then - echo "*** The aalib-config script installed by AALIB could not be found" - echo "*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the AALIB_CONFIG environment variable to the" - echo "*** full path to aalib-config." - else - if test -f conf.aalibtest ; then - : - else - echo "*** Could not run AALIB test program, checking why..." - CFLAGS="$CFLAGS $AALIB_CFLAGS" - LIBS="$LIBS $AALIB_LIBS" - AC_TRY_LINK([ -#include -#include "AALIB.h" -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding AALIB or finding the wrong" - echo "*** version of AALIB. If it is not finding AALIB, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means AALIB was incorrectly installed" - echo "*** or that you have moved AALIB since it was installed. In the latter case, you" - echo "*** may want to edit the aalib-config script: $AALIB_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - AALIB_CFLAGS="" - AALIB_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(AALIB_CFLAGS) - AC_SUBST(AALIB_LIBS) - rm -f conf.aalibtest -]) diff --git a/m4/as-ffmpeg.m4 b/m4/as-ffmpeg.m4 deleted file mode 100644 index fa0c38d7bf..0000000000 --- a/m4/as-ffmpeg.m4 +++ /dev/null @@ -1,99 +0,0 @@ -# CFLAGS and library paths for FFMPEG -# taken from Autostar Sandbox, http://autostars.sourceforge.net/ - -dnl Usage: -dnl AM_PATH_FFMPEG([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl FIXME: version checking does not work currently -dnl -dnl Example: -dnl AM_PATH_FFMPEG(0.4.6, , AC_MSG_ERROR([*** FFMPEG >= 0.4.6 not installed)) -dnl -dnl Defines FFMPEG_LIBS -dnl FIXME: should define FFMPEG_VERSION -dnl - -AC_DEFUN([AM_PATH_FFMPEG], -[ - dnl allow for specification of a source path (for uninstalled) - AC_ARG_WITH(ffmpeg-source, - AC_HELP_STRING([--with-ffmpeg-source=DIR], - [Directory where FFmpeg source is (optional)]), - ffmpeg_source="$withval") - - dnl save CFLAGS and LIBS here - CFLAGS_save=$CFLAGS - LIBS_save=$LIBS - if test "x$ffmpeg_source" != "x"; then - dnl uninstalled FFmpeg copy - AC_MSG_NOTICE([Looking for FFmpeg source in $ffmpeg_source]) - CFLAGS="-I$ffmpeg_source/libav -I$ffmpeg_source/libavcodec" - LIBS="-L$ffmpeg_source/libav -L$ffmpeg_source/libavcodec" - AC_DEFINE_UNQUOTED(HAVE_FFMPEG_UNINSTALLED, 1, - [defined if we compile against uninstalled FFmpeg]) - FFMPEG_COMMON_INCLUDE="#include " - else - FFMPEG_COMMON_INCLUDE="#include " - fi - - dnl check for libavcodec - AC_CHECK_LIB(avcodec, avcodec_init, HAVE_FFMPEG=yes, HAVE_FFMPEG=no) - - dnl check for avcodec.h and avformat.h - if test "x$ffmpeg_source" != "x"; then - dnl uninstalled - AC_CHECK_HEADER(avcodec.h, , HAVE_FFMPEG=no, [/* only compile */]) - AC_CHECK_HEADER(avformat.h, , HAVE_FFMPEG=no, [/* only compile */]) - else - AC_CHECK_HEADER(ffmpeg/avcodec.h, , HAVE_FFMPEG=no) - AC_CHECK_HEADER(ffmpeg/avformat.h, , HAVE_FFMPEG=no) - fi - -dnl now check if it's sufficiently new - - AC_LANG_SAVE() - AC_LANG_C() - - dnl FIXME: we use strcmp, which we know is going to break if ffmpeg ever uses - dnl two digits for any of their version numbers. It makes the test so much - dnl easier though so let's ignore that - AC_TRY_RUN([ -$FFMPEG_COMMON_INCLUDE -#include -#include - -int -main () -{ - if (strcmp (FFMPEG_VERSION, "$1") == -1) - { - fprintf (stderr, - "ERROR: your copy of ffmpeg is too old (%s)\n", FFMPEG_VERSION); - return 1; - } - else - return 0; -} -], , HAVE_FFMPEG=no) - -dnl now do the actual "do we have it ?" test - if test "x$HAVE_FFMPEG" = "xyes"; then - FFMPEG_LIBS="$LIBS -lavcodec -lavformat" - FFMPEG_CFLAGS="$CFLAGS" - AC_MSG_NOTICE(we have ffmpeg) - dnl execute what we have to because it's found - ifelse([$2], , :, [$2]) - else - FFMPEG_LIBS="" - FFMPEG_CFLAGS="" - dnl execute what we have to because it's not found - ifelse([$3], , :, [$3]) - fi - -dnl make variables available - AC_SUBST(FFMPEG_LIBS) - AC_SUBST(FFMPEG_CFLAGS) - AC_SUBST(HAVE_FFMPEG) - AC_LANG_RESTORE() - CFLAGS=$CFLAGS_save - LIBS=$LIBS_save -]) diff --git a/m4/as-liblame.m4 b/m4/as-liblame.m4 deleted file mode 100644 index ed7070c64e..0000000000 --- a/m4/as-liblame.m4 +++ /dev/null @@ -1,50 +0,0 @@ -# CFLAGS and library paths for LIBLAME -# taken from Autostar Sandbox, http://autostars.sourceforge.net/ -# inspired by xmms.m4 - -dnl Usage: -dnl AM_PATH_LIBLAME([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl FIXME: version checking does not work currently -dnl -dnl Example: -dnl AM_PATH_LIBLAME(3.89, , AC_MSG_ERROR([*** LIBLAME >= 3.89 not installed)) -dnl -dnl Defines LIBLAME_LIBS -dnl FIXME: should define LIBLAME_VERSION -dnl - -AC_DEFUN([AM_PATH_LIBLAME], -[ - dnl check for the library - AC_CHECK_LIB(mp3lame, lame_init, HAVE_LIBLAME=yes, HAVE_LIBLAME=no, -lm) - dnl check if lame.h is available in the standard location or not - HAVE_LAME_H_STD=no - AC_CHECK_HEADER(lame.h, HAVE_LAME_H_STD=no, :) - AC_CHECK_HEADER(lame/lame.h, HAVE_LAME_H_STD=yes, :) - AC_MSG_CHECKING(for lame.h in right location) - if test "x$HAVE_LAME_H_STD" = "xyes"; then - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - HAVE_LIBLAME=no - if test "x$HAVE_LAME_H_STD"="xno"; then - AC_MSG_WARN(lame.h found in include dir,) - AC_MSG_WARN( while it should be in it's own lame/ dir !) - fi - fi - - dnl now do the actual "do we have it ?" test - if test "x$HAVE_LIBLAME" = "xyes"; then - LIBLAME_LIBS="-lmp3lame -lm" - dnl execute what we have to because it's found - ifelse([$2], , :, [$2]) - else - LIBLAME_LIBS="" - dnl execute what we have to because it's not found - ifelse([$3], , :, [$3]) - fi - - dnl make variables available - AC_SUBST(LIBLAME_LIBS) - AC_SUBST(HAVE_LIBLAME) -]) diff --git a/m4/as-slurp-ffmpeg.m4 b/m4/as-slurp-ffmpeg.m4 deleted file mode 100644 index fd54b4298a..0000000000 --- a/m4/as-slurp-ffmpeg.m4 +++ /dev/null @@ -1,59 +0,0 @@ -dnl slurp-ffmpeg.m4 0.1.1 -dnl a macro to slurp in ffmpeg's cvs source inside a project tree -dnl taken from Autostar Sandbox, http://autostars.sourceforge.net/ - -dnl Usage: -dnl AS_SLURP_FFMPEG(DIRECTORY, DATE, [ACTION-IF-WORKED [, ACTION-IF-NOT-WORKED]]]) -dnl -dnl Example: -dnl AM_PATH_FFMPEG(lib/ffmpeg, 2002-12-14 12:00 GMT) -dnl -dnl make sure you have a Tag file in the dir where you check out that -dnl is the Tag of CVS you want to have checked out -dnl it should correspond to the DATE argument you supply, ie resolve to -dnl the same date -dnl (in an ideal world, cvs would understand it's own Tag file format as -dnl a date spec) - -AC_DEFUN([AS_SLURP_FFMPEG], -[ - # save original dir - FAILED="" - DIRECTORY=`pwd` - # get/update cvs - if test ! -d $1; then mkdir -p $1; fi - dnl we need to check $srcdir/$1 or it will always checkout ffmpeg even if it is there - dnl at least when top_srcdir != top_builddir. - dnl FIXME: unfortunately this makes the checkout go into top_srcdir - cd $srcdir/$1 - - if test ! -e ffmpeg/README; then - # check out cvs code - AC_MSG_NOTICE(checking out ffmpeg cvs code from $2 into $1) - cvs -Q -z4 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -D '$2' ffmpeg || FAILED=yes - else - # compare against Tag file and see if it needs updating - if test "`cat Tag`" == "$2"; then - AC_MSG_NOTICE(ffmpeg cvs code in sync) - else - cd ffmpeg - AC_MSG_NOTICE(updating ffmpeg cvs code to $2) - cvs -Q -z4 update -dP -D '$2' || FAILED=yes - cd .. - fi - fi - if test "x$FAILED" != "xyes"; then - echo "$2" > Tag - fi - - # now go back - cd $DIRECTORY - - if test "x$FAILED" == "xyes"; then - [$4] - false - else - [$3] - true - fi -]) diff --git a/m4/check-libheader.m4 b/m4/check-libheader.m4 deleted file mode 100644 index a7fc5a6a64..0000000000 --- a/m4/check-libheader.m4 +++ /dev/null @@ -1,39 +0,0 @@ -dnl -dnl CHECK-LIBHEADER(FEATURE-NAME, LIB-NAME, LIB-FUNCTION, HEADER-NAME, -dnl ACTION-IF-FOUND, ACTION-IF-NOT-FOUND, -dnl EXTRA-LDFLAGS, EXTRA-CPPFLAGS) -dnl -dnl FEATURE-NAME - feature name; library and header files are treated -dnl as feature, which we look for -dnl LIB-NAME - library name as in AC_CHECK_LIB macro -dnl LIB-FUNCTION - library symbol as in AC_CHECK_LIB macro -dnl HEADER-NAME - header file name as in AC_CHECK_HEADER -dnl ACTION-IF-FOUND - when feature is found then execute given action -dnl ACTION-IF-NOT-FOUND - when feature is not found then execute given action -dnl EXTRA-LDFLAGS - extra linker flags (-L or -l) -dnl EXTRA-CPPFLAGS - extra C preprocessor flags, i.e. -I/usr/X11R6/include -dnl -dnl Based on GST_CHECK_LIBHEADER from gstreamer plugins 0.3.1. -dnl -AC_DEFUN([CHECK_LIBHEADER], -[ - AC_CHECK_LIB([$2], [$3], HAVE_[$1]=yes, HAVE_[$1]=no, [$7]) - check_libheader_feature_name=translit([$1], A-Z, a-z) - - if test "x$HAVE_[$1]" = "xyes"; then - check_libheader_save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="[$8] $CPPFLAGS" - AC_CHECK_HEADER([$4], :, HAVE_[$1]=no) - CPPFLAGS=$check_libheader_save_CPPFLAGS - fi - - if test "x$HAVE_[$1]" = "xyes"; then - ifelse([$5], , :, [$5]) - AC_MSG_NOTICE($check_libheader_feature_name was found) - else - ifelse([$6], , :, [$6]) - AC_MSG_WARN($check_libheader_feature_name not found) - fi - AC_SUBST(HAVE_[$1]) -] -) diff --git a/m4/freetype2.m4 b/m4/freetype2.m4 deleted file mode 100644 index f85cc47a3f..0000000000 --- a/m4/freetype2.m4 +++ /dev/null @@ -1,143 +0,0 @@ -# Configure paths for FreeType2 -# Marcelo Magallon 2001-10-26, based on gtk.m4 by Owen Taylor - -dnl AC_CHECK_FT2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for FreeType2, and define FT2_CFLAGS and FT2_LIBS -dnl -AC_DEFUN([AC_CHECK_FT2], -[dnl -dnl Get the cflags and libraries from the freetype-config script -dnl -AC_ARG_WITH(ft-prefix, -[ --with-ft-prefix=PREFIX - Prefix where FreeType is installed (optional)], - ft_config_prefix="$withval", ft_config_prefix="") -AC_ARG_WITH(ft-exec-prefix, -[ --with-ft-exec-prefix=PREFIX - Exec prefix where FreeType is installed (optional)], - ft_config_exec_prefix="$withval", ft_config_exec_prefix="") -AC_ARG_ENABLE(freetypetest, -[ --disable-freetypetest Do not try to compile and run - a test FreeType program], - [], enable_fttest=yes) - -if test x$ft_config_exec_prefix != x ; then - ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix" - if test x${FT2_CONFIG+set} != xset ; then - FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config - fi -fi -if test x$ft_config_prefix != x ; then - ft_config_args="$ft_config_args --prefix=$ft_config_prefix" - if test x${FT2_CONFIG+set} != xset ; then - FT2_CONFIG=$ft_config_prefix/bin/freetype-config - fi -fi -AC_PATH_PROG(FT2_CONFIG, freetype-config, no) - -min_ft_version=ifelse([$1], ,6.1.0,$1) -AC_MSG_CHECKING(for FreeType - version >= $min_ft_version) -no_ft="" -if test "$FT2_CONFIG" = "no" ; then - no_ft=yes -else - FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags` - FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs` - ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - ft_min_major_version=`echo $min_ft_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - ft_min_minor_version=`echo $min_ft_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - ft_min_micro_version=`echo $min_ft_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test x$enable_fttest = xyes ; then - ft_config_is_lt="" - if test $ft_config_major_version -lt $ft_min_major_version ; then - ft_config_is_lt=yes - else - if test $ft_config_major_version -eq $ft_min_major_version ; then - if test $ft_config_minor_version -lt $ft_min_minor_version ; then - ft_config_is_lt=yes - else - if test $ft_config_minor_version -eq $ft_min_minor_version ; then - if test $ft_config_micro_version -lt $ft_min_micro_version ; then - ft_config_is_lt=yes - fi - fi - fi - fi - fi - if test x$ft_config_is_lt = xyes ; then - no_ft=yes - else - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $FT2_CFLAGS" - LIBS="$FT2_LIBS $LIBS" -dnl -dnl Sanity checks for the results of freetype-config to some extent -dnl - AC_TRY_RUN([ -#include -#include FT_FREETYPE_H -#include -#include - -int -main() -{ - FT_Library library; - FT_Error error; - - error = FT_Init_FreeType(&library); - - if (error) - return 1; - else - { - FT_Done_FreeType(library); - return 0; - } -} -],, no_ft=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi # test $ft_config_version -lt $ft_min_version - fi # test x$enable_fttest = xyes -fi # test "$FT2_CONFIG" = "no" -if test x$no_ft = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) -else - AC_MSG_RESULT(no) - if test "$FT2_CONFIG" = "no" ; then - echo "*** The freetype-config script installed by FreeType 2 could not be found." - echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the FT2_CONFIG environment variable to the" - echo "*** full path to freetype-config." - else - if test x$ft_config_is_lt = xyes ; then - echo "*** Your installed version of the FreeType 2 library is too old." - echo "*** If you have different versions of FreeType 2, make sure that" - echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix" - echo "*** are used, or set the FT2_CONFIG environment variable to the" - echo "*** full path to freetype-config." - else - echo "*** The FreeType test program failed to run. If your system uses" - echo "*** shared libraries and they are installed outside the normal" - echo "*** system library path, make sure the variable LD_LIBRARY_PATH" - echo "*** (or whatever is appropriate for your system) is correctly set." - fi - fi - FT2_CFLAGS="" - FT2_LIBS="" - ifelse([$3], , :, [$3]) -fi -AC_SUBST(FT2_CFLAGS) -AC_SUBST(FT2_LIBS) -]) diff --git a/m4/glib.m4 b/m4/glib.m4 deleted file mode 100644 index 7338acb98f..0000000000 --- a/m4/glib.m4 +++ /dev/null @@ -1,196 +0,0 @@ -# Configure paths for GLIB -# Owen Taylor 97-11-3 - -dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) -dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or -dnl gthread is specified in MODULES, pass to glib-config -dnl -AC_DEFUN([AM_PATH_GLIB], -[dnl -dnl Get the cflags and libraries from the glib-config script -dnl -AC_ARG_WITH(glib-prefix,[ --with-glib-prefix=PFX Prefix where GLIB is installed (optional)], - glib_config_prefix="$withval", glib_config_prefix="") -AC_ARG_WITH(glib-exec-prefix,[ --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)], - glib_config_exec_prefix="$withval", glib_config_exec_prefix="") -AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and run a test GLIB program], - , enable_glibtest=yes) - - if test x$glib_config_exec_prefix != x ; then - glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" - if test x${GLIB_CONFIG+set} != xset ; then - GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config - fi - fi - if test x$glib_config_prefix != x ; then - glib_config_args="$glib_config_args --prefix=$glib_config_prefix" - if test x${GLIB_CONFIG+set} != xset ; then - GLIB_CONFIG=$glib_config_prefix/bin/glib-config - fi - fi - - for module in . $4 - do - case "$module" in - gmodule) - glib_config_args="$glib_config_args gmodule" - ;; - gthread) - glib_config_args="$glib_config_args gthread" - ;; - esac - done - - AC_PATH_PROG(GLIB_CONFIG, glib-config, no) - min_glib_version=ifelse([$1], ,0.99.7,$1) - AC_MSG_CHECKING(for GLIB - version >= $min_glib_version) - no_glib="" - if test "$GLIB_CONFIG" = "no" ; then - no_glib=yes - else - GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` - GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs` - glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_glibtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GLIB_CFLAGS" - LIBS="$GLIB_LIBS $LIBS" -dnl -dnl Now check if the installed GLIB is sufficiently new. (Also sanity -dnl checks the results of glib-config to some extent -dnl - rm -f conf.glibtest - AC_TRY_RUN([ -#include -#include -#include - -int -main () -{ - int major, minor, micro; - char *tmp_version; - - system ("touch conf.glibtest"); - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = g_strdup("$min_glib_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_glib_version"); - exit(1); - } - - if ((glib_major_version != $glib_config_major_version) || - (glib_minor_version != $glib_config_minor_version) || - (glib_micro_version != $glib_config_micro_version)) - { - printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", - $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, - glib_major_version, glib_minor_version, glib_micro_version); - printf ("*** was found! If glib-config was correct, then it is best\n"); - printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n"); - printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n"); - printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); - printf("*** required on your system.\n"); - printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n"); - printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n"); - printf("*** before re-running configure\n"); - } - else if ((glib_major_version != GLIB_MAJOR_VERSION) || - (glib_minor_version != GLIB_MINOR_VERSION) || - (glib_micro_version != GLIB_MICRO_VERSION)) - { - printf("*** GLIB header files (version %d.%d.%d) do not match\n", - GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); - printf("*** library (version %d.%d.%d)\n", - glib_major_version, glib_minor_version, glib_micro_version); - } - else - { - if ((glib_major_version > major) || - ((glib_major_version == major) && (glib_minor_version > minor)) || - ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", - glib_major_version, glib_minor_version, glib_micro_version); - printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", - major, minor, micro); - printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); - printf("***\n"); - printf("*** If you have already installed a sufficiently new version, this error\n"); - printf("*** probably means that the wrong copy of the glib-config shell script is\n"); - printf("*** being found. The easiest way to fix this is to remove the old version\n"); - printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n"); - printf("*** correct copy of glib-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); - printf("*** so that the correct libraries are found at run-time))\n"); - } - } - return 1; -} -],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_glib" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$GLIB_CONFIG" = "no" ; then - echo "*** The glib-config script installed by GLIB could not be found" - echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the GLIB_CONFIG environment variable to the" - echo "*** full path to glib-config." - else - if test -f conf.glibtest ; then - : - else - echo "*** Could not run GLIB test program, checking why..." - CFLAGS="$CFLAGS $GLIB_CFLAGS" - LIBS="$LIBS $GLIB_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding GLIB or finding the wrong" - echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" - echo "***" - echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" - echo "*** came with the system with the command" - echo "***" - echo "*** rpm --erase --nodeps gtk gtk-devel" ], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means GLIB was incorrectly installed" - echo "*** or that you have moved GLIB since it was installed. In the latter case, you" - echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - GLIB_CFLAGS="" - GLIB_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(GLIB_CFLAGS) - AC_SUBST(GLIB_LIBS) - rm -f conf.glibtest -]) diff --git a/m4/gst-alsa.m4 b/m4/gst-alsa.m4 deleted file mode 100644 index 4141d0664b..0000000000 --- a/m4/gst-alsa.m4 +++ /dev/null @@ -1,150 +0,0 @@ -dnl Configure Paths for Alsa -dnl Some modifications by Richard Boulton -dnl Christopher Lansdown -dnl Jaroslav Kysela -dnl Last modification: alsa.m4,v 1.23 2004/01/16 18:14:22 tiwai Exp -dnl AM_PATH_ALSA([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for libasound, and define ALSA_CFLAGS and ALSA_LIBS as appropriate. -dnl enables arguments --with-alsa-prefix= -dnl --with-alsa-enc-prefix= -dnl --disable-alsatest -dnl -dnl For backwards compatibility, if ACTION_IF_NOT_FOUND is not specified, -dnl and the alsa libraries are not found, a fatal AC_MSG_ERROR() will result. -dnl -AC_DEFUN([AM_PATH_ALSA], -[dnl Save the original CFLAGS, LDFLAGS, and LIBS -alsa_save_CFLAGS="$CFLAGS" -alsa_save_LDFLAGS="$LDFLAGS" -alsa_save_LIBS="$LIBS" -alsa_found=yes - -dnl -dnl Get the cflags and libraries for alsa -dnl -AC_ARG_WITH(alsa-prefix, - AC_HELP_STRING([--with-alsa-prefix=PFX], - [prefix where Alsa library is installed(optional)]), - [alsa_prefix="$withval"], [alsa_prefix=""]) - -AC_ARG_WITH(alsa-inc-prefix, - AC_HELP_STRING([--with-alsa-inc-prefix=PFX], - [prefix where include libraries are (optional)]), - [alsa_inc_prefix="$withval"], [alsa_inc_prefix=""]) - -dnl FIXME: this is not yet implemented -dnl AC_ARG_ENABLE(alsatest, -dnl AC_HELP_STRING([--disable-alsatest], -dnl [do not try to compile and run a test Alsa program], -dnl [enable_alsatest=no], [enable_alsatest=yes]) - -dnl Add any special include directories -AC_MSG_CHECKING(for ALSA CFLAGS) -if test "$alsa_inc_prefix" != "" ; then - ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" - CFLAGS="$CFLAGS -I$alsa_inc_prefix" -fi -AC_MSG_RESULT($ALSA_CFLAGS) - -dnl add any special lib dirs -AC_MSG_CHECKING(for ALSA LDFLAGS) -if test "$alsa_prefix" != "" ; then - ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" - LDFLAGS="$LDFLAGS $ALSA_LIBS" -fi - -dnl add the alsa library -ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" -LIBS=`echo $LIBS | sed 's/-lm//'` -LIBS=`echo $LIBS | sed 's/-ldl//'` -LIBS=`echo $LIBS | sed 's/-lpthread//'` -LIBS=`echo $LIBS | sed 's/ //'` -LIBS="$ALSA_LIBS $LIBS" -AC_MSG_RESULT($ALSA_LIBS) - -dnl Check for a working version of libasound that is of the right version. -min_alsa_version=ifelse([$1], ,0.1.1,$1) -AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version) -no_alsa="" - alsa_min_major_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - alsa_min_minor_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - alsa_min_micro_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - -AC_LANG_SAVE -AC_LANG_C -AC_TRY_COMPILE([ -#include -], [ -void main(void) -{ -/* ensure backward compatibility */ -#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) -#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR -#endif -#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) -#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR -#endif -#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) -#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR -#endif - -# if(SND_LIB_MAJOR > $alsa_min_major_version) - exit(0); -# else -# if(SND_LIB_MAJOR < $alsa_min_major_version) -# error not present -# endif - -# if(SND_LIB_MINOR > $alsa_min_minor_version) - exit(0); -# else -# if(SND_LIB_MINOR < $alsa_min_minor_version) -# error not present -# endif - -# if(SND_LIB_SUBMINOR < $alsa_min_micro_version) -# error not present -# endif -# endif -# endif -exit(0); -} -], - [AC_MSG_RESULT(found.)], - [AC_MSG_RESULT(not present.) - ifelse([$3], , [AC_MSG_ERROR(Sufficiently new version of libasound not found.)]) - alsa_found=no] -) -AC_LANG_RESTORE - -dnl Now that we know that we have the right version, let's see if we have the library and not just the headers. -if test "x$enable_alsatest" = "xyes"; then -AC_CHECK_LIB([asound], [snd_ctl_open],, - [ifelse([$3], , [AC_MSG_ERROR(No linkable libasound was found.)]) - alsa_found=no] -) -fi - -if test "x$alsa_found" = "xyes" ; then - ifelse([$2], , :, [$2]) - LIBS=`echo $LIBS | sed 's/-lasound//g'` - LIBS=`echo $LIBS | sed 's/ //'` - LIBS="-lasound $LIBS" -fi -if test "x$alsa_found" = "xno" ; then - ifelse([$3], , :, [$3]) - CFLAGS="$alsa_save_CFLAGS" - LDFLAGS="$alsa_save_LDFLAGS" - LIBS="$alsa_save_LIBS" - ALSA_CFLAGS="" - ALSA_LIBS="" -fi - -dnl That should be it. Now just export out symbols: -AC_SUBST(ALSA_CFLAGS) -AC_SUBST(ALSA_LIBS) -]) - diff --git a/m4/gst-artsc.m4 b/m4/gst-artsc.m4 deleted file mode 100644 index 4659960962..0000000000 --- a/m4/gst-artsc.m4 +++ /dev/null @@ -1,28 +0,0 @@ -dnl Perform a check for existence of ARTSC -dnl Richard Boulton -dnl Last modification: 26/06/2001 -dnl GST_CHECK_ARTSC() -dnl -dnl This check was written for GStreamer: it should be renamed and checked -dnl for portability if you decide to use it elsewhere. -dnl -AC_DEFUN([GST_CHECK_ARTSC], -[ - AC_PATH_PROG(ARTSC_CONFIG, artsc-config, no) - if test "x$ARTSC_CONFIG" = "xno"; then - AC_MSG_WARN([Couldn't find artsc-config]) - HAVE_ARTSC=no - ARTSC_LIBS= - ARTSC_CFLAGS= - else - ARTSC_LIBS=`artsc-config --libs` - ARTSC_CFLAGS=`artsc-config --cflags` - dnl AC_CHECK_HEADER uses CPPFLAGS, but not CFLAGS. - dnl FIXME: Ensure only suitable flags result from artsc-config --cflags - CPPFLAGS="$CPPFLAGS $ARTSC_CFLAGS" - AC_CHECK_HEADER(artsc.h, HAVE_ARTSC=yes, HAVE_ARTSC=no) - fi - AC_SUBST(ARTSC_LIBS) - AC_SUBST(ARTSC_CFLAGS) -]) - diff --git a/m4/gst-fionread.m4 b/m4/gst-fionread.m4 deleted file mode 100644 index 98ba86afe0..0000000000 --- a/m4/gst-fionread.m4 +++ /dev/null @@ -1,42 +0,0 @@ -AC_DEFUN([GST_CHECK_FIONREAD], [ - - AC_MSG_CHECKING(for FIONREAD in sys/ioctl.h) - AC_CACHE_VAL(_cv_gst_fionread_in_sys_ioctl, [ - AC_TRY_COMPILE([ -#include -#include -], [ -int x = FIONREAD; -if ( x ) - return 0; - ], _cv_gst_fionread_in_sys_ioctl="yes",_cv_gst_fionread_in_sys_ioctl="no") - ]) - - AC_MSG_RESULT($_cv_gst_fionread_in_sys_ioctl) - - if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then - AC_DEFINE([HAVE_FIONREAD_IN_SYS_IOCTL], 1, [FIONREAD ioctl found in sys/ioctl.h]) - - else - - AC_MSG_CHECKING(for FIONREAD in sys/filio.h) - AC_CACHE_VAL(_cv_gst_fionread_in_sys_filio, [ - AC_TRY_COMPILE([ - #include - #include - ], [ - int x = FIONREAD; - if ( x ) - return 0; - ], _cv_gst_fionread_in_sys_filio="yes",_cv_gst_fionread_in_sys_filio="no") - ]) - - AC_MSG_RESULT($_cv_gst_fionread_in_sys_filio) - - if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then - AC_DEFINE([HAVE_FIONREAD_IN_SYS_FILIO], 1, [FIONREAD ioctl found in sys/filio.h]) - fi - - fi - -]) diff --git a/m4/gst-ivorbis.m4 b/m4/gst-ivorbis.m4 deleted file mode 100644 index ae35bbb5d4..0000000000 --- a/m4/gst-ivorbis.m4 +++ /dev/null @@ -1,68 +0,0 @@ -# Configure paths for Tremor - -dnl XIPH_PATH_IVORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libivorbis, and define IVORBIS_CFLAGS and IVORBIS_LIBS -dnl -AC_DEFUN([XIPH_PATH_IVORBIS], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(ivorbis,[ --with-ivorbis=PFX Prefix where libivorbis is installed (optional)], ivorbis_prefix="$withval", ivorbis_prefix="") -AC_ARG_WITH(ivorbis-libraries,[ --with-ivorbis-libraries=DIR Directory where libivorbis library is installed (optional)], ivorbis_libraries="$withval", ivorbis_libraries="") -AC_ARG_WITH(ivorbis-includes,[ --with-ivorbis-includes=DIR Directory where libivorbis header files are installed (optional)], ivorbis_includes="$withval", ivorbis_includes="") -AC_ARG_ENABLE(ivorbistest, [ --disable-ivorbistest Do not try to compile and run a test Ivorbis program],, enable_ivorbistest=yes) - - if test "x$ivorbis_libraries" != "x" ; then - IVORBIS_LIBS="-L$ivorbis_libraries" - elif test "x$ivorbis_prefix" != "x" ; then - IVORBIS_LIBS="-L$ivorbis_prefix/lib" - elif test "x$prefix" != "xNONE"; then - IVORBIS_LIBS="-L$prefix/lib" - fi - - IVORBIS_LIBS="$IVORBIS_LIBS -lvorbisidec -lm" - - if test "x$ivorbis_includes" != "x" ; then - IVORBIS_CFLAGS="-I$ivorbis_includes" - elif test "x$ivorbis_prefix" != "x" ; then - IVORBIS_CFLAGS="-I$ivorbis_prefix/include" - elif test "x$prefix" != "xNONE"; then - IVORBIS_CFLAGS="-I$prefix/include" - fi - - AC_MSG_CHECKING(for Tremor) - no_ivorbis="" - - if test "x$enable_ivorbistest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $IVORBIS_CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $IVORBIS_LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Tremor is sufficiently new. -dnl - rm -f conf.ivorbistest - AC_TRY_COMPILE([ -#include -#include -#include -#include -],,, no_ivorbis=yes) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_ivorbis" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - IVORBIS_CFLAGS="" - IVORBIS_LIBS="" - IVORBISFILE_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(IVORBIS_CFLAGS) - AC_SUBST(IVORBIS_LIBS) - AC_SUBST(IVORBISFILE_LIBS) -]) diff --git a/m4/gst-matroska.m4 b/m4/gst-matroska.m4 deleted file mode 100644 index eb9a1ec71b..0000000000 --- a/m4/gst-matroska.m4 +++ /dev/null @@ -1,262 +0,0 @@ -# Configure paths for libebml - -dnl PATH_EBML([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libebml, and define EBML_CFLAGS and EBML_LIBS -dnl -AC_DEFUN([PATH_EBML], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(ebml-prefix,[ --with-ebml-prefix=PFX Prefix where libebml is installed (optional)], ebml_prefix="$withval", ebml_prefix="") -AC_ARG_WITH(ebml-include,[ --with-ebml-include=DIR Path to where the libebml include files installed (optional)], ebml_include="$withval", ebml_include="") -AC_ARG_WITH(ebml-lib,[ --with-ebml-lib=DIR Path to where the libebml library installed (optional)], ebml_lib="$withval", ebml_lib="") -AC_ARG_ENABLE(ebmltest, [ --disable-ebmltest Do not try to compile and run a test EBML program],, enable_ebmltest=yes) - - if test "x$ebml_prefix" != "x"; then - ebml_args="$ebml_args --prefix=$ebml_prefix" - if test "x$ebml_include" != "x"; then - EBML_CFLAGS="-I$ebml_include" - else - EBML_CFLAGS="-I$ebml_prefix/include/ebml" - fi - if test "x$ebml_lib" != "x"; then - EBML_LIBS="-L$ebml_lib" - else - EBML_LIBS="-L$ebml_prefix/lib" - fi - elif test "x$prefix" != "xNONE"; then - ebml_args="$ebml_args --prefix=$prefix" - if test "x$ebml_include" != "x"; then - EBML_CFLAGS="-I$ebml_include" - else - EBML_CFLAGS="-I$prefix/include/ebml" - fi - if test "x$ebml_lib" != "x"; then - EBML_LIBS="-L$ebml_lib" - else - EBML_LIBS="-L$prefix/lib" - fi - else - if test "x$ebml_include" != "x"; then - EBML_CFLAGS="-I$ebml_include" - else - EBML_CFLAGS="-I/usr/include/ebml -I/usr/local/include/ebml" - fi - if test "x$ebml_lib" != "x"; then - EBML_LIBS="-L$ebml_lib" - else - EBML_LIBS="-L/usr/local/lib" - fi - fi - - EBML_LIBS="$EBML_LIBS -lebml" - - AC_MSG_CHECKING(for EBML) - no_ebml="" - - - if test "x$enable_ebmltest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $EBML_CFLAGS" - LIBS="$LIBS $EBML_LIBS" -dnl -dnl Now check if the installed EBML is sufficiently new. -dnl - rm -f conf.ebmltest - AC_TRY_RUN([ -#include -#include -#include -#include - -int main () -{ - system("touch conf.ebmltest"); - return 0; -} - -],, no_ebml=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_ebml" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.ebmltest ; then - : - else - echo "*** Could not run Ebml test program, checking why..." - CFLAGS="$CFLAGS $EBML_CFLAGS" - LIBS="$LIBS $EBML_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding EBML or finding the wrong" - echo "*** version of EBML. If it is not finding EBML, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means EBML was incorrectly installed" - echo "*** or that you have moved EBML since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - EBML_CFLAGS="" - EBML_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(EBML_CFLAGS) - AC_SUBST(EBML_LIBS) - rm -f conf.ebmltest -]) - -# Configure paths for libmatroska - -dnl PATH_MATROSKA(MIN_VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libmatroska, and define MATROSKA_CFLAGS and MATROSKA_LIBS -dnl -AC_DEFUN([PATH_MATROSKA], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(matroska-prefix,[ --with-matroska-prefix=PFX Prefix where libmatroska is installed (optional)], matroska_prefix="$withval", matroska_prefix="") -AC_ARG_WITH(matroska-include,[ --with-matroska-include=DIR Path to where the libmatroska include files installed (optional)], matroska_include="$withval", matroska_include="") -AC_ARG_WITH(matroska-lib,[ --with-matroska-lib=DIR Path to where the libmatroska library installed (optional)], matroska_lib="$withval", matroska_lib="") -AC_ARG_ENABLE(matroskatest, [ --disable-matroskatest Do not try to compile and run a test Matroska program],, enable_matroskatest=yes) - - if test "x$matroska_prefix" != "x"; then - matroska_args="$matroska_args --prefix=$matroska_prefix" - if test "x$matroska_include" != "x"; then - MATROSKA_CFLAGS="-I$matroska_include" - else - MATROSKA_CFLAGS="-I$matroska_prefix/include/matroska" - fi - if test "x$matroska_lib" != "x"; then - MATROSKA_LIBS="-L$matroska_lib" - else - MATROSKA_LIBS="-L$matroska_prefix/lib" - fi - elif test "x$prefix" != "xNONE"; then - matroska_args="$matroska_args --prefix=$prefix" - if test "x$matroska_include" != "x"; then - MATROSKA_CFLAGS="-I$matroska_include" - else - MATROSKA_CFLAGS="-I$prefix/include/matroska" - fi - if test "x$matroska_lib" != "x"; then - MATROSKA_LIBS="-L$matroska_lib" - else - MATROSKA_LIBS="-L$prefix/lib" - fi - else - if test "x$matroska_include" != "x"; then - MATROSKA_CFLAGS="-I$matroska_include" - else - MATROSKA_CFLAGS="-I/usr/include/matroska -I/usr/local/include/matroska" - fi - if test "x$matroska_lib" != "x"; then - MATROSKA_LIBS="-L$matroska_lib" - else - MATROSKA_LIBS="-L/usr/local/lib" - fi - fi - - MATROSKA_LIBS="$MATROSKA_LIBS -lmatroska" - - AC_MSG_CHECKING(for Matroska) - no_matroska="" - - - if test "x$enable_matroskatest" = "xyes" ; then - ac_save_CXXFLAGS="$CXXFLAGS" - ac_save_LIBS="$LIBS" - CXXFLAGS="$CXXFLAGS $MATROSKA_CFLAGS $EBML_CFLAGS" - LIBS="$LIBS $MATROSKA_LIBS $EBML_LIBS" -dnl -dnl Now check if the installed Matroska is sufficiently new. -dnl - rm -f conf.matroskatest - AC_LANG_CPLUSPLUS - AC_TRY_RUN([ -#include -#include -#include -#include -#include - -using namespace LIBMATROSKA_NAMESPACE; - -int main () -{ - FILE *f; - f = fopen("conf.matroskatest", "wb"); - if (f == NULL) - return 1; - fprintf(f, "%s\n", KaxCodeVersion.c_str()); - fclose(f); - return 0; -} - -],, no_matroska=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - AC_LANG_C - CXXFLAGS="$ac_save_CXXFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_matroska" = "x" -a -f conf.matroskatest ; then - AC_MSG_RESULT(yes) - - AC_MSG_CHECKING(Matroska version) - - matroska_version=`cat conf.matroskatest` - mk_MAJVER=`echo $1 | cut -d"." -f1` - mk_MINVER=`echo $1 | cut -d"." -f2` - mk_RELVER=`echo $1 | cut -d"." -f3` - mver_ok=`sed 's;\.;\ ;g' < conf.matroskatest | (read -a mver - if test ${mver[[0]]} -gt $mk_MAJVER ; then - mver_ok=1 - elif test ${mver[[0]]} -lt $mk_MAJVER ; then - mver_ok=0 - else - if test ${mver[[1]]} -gt $mk_MINVER ; then - mver_ok=1 - elif test ${mver[[1]]} -lt $mk_MINVER ; then - mver_ok=0 - else - if test ${mver[[2]]} -ge $mk_RELVER ; then - mver_ok=1 - else - mver_ok=0 - fi - fi - fi - echo $mver_ok )` - if test "$mver_ok" = "1" ; then - AC_MSG_RESULT($matroska_version ok) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT($matroska_version too old) - echo '*** Your Matroska version is too old. Upgrade to at least version' - echo '*** $1 and re-run configure.' - ifelse([$3], , :, [$3]) - fi - - else - AC_MSG_RESULT(no) - ifelse([$3], , :, [$3]) - fi - - AC_SUBST(MATROSKA_CFLAGS) - AC_SUBST(MATROSKA_LIBS) - rm -f conf.matroskatest -]) diff --git a/m4/gst-sdl.m4 b/m4/gst-sdl.m4 deleted file mode 100644 index da7142d237..0000000000 --- a/m4/gst-sdl.m4 +++ /dev/null @@ -1,184 +0,0 @@ -# stuff for SDL, hope this helps if we put it here - -# Configure paths for SDL -# Sam Lantinga 9/21/99 -# stolen from Manish Singh -# stolen back from Frank Belew -# stolen from Manish Singh -# Shamelessly stolen from Owen Taylor - -dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS -dnl -AC_DEFUN([AM_PATH_SDL], -[dnl -dnl Get the cflags and libraries from the sdl-config script -dnl -AC_ARG_WITH(sdl-prefix, - AC_HELP_STRING([--with-sdl-prefix=PFX], - [prefix where SDL is installed (optional)]), - sdl_prefix="$withval", sdl_prefix="") - -AC_ARG_WITH(sdl-exec-prefix, - AC_HELP_STRING([--with-sdl-exec-prefix=PFX], - [exec prefix where SDL is installed (optional)]), - sdl_exec_prefix="$withval", sdl_exec_prefix="") - -AC_ARG_ENABLE(sdltest, - AC_HELP_STRING([--disable-sdltest], - [do not try to compile and run a test SDL program]), - , enable_sdltest=yes) - - if test x$sdl_exec_prefix != x ; then - sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config - fi - fi - if test x$sdl_prefix != x ; then - sdl_args="$sdl_args --prefix=$sdl_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_prefix/bin/sdl-config - fi - fi - - AC_PATH_PROG(SDL_CONFIG, sdl-config, no) - min_sdl_version=ifelse([$1], ,0.11.0,$1) - AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) - no_sdl="" - if test "$SDL_CONFIG" = "no" ; then - no_sdl=yes - else - SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` - SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` - - sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_sdltest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" -dnl -dnl Now check if the installed SDL is sufficiently new. (Also sanity -dnl checks the results of sdl-config to some extent -dnl - rm -f conf.sdltest - AC_TRY_RUN([ -#include -#include -#include -#include "SDL.h" - -char* -my_strdup (char *str) -{ - char *new_str; - - if (str) - { - new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); - strcpy (new_str, str); - } - else - new_str = NULL; - - return new_str; -} - -int main (int argc, char *argv[]) -{ - int major, minor, micro; - char *tmp_version; - - /* This hangs on some systems (?) - system ("touch conf.sdltest"); - */ - { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = my_strdup("$min_sdl_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_sdl_version"); - exit(1); - } - - if (($sdl_major_version > major) || - (($sdl_major_version == major) && ($sdl_minor_version > minor)) || - (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); - printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); - printf("*** best to upgrade to the required version.\n"); - printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); - printf("*** to point to the correct copy of sdl-config, and remove the file\n"); - printf("*** config.cache before re-running configure\n"); - return 1; - } -} - -],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_sdl" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$SDL_CONFIG" = "no" ; then - echo "*** The sdl-config script installed by SDL could not be found" - echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the SDL_CONFIG environment variable to the" - echo "*** full path to sdl-config." - else - if test -f conf.sdltest ; then - : - else - echo "*** Could not run SDL test program, checking why..." - CFLAGS="$CFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" - AC_TRY_LINK([ -#include -#include "SDL.h" - -int main(int argc, char *argv[]) -{ return 0; } -#undef main -#define main K_and_R_C_main -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding SDL or finding the wrong" - echo "*** version of SDL. If it is not finding SDL, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means SDL was incorrectly installed" - echo "*** or that you have moved SDL since it was installed. In the latter case, you" - echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - SDL_CFLAGS="" - SDL_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(SDL_CFLAGS) - AC_SUBST(SDL_LIBS) - rm -f conf.sdltest -]) - diff --git a/m4/gst-shout2.m4 b/m4/gst-shout2.m4 deleted file mode 100644 index 19d88cdf5b..0000000000 --- a/m4/gst-shout2.m4 +++ /dev/null @@ -1,102 +0,0 @@ -# Configure paths for libshout -# Jack Moffitt 08-06-2001 -# Shamelessly stolen from Owen Taylor and Manish Singh - -dnl AM_PATH_SHOUT2([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libshout 2, and define SHOUT2_CFLAGS and SHOUT2_LIBS -dnl -AC_DEFUN([AM_PATH_SHOUT2], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(shout2-prefix,[ --with-shout2-prefix=PFX Prefix where libshout2 is installed (optional)], shout2_prefix="$withval", shout2_prefix="") -AC_ARG_ENABLE(shout2test, [ --disable-shout2test Do not try to compile and run a test shout2 program],, enable_shout2test=yes) - - if test "x$shout2_prefix" != "xNONE" ; then - SHOUT2_CFLAGS="-I$shout2_prefix/include" - SHOUT2_LIBS="-L$shout2_prefix/lib" - elif test "x$prefix" != "x"; then - SHOUT2_CFLAGS="-I$prefix/include" - SHOUT2_LIBS="-L$prefix/lib" - fi - - SHOUT2_LIBS="$SHOUT2_LIBS -lshout -lpthread" - - case $host in - *-*-solaris*) - SHOUT2_LIBS="$SHOUT2_LIBS -lnsl -lsocket -lresolv" - esac - - AC_MSG_CHECKING(for shout2) - no_shout2="" - - if test "x$enable_shout2test" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SHOUT2_CFLAGS $OGG_CFLAGS $VORBIS_CFLAGS" - LIBS="$LIBS $SHOUT2_LIBS $OGG_LIBS $VORBIS_LIBS" -dnl -dnl Now check if the installed shout2 is sufficiently new. -dnl - rm -f conf.shout2test - AC_TRY_RUN([ -#include -#include -#include -#include - -int main () -{ - int major, minor, patch; - - system("touch conf.shout2test"); - shout_version(&major, &minor, &patch); - if (major < 2) - return 1; - return 0; -} - -],, no_shout2=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_shout2" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.shout2test ; then - : - else - echo "*** Could not run Shout2 test program, checking why..." - CFLAGS="$CFLAGS $SHOUT2_CFLAGS $OGG_CFLAGS $VORBIS_CFLAGS" - LIBS="$LIBS $SHOUT2_LIBS $OGG_LIBS $VORBIS_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Shout2 or finding the wrong" - echo "*** version of Shout2. If it is not finding Shout2, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means Shout2 was incorrectly installed" - echo "*** or that you have moved Shout2 since it was installed. In the latter case, you" - echo "*** may want to edit the shout-config script: $SHOUT2_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - SHOUT2_CFLAGS="" - SHOUT2_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(SHOUT2_CFLAGS) - AC_SUBST(SHOUT2_LIBS) - rm -f conf.shout2test -]) diff --git a/m4/gst-sid.m4 b/m4/gst-sid.m4 deleted file mode 100644 index 8ae287728a..0000000000 --- a/m4/gst-sid.m4 +++ /dev/null @@ -1,39 +0,0 @@ -dnl check for sidplay - -AC_DEFUN([GST_PATH_SIDPLAY], -[ -AC_MSG_CHECKING([for libsidplay 1.36.x]) - -AC_LANG_PUSH(C++) - -AC_CHECK_HEADER(sidplay/player.h, HAVE_SIDPLAY="yes", HAVE_SIDPLAY="no") - -if test $HAVE_SIDPLAY = "yes"; then - SIDPLAY_LIBS="-lsidplay" - - AC_MSG_CHECKING([whether -lsidplay works]) - ac_libs_safe=$LIBS - - LIBS="-lsidplay" - - AC_TRY_RUN([ - #include - int main() - { sidTune tune = sidTune(0); } - ], - HAVE_SIDPLAY="yes", - HAVE_SIDPLAY="no", - HAVE_SIDPLAY="no") - - LIBS="$ac_libs_safe" - - AC_MSG_RESULT([$HAVE_SIDPLAY]) -fi - -SIDPLAY_CFLAGS= -SIDPLAY_LIBS="-lsidplay" -AC_SUBST(SIDPLAY_CFLAGS) -AC_SUBST(SIDPLAY_LIBS) - -AC_LANG_POP(C++) -]) diff --git a/m4/gtk.m4 b/m4/gtk.m4 deleted file mode 100644 index 6f6a4222f8..0000000000 --- a/m4/gtk.m4 +++ /dev/null @@ -1,194 +0,0 @@ -# Configure paths for GTK+ -# Owen Taylor 97-11-3 - -dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) -dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS -dnl -AC_DEFUN([AM_PATH_GTK], -[dnl -dnl Get the cflags and libraries from the gtk-config script -dnl -AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], - gtk_config_prefix="$withval", gtk_config_prefix="") -AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)], - gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") -AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program], - , enable_gtktest=yes) - - for module in . $4 - do - case "$module" in - gthread) - gtk_config_args="$gtk_config_args gthread" - ;; - esac - done - - if test x$gtk_config_exec_prefix != x ; then - gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" - if test x${GTK_CONFIG+set} != xset ; then - GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config - fi - fi - if test x$gtk_config_prefix != x ; then - gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" - if test x${GTK_CONFIG+set} != xset ; then - GTK_CONFIG=$gtk_config_prefix/bin/gtk-config - fi - fi - - AC_PATH_PROG(GTK_CONFIG, gtk-config, no) - min_gtk_version=ifelse([$1], ,0.99.7,$1) - AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) - no_gtk="" - if test "$GTK_CONFIG" = "no" ; then - no_gtk=yes - else - GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` - GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` - gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_gtktest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GTK_CFLAGS" - LIBS="$GTK_LIBS $LIBS" -dnl -dnl Now check if the installed GTK is sufficiently new. (Also sanity -dnl checks the results of gtk-config to some extent -dnl - rm -f conf.gtktest - AC_TRY_RUN([ -#include -#include -#include - -int -main () -{ - int major, minor, micro; - char *tmp_version; - - system ("touch conf.gtktest"); - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = g_strdup("$min_gtk_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_gtk_version"); - exit(1); - } - - if ((gtk_major_version != $gtk_config_major_version) || - (gtk_minor_version != $gtk_config_minor_version) || - (gtk_micro_version != $gtk_config_micro_version)) - { - printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", - $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, - gtk_major_version, gtk_minor_version, gtk_micro_version); - printf ("*** was found! If gtk-config was correct, then it is best\n"); - printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); - printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n"); - printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); - printf("*** required on your system.\n"); - printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); - printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); - printf("*** before re-running configure\n"); - } -#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) - else if ((gtk_major_version != GTK_MAJOR_VERSION) || - (gtk_minor_version != GTK_MINOR_VERSION) || - (gtk_micro_version != GTK_MICRO_VERSION)) - { - printf("*** GTK+ header files (version %d.%d.%d) do not match\n", - GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); - printf("*** library (version %d.%d.%d)\n", - gtk_major_version, gtk_minor_version, gtk_micro_version); - } -#endif /* defined (GTK_MAJOR_VERSION) ... */ - else - { - if ((gtk_major_version > major) || - ((gtk_major_version == major) && (gtk_minor_version > minor)) || - ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", - gtk_major_version, gtk_minor_version, gtk_micro_version); - printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", - major, minor, micro); - printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); - printf("***\n"); - printf("*** If you have already installed a sufficiently new version, this error\n"); - printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); - printf("*** being found. The easiest way to fix this is to remove the old version\n"); - printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); - printf("*** correct copy of gtk-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); - printf("*** so that the correct libraries are found at run-time))\n"); - } - } - return 1; -} -],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_gtk" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$GTK_CONFIG" = "no" ; then - echo "*** The gtk-config script installed by GTK could not be found" - echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the GTK_CONFIG environment variable to the" - echo "*** full path to gtk-config." - else - if test -f conf.gtktest ; then - : - else - echo "*** Could not run GTK test program, checking why..." - CFLAGS="$CFLAGS $GTK_CFLAGS" - LIBS="$LIBS $GTK_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding GTK or finding the wrong" - echo "*** version of GTK. If it is not finding GTK, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" - echo "***" - echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" - echo "*** came with the system with the command" - echo "***" - echo "*** rpm --erase --nodeps gtk gtk-devel" ], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means GTK was incorrectly installed" - echo "*** or that you have moved GTK since it was installed. In the latter case, you" - echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - GTK_CFLAGS="" - GTK_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(GTK_CFLAGS) - AC_SUBST(GTK_LIBS) - rm -f conf.gtktest -]) diff --git a/m4/libfame.m4 b/m4/libfame.m4 deleted file mode 100644 index b5f6c971b0..0000000000 --- a/m4/libfame.m4 +++ /dev/null @@ -1,182 +0,0 @@ -dnl AM_PATH_LIBFAME([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) -dnl Test for libfame, and define LIBFAME_CFLAGS and LIBFAME_LIBS -dnl Vivien Chappelier 12/11/00 -dnl stolen from ORBit autoconf -dnl -AC_DEFUN([AM_PATH_LIBFAME], -[dnl -dnl Get the cflags and libraries from the libfame-config script -dnl -AC_ARG_WITH(libfame-prefix,[ --with-libfame-prefix=PFX Prefix where libfame is installed (optional)], - libfame_config_prefix="$withval", libfame_config_prefix="") -AC_ARG_WITH(libfame-exec-prefix,[ --with-libfame-exec-prefix=PFX Exec prefix where libfame is installed (optional)], - libfame_config_exec_prefix="$withval", libfame_config_exec_prefix="") -AC_ARG_ENABLE(libfametest, [ --disable-libfametest Do not try to compile and run a test libfame program], - , enable_libfametest=yes) - - if test x$libfame_config_exec_prefix != x ; then - libfame_config_args="$libfame_config_args --exec-prefix=$libfame_config_exec_prefix" - if test x${LIBFAME_CONFIG+set} != xset ; then - LIBFAME_CONFIG=$libfame_config_exec_prefix/bin/libfame-config - fi - fi - if test x$libfame_config_prefix != x ; then - libfame_config_args="$libfame_config_args --prefix=$libfame_config_prefix" - if test x${LIBFAME_CONFIG+set} != xset ; then - LIBFAME_CONFIG=$libfame_config_prefix/bin/libfame-config - fi - fi - - AC_PATH_PROG(LIBFAME_CONFIG, libfame-config, no) - min_libfame_version=ifelse([$1], , 0.9.0, $1) - AC_MSG_CHECKING(for libfame - version >= $min_libfame_version) - no_libfame="" - if test "$LIBFAME_CONFIG" = "no" ; then - no_libfame=yes - else - LIBFAME_CFLAGS=`$LIBFAME_CONFIG $libfame_config_args --cflags` - LIBFAME_LIBS=`$LIBFAME_CONFIG $libfame_config_args --libs` - libfame_config_major_version=`$LIBFAME_CONFIG $libfame_config_args --version | \ - sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - libfame_config_minor_version=`$LIBFAME_CONFIG $libfame_config_args --version | \ - sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - libfame_config_micro_version=`$LIBFAME_CONFIG $libfame_config_args --version | \ - sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_libfametest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $LIBFAME_CFLAGS" - LIBS="$LIBFAME_LIBS $LIBS" -dnl -dnl Now check if the installed LIBFAME is sufficiently new. (Also sanity -dnl checks the results of libfame-config to some extent -dnl - rm -f conf.libfametest - AC_TRY_RUN([ -#include -#include -#include -#include - -int -main () -{ - int major, minor, micro; - char *tmp_version; - - system ("touch conf.libfametest"); - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = strdup("$min_libfame_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_libfame_version"); - exit(1); - } - - if ((libfame_major_version != $libfame_config_major_version) || - (libfame_minor_version != $libfame_config_minor_version) || - (libfame_micro_version != $libfame_config_micro_version)) - { - printf("\n*** 'libfame-config --version' returned %d.%d.%d, but Libfame (%d.%d.%d)\n", - $libfame_config_major_version, $libfame_config_minor_version, $libfame_config_micro_version, - libfame_major_version, libfame_minor_version, libfame_micro_version); - printf ("*** was found! If libfame-config was correct, then it is best\n"); - printf ("*** to remove the old version of libfame. You may also be able to fix the error\n"); - printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n"); - printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); - printf("*** required on your system.\n"); - printf("*** If libfame-config was wrong, set the environment variable LIBFAME_CONFIG\n"); - printf("*** to point to the correct copy of libfame-config, and remove the file config.cache\n"); - printf("*** before re-running configure\n"); - } -#if defined (LIBFAME_MAJOR_VERSION) && defined (LIBFAME_MINOR_VERSION) && defined (LIBFAME_MICRO_VERSION) - else if ((libfame_major_version != LIBFAME_MAJOR_VERSION) || - (libfame_minor_version != LIBFAME_MINOR_VERSION) || - (libfame_micro_version != LIBFAME_MICRO_VERSION)) - { - printf("*** libfame header files (version %d.%d.%d) do not match\n", - LIBFAME_MAJOR_VERSION, LIBFAME_MINOR_VERSION, LIBFAME_MICRO_VERSION); - printf("*** library (version %d.%d.%d)\n", - libfame_major_version, libfame_minor_version, libfame_micro_version); - } -#endif /* defined (LIBFAME_MAJOR_VERSION) ... */ - else - { - if ((libfame_major_version > major) || - ((libfame_major_version == major) && (libfame_minor_version > minor)) || - ((libfame_major_version == major) && (libfame_minor_version == minor) && (libfame_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** An old version of libfame (%d.%d.%d) was found.\n", - libfame_major_version, libfame_minor_version, libfame_micro_version); - printf("*** You need a version of libfame newer than %d.%d.%d. The latest version of\n", - major, minor, micro); - printf("*** libfame is always available from http://www-eleves.enst-bretagne.fr/~chappeli/fame\n"); - printf("***\n"); - printf("*** If you have already installed a sufficiently new version, this error\n"); - printf("*** probably means that the wrong copy of the libfame-config shell script is\n"); - printf("*** being found. The easiest way to fix this is to remove the old version\n"); - printf("*** of libfame, but you can also set the LIBFAME_CONFIG environment to point to the\n"); - printf("*** correct copy of libfame-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); - printf("*** so that the correct libraries are found at run-time))\n"); - } - } - return 1; -} -],, no_libfame=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_libfame" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$LIBFAME_CONFIG" = "no" ; then - echo "*** The libfame-config script installed by libfame could not be found" - echo "*** If libfame was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the LIBFAME_CONFIG environment variable to the" - echo "*** full path to libfame-config." - else - if test -f conf.libfametest ; then - : - else - echo "*** Could not run libfame test program, checking why..." - CFLAGS="$CFLAGS $LIBFAME_CFLAGS" - LIBS="$LIBS $LIBFAME_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return ((libfame_major_version) || (libfame_minor_version) || (libfame_micro_version)); ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding libfame or finding the wrong" - echo "*** version of LIBFAME. If it is not finding libfame, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" - echo "***" ], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means libfame was incorrectly installed" - echo "*** or that you have moved libfame since it was installed. In the latter case, you" - echo "*** may want to edit the libfame-config script: $LIBFAME_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - LIBFAME_CFLAGS="" - LIBFAME_LIBS="" - ifelse([$3], , :, [$3]) - fi - - AC_SUBST(LIBFAME_CFLAGS) - AC_SUBST(LIBFAME_LIBS) - rm -f conf.libfametest -]) diff --git a/m4/ogg.m4 b/m4/ogg.m4 deleted file mode 100644 index cd2a7487b5..0000000000 --- a/m4/ogg.m4 +++ /dev/null @@ -1,102 +0,0 @@ -# Configure paths for libogg -# Jack Moffitt 10-21-2000 -# Shamelessly stolen from Owen Taylor and Manish Singh - -dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS -dnl -AC_DEFUN([XIPH_PATH_OGG], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(ogg,[ --with-ogg=PFX Prefix where libogg is installed (optional)], ogg_prefix="$withval", ogg_prefix="") -AC_ARG_WITH(ogg-libraries,[ --with-ogg-libraries=DIR Directory where libogg library is installed (optional)], ogg_libraries="$withval", ogg_libraries="") -AC_ARG_WITH(ogg-includes,[ --with-ogg-includes=DIR Directory where libogg header files are installed (optional)], ogg_includes="$withval", ogg_includes="") -AC_ARG_ENABLE(oggtest, [ --disable-oggtest Do not try to compile and run a test Ogg program],, enable_oggtest=yes) - - if test "x$ogg_libraries" != "x" ; then - OGG_LIBS="-L$ogg_libraries" - elif test "x$ogg_prefix" != "x" ; then - OGG_LIBS="-L$ogg_prefix/lib" - elif test "x$prefix" != "xNONE" ; then - OGG_LIBS="-L$prefix/lib" - fi - - OGG_LIBS="$OGG_LIBS -logg" - - if test "x$ogg_includes" != "x" ; then - OGG_CFLAGS="-I$ogg_includes" - elif test "x$ogg_prefix" != "x" ; then - OGG_CFLAGS="-I$ogg_prefix/include" - elif test "x$prefix" != "xNONE"; then - OGG_CFLAGS="-I$prefix/include" - fi - - AC_MSG_CHECKING(for Ogg) - no_ogg="" - - - if test "x$enable_oggtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Ogg is sufficiently new. -dnl - rm -f conf.oggtest - AC_TRY_RUN([ -#include -#include -#include -#include - -int main () -{ - system("touch conf.oggtest"); - return 0; -} - -],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_ogg" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.oggtest ; then - : - else - echo "*** Could not run Ogg test program, checking why..." - CFLAGS="$CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $OGG_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Ogg or finding the wrong" - echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means Ogg was incorrectly installed" - echo "*** or that you have moved Ogg since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - OGG_CFLAGS="" - OGG_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(OGG_CFLAGS) - AC_SUBST(OGG_LIBS) - rm -f conf.oggtest -]) diff --git a/m4/vorbis.m4 b/m4/vorbis.m4 deleted file mode 100644 index 063767c747..0000000000 --- a/m4/vorbis.m4 +++ /dev/null @@ -1,128 +0,0 @@ -# Configure paths for libvorbis -# Jack Moffitt 10-21-2000 -# Shamelessly stolen from Owen Taylor and Manish Singh -# thomasvs added check for vorbis_bitrate_addblock which is new in rc3 -# thomasvs added check for OV_ECTL_RATEMANAGE_SET which is new in 1.0 final - -dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS -dnl -AC_DEFUN([XIPH_PATH_VORBIS], -[dnl -dnl Get the cflags and libraries -dnl -AC_ARG_WITH(vorbis,[ --with-vorbis=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="") -AC_ARG_WITH(vorbis-libraries,[ --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)], vorbis_libraries="$withval", vorbis_libraries="") -AC_ARG_WITH(vorbis-includes,[ --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)], vorbis_includes="$withval", vorbis_includes="") -AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes) - - if test "x$vorbis_libraries" != "x" ; then - VORBIS_LIBS="-L$vorbis_libraries" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_LIBS="-L$vorbis_prefix/lib" - elif test "x$prefix" != "xNONE"; then - VORBIS_LIBS="-L$prefix/lib" - fi - - VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm" - VORBISFILE_LIBS="-lvorbisfile" - VORBISENC_LIBS="-lvorbisenc" - - if test "x$vorbis_includes" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_includes" - elif test "x$vorbis_prefix" != "x" ; then - VORBIS_CFLAGS="-I$vorbis_prefix/include" - elif test "x$prefix" != "xNONE"; then - VORBIS_CFLAGS="-I$prefix/include" - fi - - - AC_MSG_CHECKING(for Vorbis) - no_vorbis="" - - - if test "x$enable_vorbistest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS" -dnl -dnl Now check if the installed Vorbis is sufficiently new. -dnl - rm -f conf.vorbistest - AC_TRY_RUN([ -#include -#include -#include -#include -#include - -int main () -{ - vorbis_block vb; - vorbis_dsp_state vd; - vorbis_info vi; - - vorbis_info_init (&vi); - vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1); - vorbis_analysis_init (&vd, &vi); - vorbis_block_init (&vd, &vb); - /* this function was added in 1.0rc3, so this is what we're testing for */ - vorbis_bitrate_addblock (&vb); - - /* this define was added in 1.0 final */ -#ifdef OV_ECTL_RATEMANAGE_SET - system("touch conf.vorbistest"); - return 0; -#else - return -1; -#endif -} - -],, no_vorbis=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - - if test "x$no_vorbis" = "x" ; then - AC_MSG_RESULT(yes) - ifelse([$1], , :, [$1]) - else - AC_MSG_RESULT(no) - if test -f conf.vorbistest ; then - : - else - echo "*** Could not run Vorbis test program, checking why..." - CFLAGS="$CFLAGS $VORBIS_CFLAGS" - LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding Vorbis or finding the wrong" - echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means Vorbis was incorrectly installed" - echo "*** or that you have moved Vorbis since it was installed." ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - VORBIS_CFLAGS="" - VORBIS_LIBS="" - VORBISFILE_LIBS="" - VORBISENC_LIBS="" - ifelse([$2], , :, [$2]) - fi - AC_SUBST(VORBIS_CFLAGS) - AC_SUBST(VORBIS_LIBS) - AC_SUBST(VORBISFILE_LIBS) - AC_SUBST(VORBISENC_LIBS) - rm -f conf.vorbistest -]) diff --git a/pkgconfig/.gitignore b/pkgconfig/.gitignore deleted file mode 100644 index 6fd0ef029e..0000000000 --- a/pkgconfig/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.pc diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am deleted file mode 100644 index 2d7917b612..0000000000 --- a/pkgconfig/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -### all of the standard pc files we need to generate -pcverfiles = \ - gstreamer-plugins-good-@GST_API_VERSION@.pc -pcverfiles_uninstalled = \ - gstreamer-plugins-good-@GST_API_VERSION@-uninstalled.pc - -### all-local: $(pcverfiles) $(pcverfiles_uninstalled) -all-local: $(pcverfiles_uninstalled) - -cp_verbose = $(cp_verbose_$(V)) -cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY)) -cp_verbose_0 = @echo " CP $@"; - -### how to generate versioned .pc files from .pc files in this dir -%-@GST_API_VERSION@.pc: %.pc - $(cp_verbose)cp $< $@ -%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc - $(cp_verbose)cp $< $@ - -# do not install for now -# pkgconfigdir = $(libdir)/pkgconfig -# pkgconfig_DATA = $(pcverfiles) - -CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled) -# pcinfiles = \ -# gstreamer-plugins-good.pc.in gstreamer-plugins-good-uninstalled.pc.in -pcinfiles = \ - gstreamer-plugins-good-uninstalled.pc.in - -DISTCLEANFILES = $(pcinfiles:.in=) -EXTRA_DIST = $(pcinfiles) diff --git a/po/.gitignore b/po/.gitignore deleted file mode 100644 index 93d00bebb1..0000000000 --- a/po/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -*.gmo -remove-potcdate.sed -remove-potcdate.sin -stamp-po -POTFILES -cat-id-tbl.c -*.pot -Makefile.in.in -Makefile.in.in.orig -Makevars.template -Rules-quot -boldquot.sed -en@boldquot.header -en@quot.header -insert-header.sin -quot.sed -.pot diff --git a/po/Makevars b/po/Makevars deleted file mode 100644 index 996fde3d6a..0000000000 --- a/po/Makevars +++ /dev/null @@ -1,46 +0,0 @@ -# Makefile variables for PO directory in any package using GNU gettext. - -# Usually the message domain is the same as the package name. -DOMAIN = gst-plugins-good-1.0 - -# These two variables depend on the location of this directory. -subdir = po -top_builddir = .. - -# These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ - -# This is the copyright holder that gets inserted into the header of the -# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding -# package. (Note that the msgstr strings, extracted from the package's -# sources, belong to the copyright holder of the package.) Translators are -# expected to transfer the copyright for their translations to this person -# or entity, or to disclaim their copyright. The empty string stands for -# the public domain; in this case the translators are expected to disclaim -# their copyright. -COPYRIGHT_HOLDER = - -# This is the email address or URL to which the translators shall report -# bugs in the untranslated strings: -# - Strings which are not entire sentences, see the maintainer guidelines -# in the GNU gettext documentation, section 'Preparing Strings'. -# - Strings which use unclear terms or require additional context to be -# understood. -# - Strings which make invalid assumptions about notation of date, time or -# money. -# - Pluralisation problems. -# - Incorrect English spelling. -# - Incorrect formatting. -# It can be your email address, or a mailing list address where translators -# can write to without being subscribed, or the URL of a web page through -# which the translators can contact you. -MSGID_BUGS_ADDRESS = http://bugzilla.gnome.org/ - -# This is the list of locale categories, beyond LC_MESSAGES, for which the -# message catalogs shall be used. It is usually empty. -EXTRA_LOCALE_CATEGORIES = - -# Avoid line numbers in *.po, but keep them in *.pot. -MSGMERGE = msgmerge --no-location -MSGMERGE_UPDATE = msgmerge --no-location --update --backup=off -MSGFILTER = msgfilter --no-location diff --git a/po/POTFILES.in b/po/POTFILES similarity index 100% rename from po/POTFILES.in rename to po/POTFILES diff --git a/sys/Makefile.am b/sys/Makefile.am deleted file mode 100644 index bf8b9064ac..0000000000 --- a/sys/Makefile.am +++ /dev/null @@ -1,53 +0,0 @@ -if USE_OSS -OSS_DIR=oss -else -OSS_DIR= -endif - -if USE_OSS4 -OSS4_DIR=oss4 -else -OSS4_DIR= -endif - -if USE_DIRECTSOUND -DIRECTSOUND_DIR=directsound -else -DIRECTSOUND_DIR= -endif - -if USE_WAVEFORM -WAVEFORM_DIR=waveform -else -WAVEFORM_DIR= -endif - -if USE_OSX_AUDIO -OSX_AUDIO_DIR=osxaudio -else -OSX_AUDIO_DIR= -endif - -if USE_OSX_VIDEO -OSX_VIDEO_DIR=osxvideo -else -OSX_VIDEO_DIR= -endif - -if USE_GST_V4L2 -V4L2_DIR=v4l2 -else -V4L2_DIR= -endif - -if USE_X -XIMAGE_DIR=ximage -else -XIMAGE_DIR= -endif - -SUBDIRS=$(DIRECTSOUND_DIR) $(WAVEFORM_DIR) $(OSS_DIR) $(OSS4_DIR) $(OSX_AUDIO_DIR) $(OSX_VIDEO_DIR) $(V4L2_DIR) $(XIMAGE_DIR) - -DIST_SUBDIRS=directsound oss oss4 osxaudio osxvideo v4l2 waveform ximage - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/sys/directsound/Makefile.am b/sys/directsound/Makefile.am deleted file mode 100644 index 963a9aa098..0000000000 --- a/sys/directsound/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -plugin_LTLIBRARIES = libgstdirectsound.la - -libgstdirectsound_la_SOURCES = gstdirectsoundsink.c gstdirectsounddevice.c gstdirectsoundplugin.c -libgstdirectsound_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(DIRECTSOUND_CFLAGS) \ - -DGstDirectSoundDeviceProvider=GstDirectSoundSinkDeviceProvider \ - -DGstDirectSoundDeviceProviderClass=GstDirectSoundSinkDeviceProviderClass \ - -DGstDirectSoundDevice=GstDirectSoundSinkDevice \ - -DGstDirectSoundDeviceClass=GstDirectSoundSinkDeviceClass -libgstdirectsound_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(DIRECTSOUND_LIBS) -libgstdirectsound_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DIRECTSOUND_LDFLAGS) - -noinst_HEADERS = gstdirectsoundsink.h gstdirectsounddevice.h diff --git a/sys/oss/.gitignore b/sys/oss/.gitignore deleted file mode 100644 index cd988fb038..0000000000 --- a/sys/oss/.gitignore +++ /dev/null @@ -1 +0,0 @@ -oss_probe diff --git a/sys/oss/Makefile.am b/sys/oss/Makefile.am deleted file mode 100644 index e9079a8aa2..0000000000 --- a/sys/oss/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -plugin_LTLIBRARIES = libgstossaudio.la - -libgstossaudio_la_SOURCES = gstossaudio.c \ - gstosshelper.c \ - gstosssink.c \ - gstosssrc.c - -libgstossaudio_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstossaudio_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) -libgstossaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = common.h \ - gstosssink.h \ - gstosssrc.h \ - gstosshelper.h \ - gstossdmabuffer.h diff --git a/sys/oss4/Makefile.am b/sys/oss4/Makefile.am deleted file mode 100644 index a8f058addc..0000000000 --- a/sys/oss4/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -plugin_LTLIBRARIES = libgstoss4.la - -libgstoss4_la_SOURCES = \ - oss4-audio.c \ - oss4-property-probe.c \ - oss4-sink.c \ - oss4-source.c - -libgstoss4_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgstoss4_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-$(GST_API_VERSION) \ - $(GST_LIBS) -libgstoss4_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - oss4-audio.h \ - oss4-property-probe.h \ - oss4-sink.h \ - oss4-soundcard.h \ - oss4-source.h - diff --git a/sys/osxaudio/Makefile.am b/sys/osxaudio/Makefile.am deleted file mode 100644 index a854a382d7..0000000000 --- a/sys/osxaudio/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -plugin_LTLIBRARIES = libgstosxaudio.la - -libgstosxaudio_la_SOURCES = gstosxaudioringbuffer.c \ - gstosxaudioelement.c \ - gstosxaudiosink.c \ - gstosxaudiosrc.c \ - gstosxcoreaudiocommon.c \ - gstosxcoreaudio.c \ - gstosxaudio.c - -libgstosxaudio_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ - -Wno-deprecated-declarations -libgstosxaudio_la_LIBADD = \ - -lgstaudio-@GST_API_VERSION@ \ - $(GST_PLUGINS_BASE_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) - -libgstosxaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox - -noinst_HEADERS = gstosxaudiosink.h \ - gstosxaudiodeviceprovider.h \ - gstosxaudioelement.h \ - gstosxaudioringbuffer.h \ - gstosxaudiosrc.h \ - gstosxcoreaudiocommon.h \ - gstosxcoreaudio.h - -EXTRA_DIST = gstosxcoreaudiohal.c \ - gstosxcoreaudioremoteio.c - -if !HAVE_IOS -libgstosxaudio_la_SOURCES += gstosxaudiodeviceprovider.c -libgstosxaudio_la_LDFLAGS += -Wl,-framework,AudioUnit -Wl,-framework,CoreServices -else -EXTRA_DIST += gstosxaudiodeviceprovider.c -endif diff --git a/sys/osxvideo/Makefile.am b/sys/osxvideo/Makefile.am deleted file mode 100644 index 597ebda0b5..0000000000 --- a/sys/osxvideo/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ - -plugin_LTLIBRARIES = libgstosxvideo.la - -libgstosxvideo_la_SOURCES = osxvideosink.m cocoawindow.m -libgstosxvideo_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) -libgstosxvideo_la_OBJCFLAGS = $(GST_OBJCFLAGS) $(GST_BASE_CFLAGS) \ - -Wno-deprecated-declarations \ - $(GST_PLUGINS_BASE_CFLAGS) -libgstosxvideo_la_LIBADD = \ - $(GST_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstvideo-$(GST_API_VERSION) - -libgstosxvideo_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,OpenGL - -noinst_HEADERS = osxvideosink.h cocoawindow.h diff --git a/sys/v4l2/Makefile.am b/sys/v4l2/Makefile.am deleted file mode 100644 index cd478481ed..0000000000 --- a/sys/v4l2/Makefile.am +++ /dev/null @@ -1,93 +0,0 @@ -plugin_LTLIBRARIES = libgstvideo4linux2.la - -include $(top_srcdir)/common/gst-glib-gen.mak - -libgstvideo4linux2_la_SOURCES = gstv4l2.c \ - gstv4l2allocator.c \ - gstv4l2colorbalance.c \ - gstv4l2codec.c \ - gstv4l2deviceprovider.c \ - gstv4l2object.c \ - gstv4l2bufferpool.c \ - gstv4l2sink.c \ - gstv4l2src.c \ - gstv4l2radio.c \ - gstv4l2tuner.c \ - gstv4l2transform.c \ - gstv4l2videodec.c \ - gstv4l2videoenc.c \ - gstv4l2fwhtenc.c \ - gstv4l2h263enc.c \ - gstv4l2h264enc.c \ - gstv4l2h264codec.c \ - gstv4l2h265codec.c \ - gstv4l2h265enc.c \ - gstv4l2jpegenc.c \ - gstv4l2mpeg2codec.c \ - gstv4l2mpeg4enc.c \ - gstv4l2mpeg4codec.c \ - gstv4l2vidorient.c \ - gstv4l2vp8codec.c \ - gstv4l2vp8enc.c \ - gstv4l2vp9codec.c \ - gstv4l2vp9enc.c \ - v4l2_calls.c \ - v4l2-utils.c \ - tuner.c \ - tunerchannel.c \ - tunernorm.c - -libgstvideo4linux2_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(X_CFLAGS) \ - $(LIBV4L2_CFLAGS) \ - $(GUDEV_CFLAGS) - -libgstvideo4linux2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstvideo4linux2_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstallocators-$(GST_API_VERSION) \ - -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(LIBV4L2_LIBS) \ - $(GUDEV_LIBS) \ - $(LIBRT) - -noinst_HEADERS = \ - ext/types-compat.h \ - ext/v4l2-common.h \ - ext/v4l2-controls.h \ - ext/videodev2.h \ - gstv4l2allocator.h \ - gstv4l2bufferpool.h \ - gstv4l2colorbalance.h \ - gstv4l2deviceprovider.h \ - gstv4l2object.h \ - gstv4l2sink.h \ - gstv4l2src.h \ - gstv4l2radio.h \ - gstv4l2tuner.h \ - gstv4l2transform.h \ - gstv4l2videodec.h \ - gstv4l2videoenc.h \ - gstv4l2codec.h \ - gstv4l2fwhtenc.h \ - gstv4l2h264codec.h \ - gstv4l2h263enc.h \ - gstv4l2h264enc.h \ - gstv4l2h265codec.h \ - gstv4l2h265enc.h \ - gstv4l2jpegenc.h \ - gstv4l2mpeg4enc.h \ - gstv4l2mpeg4codec.h \ - gstv4l2vidorient.h \ - gstv4l2vp8codec.h \ - gstv4l2vp8enc.h \ - gstv4l2vp9codec.h \ - gstv4l2vp9enc.h \ - v4l2-utils.h \ - tuner.h \ - tunerchannel.h \ - tunernorm.h - diff --git a/sys/waveform/Makefile.am b/sys/waveform/Makefile.am deleted file mode 100644 index 7ab161ceca..0000000000 --- a/sys/waveform/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -plugin_LTLIBRARIES = libgstwaveform.la - -libgstwaveform_la_SOURCES = gstwaveformsink.c gstwaveformplugin.c -libgstwaveform_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) -libgstwaveform_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) \ - -lgstaudio-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - -lwinmm -libgstwaveform_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstwaveformsink.h - diff --git a/sys/ximage/Makefile.am b/sys/ximage/Makefile.am deleted file mode 100644 index 646b35e14c..0000000000 --- a/sys/ximage/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -plugin_LTLIBRARIES = libgstximagesrc.la - -libgstximagesrc_la_SOURCES = gstximagesrc.c ximageutil.c -libgstximagesrc_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(X_CFLAGS) $(XFIXES_CFLAGS) $(XDAMAGE_CFLAGS) -libgstximagesrc_la_LIBADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) \ - $(X_LIBS) $(XSHM_LIBS) $(XFIXES_LIBS) $(XDAMAGE_LIBS) -libgstximagesrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstximagesrc.h ximageutil.h diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index 5f10e8f317..0000000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -if HAVE_GST_CHECK -SUBDIRS_CHECK = check files -else -SUBDIRS_CHECK = -endif - -if USE_X -SUBDIRS_ICLES = icles -else -SUBDIRS_ICLES = -endif - -if BUILD_EXAMPLES -SUBDIR_EXAMPLES = examples -else -SUBDIR_EXAMPLES = -endif - -SUBDIRS = $(SUBDIRS_CHECK) $(SUBDIRS_ICLES) $(SUBDIR_EXAMPLES) - -DIST_SUBDIRS = check icles examples files - diff --git a/tests/check/.gitignore b/tests/check/.gitignore deleted file mode 100644 index 789588b65e..0000000000 --- a/tests/check/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -test-registry.* -orc diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am deleted file mode 100644 index 37b3929995..0000000000 --- a/tests/check/Makefile.am +++ /dev/null @@ -1,692 +0,0 @@ -include $(top_srcdir)/common/check.mak - -CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg -TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files - -REGISTRY_ENVIRONMENT = \ - GST_REGISTRY_1_0=$(CHECK_REGISTRY) - -AM_TESTS_ENVIRONMENT += \ - $(REGISTRY_ENVIRONMENT) \ - GST_PLUGIN_SYSTEM_PATH_1_0= \ - GST_PLUGIN_PATH_1_0=$(top_builddir)/gst:$(top_builddir)/ext:$(top_builddir)/sys:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \ - GST_PLUGIN_LOADING_WHITELIST="gstreamer@$(GST_PLUGINS_DIR):gst-plugins-base@$(GSTPB_PLUGINS_DIR):gst-plugins-good@$(top_builddir)" \ - GST_STATE_IGNORE_ELEMENTS="aasink autoaudiosrc autoaudiosink autovideosrc autovideosink \ - cacasink cairotextoverlay gtkglsink gtksink \ - halaudiosrc halaudiosink jackaudiosrc jackaudiosink \ - osssrc osssink osxaudiosink osxaudiosrc osxvideosrc osxvideosink \ - pulsesink pulsesrc pulsemixer v4l2src" \ - GSETTINGS_BACKEND="memory" - -# fake device drivers: we could run hardware element tests against dummy drivers -# v4l2: vivo (part of normal kernel) -# modprobe vivo; -# gst-launch v4l2src device="/dev/video1" ! xvimagesink; -# rmmod vivo -# -# alsa: snd-dummy (part of normal alsa, not removable) -# modprobe snd-dummy; -# gst-launch alsasrc device="hw:2" ! fakesink -# gst-launch fakesrc ! alsasink device="hw:2" -# -# need a way to figure out value for the device property - -# the core dumps of some machines have PIDs appended -CLEANFILES = core.* test-registry.* - -clean-local: clean-local-check -distclean-local: distclean-local-orc - -if USE_PLUGIN_ALPHA -check_alpha = \ - elements/alphacolor \ - elements/alpha -else -check_alpha = -endif - -if USE_PLUGIN_AUDIOFX -check_audiofx = \ - elements/audioamplify \ - elements/audiochebband \ - elements/audiocheblimit \ - elements/audiodynamic \ - elements/audioecho \ - elements/audiofirfilter \ - elements/audioiirfilter \ - elements/audioinvert \ - elements/audiopanorama \ - elements/audiowsincband \ - elements/audiowsinclimit -else -check_audiofx = -endif - -if USE_PLUGIN_AUDIOPARSERS -check_audioparsers = \ - elements/aacparse \ - elements/ac3parse \ - elements/amrparse \ - elements/flacparse \ - elements/mpegaudioparse \ - elements/wavpackparse -else -check_audioparsers = -endif - -if USE_PLUGIN_AUTODETECT -check_autodetect = elements/autodetect -else -check_autodetect = -endif - -if USE_PLUGIN_AVI -check_avi = \ - elements/avimux \ - elements/avisubtitle -else -check_avi = -endif - -if USE_PLUGIN_DEBUGUTILS -check_debugutils = elements/capssetter -else -check_debugutils = -endif - -if USE_PLUGIN_DEINTERLACE -check_deinterlace = elements/deinterlace -else -check_deinterlace = -endif - -if USE_PLUGIN_DTMF -check_dtmf = elements/dtmf -else -check_dtmf = -endif - -if USE_PLUGIN_EFFECTV -check_effectv = pipelines/effectv -else -check_effectv = -endif - -if USE_PLUGIN_EQUALIZER -check_equalizer = elements/equalizer -else -check_equalizer = -endif - -if USE_FLAC -check_flac = pipelines/flacdec -else -check_flac = -endif - -if USE_PLUGIN_FLV -check_flv = \ - elements/flvdemux \ - elements/flvmux -else -check_flv = -endif - -if USE_PLUGIN_ISOMP4 -check_isomp4 = \ - elements/qtmux \ - elements/qtdemux -else -check_isomp4 = -endif - -if USE_PLUGIN_LAW -check_law = \ - elements/mulawdec \ - elements/mulawenc -else -check_law = -endif - -if USE_GDK_PIXBUF -check_gdkpixbuf = elements/gdkpixbufsink elements/gdkpixbufoverlay -else -check_gdkpixbuf = -endif - -if USE_PLUGIN_ICYDEMUX -check_icydemux = elements/icydemux -else -check_icydemux = -endif - -if USE_PLUGIN_ID3DEMUX -check_id3demux = elements/id3demux -else -check_id3demux = -endif - -if USE_PLUGIN_IMAGEFREEZE -check_imagefreeze = elements/imagefreeze -else -check_imagefreeze = -endif - -if USE_PLUGIN_INTERLEAVE -check_interleave = \ - elements/deinterleave \ - elements/interleave -else -check_interleave = -endif - -if USE_JPEG -check_jpeg = \ - elements/jpegdec \ - elements/jpegenc -else -check_jpeg = -endif - -if USE_LAME -check_lame = pipelines/lame -else -check_lame = -endif - -if USE_PLUGIN_LEVEL -check_level = elements/level -else -check_level = -endif - -if USE_PLUGIN_MATROSKA -check_matroska = \ - elements/matroskademux \ - elements/matroskamux \ - elements/matroskaparse -else -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_multifile = -endif - -if USE_PLUGIN_REPLAYGAIN -check_replaygain = \ - elements/rganalysis \ - elements/rglimiter \ - elements/rgvolume -else -check_replaygain = -endif - -if USE_PLUGIN_RTP -check_rtp = \ - elements/rtp-payloading \ - elements/rtph261 \ - elements/rtph263 \ - elements/rtph264 \ - elements/rtph265 \ - elements/rtpvp9 -else -check_rtp = -endif - -if USE_PLUGIN_RTPMANAGER -check_rtpmanager = \ - elements/rtpbin \ - elements/rtpbin_buffer_list \ - elements/rtpcollision \ - elements/rtpjitterbuffer \ - elements/rtpmux \ - elements/rtprtx \ - elements/rtpsession \ - elements/rtpstorage \ - elements/rtpred \ - elements/rtpulpfec \ - elements/rtpfunnel \ - elements/rtpssrcdemux -else -check_rtpmanager = -endif - -if USE_SOUP -check_soup = elements/souphttpsrc -else -check_soup = -endif - -if USE_PLUGIN_SPECTRUM -check_spectrum = elements/spectrum -else -check_spectrum = -endif - -if USE_PLUGIN_SHAPEWIPE -check_shapewipe = elements/shapewipe -else -check_shapewipe = -endif - -if USE_TAGLIB -check_taglib = \ - elements/id3v2mux \ - elements/apev2mux -else -check_taglib = -endif - -if USE_TWOLAME -check_twolame = pipelines/twolame -else -check_twolame = -endif - -if USE_PLUGIN_UDP -check_udp = \ - elements/udpsink \ - elements/udpsrc -else -check_udp = -endif - -if USE_PLUGIN_VIDEOBOX -check_videobox = elements/videobox -else -check_videobox = -endif - -if USE_PLUGIN_VIDEOCROP -check_videocrop = \ - elements/aspectratiocrop \ - elements/videocrop -else -check_videocrop = -endif - -if USE_PLUGIN_VIDEOFILTER -check_videofilter = elements/videofilter -else -check_videofilter = -endif - -if USE_PLUGIN_VIDEOMIXER -check_videomixer = elements/videomixer -else -check_videomixer = -endif - -if USE_VPX -check_vpx=elements/vp8enc elements/vp8dec elements/vp9enc -else -check_vpx= -endif - -if USE_PLUGIN_WAVENC -check_wavenc = pipelines/wavenc -else -check_wavenc = -endif - -if USE_WAVPACK -check_wavpack = \ - elements/wavpackdec \ - elements/wavpackenc \ - pipelines/wavpack -else -check_wavpack = -endif - -if USE_PLUGIN_WAVPARSE -check_wavparse = elements/wavparse -else -check_wavparse = -endif - -if USE_PLUGIN_Y4M -check_y4m = elements/y4menc -else -check_y4m = -endif - -if HAVE_ORC -check_orc = orc/deinterlace orc/videomixer orc/videobox -else -check_orc = -endif - - -check_PROGRAMS = \ - generic/states \ - pipelines/simple-launch-lines \ - pipelines/tagschecking \ - $(check_alpha) \ - $(check_audiofx) \ - $(check_audioparsers) \ - $(check_autodetect) \ - $(check_avi) \ - $(check_debugutils) \ - $(check_deinterlace) \ - $(check_dtmf) \ - $(check_effectv) \ - $(check_equalizer) \ - $(check_flac) \ - $(check_flv) \ - $(check_gdkpixbuf) \ - $(check_isomp4) \ - $(check_icydemux) \ - $(check_id3demux) \ - $(check_imagefreeze) \ - $(check_interleave) \ - $(check_jpeg) \ - $(check_lame) \ - $(check_law) \ - $(check_level) \ - $(check_matroska) \ - $(check_mpg123) \ - $(check_multifile) \ - $(check_replaygain) \ - $(check_rtp) \ - $(check_rtpmanager) \ - $(check_shapewipe) \ - $(check_soup) \ - $(check_spectrum) \ - $(check_taglib) \ - $(check_twolame) \ - $(check_udp) \ - $(check_videobox) \ - $(check_videocrop) \ - $(check_videofilter) \ - $(check_videomixer) \ - $(check_vpx) \ - $(check_wavenc) \ - $(check_wavpack) \ - $(check_wavparse) \ - $(check_y4m) \ - $(check_orc) - -VALGRIND_TO_FIX = \ - elements/rtp-payloading - -TESTS = $(check_PROGRAMS) - -AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \ - $(GST_OPTION_CFLAGS) $(GST_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \ - -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \ - -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS) -LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS) - -# valgrind testing -# videocrop disabled since it takes way too long in valgrind -VALGRIND_TESTS_DISABLE = \ - elements/videocrop \ - $(VALGRIND_TO_FIX) - -SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-good.supp - -# parser unit test convenience lib -noinst_LTLIBRARIES = libparser.la -libparser_la_SOURCES = elements/parser.c elements/parser.h -libparser_la_CFLAGS = \ - -I$(top_srcdir)/tests/check \ - $(AM_CFLAGS) -DGST_USE_UNSTABLE_API - -elements_aacparse_LDADD = libparser.la $(LDADD) - -elements_ac3parse_LDADD = libparser.la $(LDADD) - -elements_amrparse_LDADD = libparser.la $(LDADD) - -elements_flacparse_LDADD = libparser.la $(LDADD) - -elements_flvdemux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_flvdemux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgsttag-$(GST_API_VERSION) $(LDADD) - -elements_mpegaudioparse_LDADD = libparser.la $(LDADD) - -elements_aspectratiocrop_LDADD = $(LDADD) -elements_aspectratiocrop_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) - -elements_audioamplify_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_audioamplify_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -elements_audiochebband_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_audiochebband_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM) - -elements_audiocheblimit_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_audiocheblimit_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM) - -elements_audiodynamic_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_audiodynamic_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -elements_audioecho_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_audioecho_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -elements_audioinvert_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_audioinvert_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -elements_audiopanorama_LDADD = \ - $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(GST_BASE_LIBS) \ - $(GST_CONTROLLER_LIBS) $(LDADD) - -elements_audiopanorama_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) \ - $(CFLAGS) $(AM_CFLAGS) - -elements_audiowsincband_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_audiowsincband_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM) - -elements_audiowsinclimit_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_audiowsinclimit_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM) - -elements_autodetect_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_autodetect_LDADD = $(GST_BASE_LIBS) $(LDADD) - -elements_equalizer_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_equalizer_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM) - -elements_rganalysis_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rganalysis_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) -elements_rglimiter_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rglimiter_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) -elements_rgvolume_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rgvolume_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) $(LIBM) - -elements_rtp_payloading_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rtp_payloading_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_spectrum_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_spectrum_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -elements_alphacolor_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_alpha_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) - -elements_deinterlace_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_deinterlace_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(LDADD) - -elements_dtmf_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS) -elements_dtmf_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -elements_deinterleave_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_deinterleave_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) -elements_interleave_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_interleave_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -elements_level_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_level_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -elements_imagefreeze_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_imagefreeze_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_jpegdec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GIO_CFLAGS) $(AM_CFLAGS) -elements_jpegdec_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) -lgstpbutils-$(GST_API_VERSION) $(GST_BASE_LIBS) $(GIO_LIBS) $(LDADD) - -elements_jpegenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_jpegenc_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -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) - -elements_multifile_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS) -elements_multifile_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_LIBS) $(LDADD) $(LIBM) - -elements_splitmux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_splitmux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) $(GST_LIBS) $(LDADD) $(LIBM) - -elements_qtmux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS) -elements_qtmux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstpbutils-@GST_API_VERSION@ \ - $(GST_BASE_LIBS) $(GST_LIBS) $(GST_CHECK_LIBS) - -elements_rtpbin_buffer_list_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ - $(WARNING_CFLAGS) $(ERROR_CFLAGS) $(GST_CHECK_CFLAGS) $(AM_CFLAGS) -elements_rtpbin_buffer_list_LDADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstrtp-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(GST_CHECK_LIBS) $(LDADD) -elements_rtpbin_buffer_list_SOURCES = elements/rtpbin_buffer_list.c - -elements_rtpbin_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \ - $(WARNING_CFLAGS) $(ERROR_CFLAGS) $(GST_CHECK_CFLAGS) $(AM_CFLAGS) -elements_rtpbin_LDADD = $(GST_PLUGINS_BASE_LIBS) \ - -lgstrtp-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(GST_CHECK_LIBS) $(LDADD) - -elements_rtph261_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_rtph261_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_rtph263_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_rtph263_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_rtph264_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_rtph264_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_rtph265_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_rtph265_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_rtpmux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_rtpmux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_souphttpsrc_CFLAGS = $(SOUP_CFLAGS) $(AM_CFLAGS) -elements_souphttpsrc_LDADD = $(SOUP_LIBS) $(LDADD) - -elements_udpsink_CFLAGS = $(AM_CFLAGS) $(GIO_CFLAGS) -elements_udpsink_LDADD = $(LDADD) $(GIO_LIBS) - -elements_udpsrc_CFLAGS = $(AM_CFLAGS) $(GIO_CFLAGS) -elements_udpsrc_LDADD = $(LDADD) $(GIO_LIBS) - -elements_videocrop_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(LDADD) -elements_videocrop_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) - -elements_videofilter_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_videofilter_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(LDADD) - -elements_rtpjitterbuffer_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GIO_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rtpjitterbuffer_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_NET_LIBS) $(GIO_LIBS) $(LDADD) -elements_rtpjitterbuffer_SOURCES = \ - elements/rtpjitterbuffer.c \ - ../../gst/rtpmanager/gstrtpjitterbuffer.c \ - ../../gst/rtpmanager/rtpjitterbuffer.c \ - ../../gst/rtpmanager/rtpstats.c \ - ../../gst/rtpmanager/rtptimerqueue.c - -elements_rtprtx_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rtprtx_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(LDADD) - -elements_rtpsession_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rtpsession_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) -lgstvideo-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD) - -elements_rtpssrcdemux_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_rtpssrcdemux_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_rtpfunnel_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) -elements_rtpfunnel_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-$(GST_API_VERSION) $(GST_BASE_LIBS) $(LDADD) - -elements_rtpcollision_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rtpcollision_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD) - -elements_rtpstorage_SOURCES = \ - elements/rtpstorage.c \ - ../../gst/rtp/gstrtpstorage.c \ - ../../gst/rtp/rtpstorage.c \ - ../../gst/rtp/rtpstoragestream.c - -elements_rtpstorage_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rtpstorage_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD) - -elements_rtpred_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rtpred_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD) - -elements_rtpulpfec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_rtpulpfec_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_NET_LIBS) -lgstrtp-$(GST_API_VERSION) $(GIO_LIBS) $(LDADD) - -# FIXME: configure should check for gdk-pixbuf not gtk -# only need video.h header, not the lib -elements_gdkpixbufsink_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) $(GDK_PIXBUF_CFLAGS) -elements_gdkpixbufsink_LDADD = \ - $(LDADD) $(GDK_PIXBUF_LIBS) - -elements_videomixer_LDADD = $(LDADD) $(GST_BASE_LIBS) -elements_videomixer_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) - -pipelines_flacdec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -pipelines_flacdec_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -elements_vp9enc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -elements_vp9enc_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(LDADD) - -pipelines_wavenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) -pipelines_wavenc_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) $(LDADD) - -pipelines_wavpack_LDADD = $(LDADD) $(GST_BASE_LIBS) -pipelines_wavpack_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) - -orc_deinterlace_CFLAGS = $(ORC_CFLAGS) -orc_deinterlace_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_deinterlace_SOURCES = orc/deinterlace.c -orc_videomixer_CFLAGS = $(ORC_CFLAGS) -orc_videomixer_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_videomixer_SOURCES = orc/videomixer.c -orc_videobox_CFLAGS = $(ORC_CFLAGS) -orc_videobox_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_videobox_SOURCES = orc/videobox.c - -orc/deinterlace.c: $(top_srcdir)/gst/deinterlace/tvtime.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - -orc/videomixer.c: $(top_srcdir)/gst/videomixer/videomixerorc.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - -orc/videobox.c: $(top_srcdir)/gst/videobox/gstvideoboxorc.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - -distclean-local-orc: - rm -rf orc - -EXTRA_DIST = \ - gst-plugins-good.supp \ - elements/packets.h \ - elements/qtdemux.h diff --git a/tests/check/elements/.gitignore b/tests/check/elements/.gitignore deleted file mode 100644 index 3d32d2219d..0000000000 --- a/tests/check/elements/.gitignore +++ /dev/null @@ -1,91 +0,0 @@ -.dirstamp -aacparse -ac3parse -alpha -alphacolor -amrparse -apev2mux -aspectratiocrop -audioamplify -audiochebband -audiocheblimit -audioecho -audiowsincband -audiowsinclimit -audiodynamic -audiofirfilter -audioinvert -audioiirfilter -audiopanorama -autodetect -avimux -avisubtitle -capssetter -deinterlace -deinterleave -dtmf -equalizer -gdkpixbufoverlay -gdkpixbufsink -flacparse -flvdemux -flvmux -icydemux -id3demux -id3v2mux -imagefreeze -interleave -jpegdec -jpegenc -level -matroskademux -matroskamux -matroskaparse -mpegaudioparse -mpg123audiodec -mulawdec -mulawenc -multifile -qtdemux -qtmux -rganalysis -rglimiter -rgvolume -rtp-payloading -rtpaux -rtpbin -rtpbin_buffer_list -rtpbundle -rtpcollision -rtpfunnel -rtph261 -rtph263 -rtph264 -rtph265 -rtpjitterbuffer -rtpred -rtpsession -rtpssrcdemux -rtpstorage -rtpmux -rtprtx -rtpulpfec -rtpvp9 -shapewipe -souphttpsrc -spectrum -splitmux -udpsink -udpsrc -videocrop -videobox -videofilter -videomixer -vp8dec -vp8enc -vp9enc -wavpackdec -wavparse -wavpackenc -wavpackparse -y4menc diff --git a/tests/check/generic/.gitignore b/tests/check/generic/.gitignore deleted file mode 100644 index 8d9bd1f6a7..0000000000 --- a/tests/check/generic/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.dirstamp -index -states diff --git a/tests/check/pipelines/.gitignore b/tests/check/pipelines/.gitignore deleted file mode 100644 index 2770edaf5c..0000000000 --- a/tests/check/pipelines/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -.dirstamp -effectv -flacdec -lame -twolame -simple-launch-lines -tagschecking -wavenc -wavpack -*.check.xml diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am deleted file mode 100644 index 0ad6d07501..0000000000 --- a/tests/examples/Makefile.am +++ /dev/null @@ -1,40 +0,0 @@ -if USE_GTK3 -GTK_DIR=gtk -else -GTK_DIR= -endif - -if USE_JACK -JACK_DIR=jack -else -JACK_DIR= -endif - -if USE_CAIRO -CAIRO_DIR=cairo -else -CAIRO_DIR= -endif - -EXTRA_DIST = \ - qt/qmlsrc/main.qml \ - qt/qmlsrc/qmlsrc.qrc \ - qt/qmlsrc/meson.build \ - qt/qmlsrc/grabqml.pro \ - qt/qmlsrc/main.cpp \ - qt/meson.build \ - qt/qmlsink/main.qml \ - qt/qmlsink/qmlsink.qrc \ - qt/qmlsink/CMakeLists.txt \ - qt/qmlsink/play.pro \ - qt/qmlsink/meson.build \ - qt/qmlsink/main.cpp - - -SUBDIRS = audiofx equalizer $(GTK_DIR) $(JACK_DIR) level \ - rtp rtsp shapewipe spectrum v4l2 $(CAIRO_DIR) - -DIST_SUBDIRS = audiofx equalizer gtk jack level \ - rtp rtsp shapewipe spectrum v4l2 cairo - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/tests/examples/audiofx/.gitignore b/tests/examples/audiofx/.gitignore deleted file mode 100644 index d0d56dc64c..0000000000 --- a/tests/examples/audiofx/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -firfilter-example -iirfilter-example diff --git a/tests/examples/audiofx/Makefile.am b/tests/examples/audiofx/Makefile.am deleted file mode 100644 index e3c42c9e63..0000000000 --- a/tests/examples/audiofx/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -noinst_PROGRAMS = firfilter-example iirfilter-example - -# FIXME 0.11: ignore GValueArray warnings for now until this is sorted -ERROR_CFLAGS= - -firfilter_example_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) -firfilter_example_LDADD = $(GST_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstfft-@GST_API_VERSION@ $(LIBM) - -iirfilter_example_CFLAGS = $(GST_CFLAGS) -iirfilter_example_LDADD = $(GST_LIBS) $(LIBM) diff --git a/tests/examples/cairo/.gitignore b/tests/examples/cairo/.gitignore deleted file mode 100644 index 690585cd20..0000000000 --- a/tests/examples/cairo/.gitignore +++ /dev/null @@ -1 +0,0 @@ -cairo_overlay diff --git a/tests/examples/cairo/Makefile.am b/tests/examples/cairo/Makefile.am deleted file mode 100644 index 2e833cc30e..0000000000 --- a/tests/examples/cairo/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -noinst_PROGRAMS = cairo_overlay - -cairo_overlay_SOURCES = cairo_overlay.c -cairo_overlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(CAIRO_CFLAGS) -cairo_overlay_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_LIBS) $(CAIRO_LIBS) diff --git a/tests/examples/equalizer/.gitignore b/tests/examples/equalizer/.gitignore deleted file mode 100644 index 1549b67ca5..0000000000 --- a/tests/examples/equalizer/.gitignore +++ /dev/null @@ -1 +0,0 @@ -demo diff --git a/tests/examples/equalizer/Makefile.am b/tests/examples/equalizer/Makefile.am deleted file mode 100644 index 07f2b253f3..0000000000 --- a/tests/examples/equalizer/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -if HAVE_GTK -noinst_PROGRAMS = demo -endif - -demo_SOURCES = demo.c -demo_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS) -demo_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GTK_LIBS) - diff --git a/tests/examples/gtk/.gitignore b/tests/examples/gtk/.gitignore deleted file mode 100644 index 4c84a1f572..0000000000 --- a/tests/examples/gtk/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -glliveshader -gtkglsink -gtksink diff --git a/tests/examples/gtk/Makefile.am b/tests/examples/gtk/Makefile.am deleted file mode 100644 index 9aed737421..0000000000 --- a/tests/examples/gtk/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ - -noinst_PROGRAMS = gtksink - -gtksink_SOURCES = gtksink.c -gtksink_CFLAGS = $(GTK3_CFLAGS) \ - $(GST_CFLAGS) -gtksink_LDADD = $(GTK3_LIBS) \ - $(GST_LIBS) - -if USE_GTK3_GL -noinst_PROGRAMS += gtkglsink glliveshader - -gtkglsink_SOURCES = gtkglsink.c -gtkglsink_CFLAGS = \ - $(GST_PLUGINS_BAD_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_GL_CFLAGS) \ - $(GST_CFLAGS) \ - $(GL_CFLAGS) \ - $(GTK3_CFLAGS) -gtkglsink_LDADD = \ - $(GST_GL_LIBS) \ - $(GST_LIBS) \ - $(GTK3_LIBS) \ - $(X_LIBS) - -glliveshader_SOURCES = glliveshader.c -glliveshader_CFLAGS = \ - $(GST_PLUGINS_BAD_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_GL_CFLAGS) \ - $(GST_CFLAGS) \ - $(GTK3_CFLAGS) -glliveshader_LDADD = \ - $(GST_GL_LIBS) \ - $(GST_LIBS) \ - $(GTK3_LIBS) \ - $(X_LIBS) -endif diff --git a/tests/examples/jack/Makefile.am b/tests/examples/jack/Makefile.am deleted file mode 100644 index ad61cbd876..0000000000 --- a/tests/examples/jack/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -if HAVE_GTK -GTK_EXAMPLES=jack_client -else -GTK_EXAMPLES= -endif - -noinst_PROGRAMS = $(GTK_EXAMPLES) - -jack_client_SOURCES = jack_client.c -jack_client_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) $(JACK_CFLAGS) -jack_client_LDFLAGS = $(GST_LIBS) $(GTK_LIBS) $(JACK_LIBS) - diff --git a/tests/examples/level/.gitignore b/tests/examples/level/.gitignore deleted file mode 100644 index 11efff7d3f..0000000000 --- a/tests/examples/level/.gitignore +++ /dev/null @@ -1 +0,0 @@ -level-example diff --git a/tests/examples/level/Makefile.am b/tests/examples/level/Makefile.am deleted file mode 100644 index 67ca7199e1..0000000000 --- a/tests/examples/level/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -noinst_PROGRAMS = level-example -level_example_CFLAGS = $(GST_CFLAGS) -level_example_LDADD = $(GST_LIBS) $(LIBM) - diff --git a/tests/examples/qt/qmlsink/.gitignore b/tests/examples/qt/qmlsink/.gitignore deleted file mode 100644 index 1f81518587..0000000000 --- a/tests/examples/qt/qmlsink/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -deployment.pri -play -qrc_qml.cpp diff --git a/tests/examples/qt/qmlsrc/.gitignore b/tests/examples/qt/qmlsrc/.gitignore deleted file mode 100644 index d2246aeb26..0000000000 --- a/tests/examples/qt/qmlsrc/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -grabqml -qrc_qml.cpp diff --git a/tests/examples/rtp/.gitignore b/tests/examples/rtp/.gitignore deleted file mode 100644 index 533b6d0a35..0000000000 --- a/tests/examples/rtp/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -client-PCMA -server-alsasrc-PCMA -client-rtpaux -client-rtpbundle -server-rtpaux -server-rtpbundle diff --git a/tests/examples/rtp/Makefile.am b/tests/examples/rtp/Makefile.am deleted file mode 100644 index 40ab2c55e6..0000000000 --- a/tests/examples/rtp/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -noinst_PROGRAMS = server-alsasrc-PCMA client-PCMA \ - client-rtpaux server-rtpaux - -# FIXME 0.11: ignore GValueArray warnings for now until this is sorted -ERROR_CFLAGS= - -server_rtpaux_SOURCES = server-rtpaux.c -server_rtpaux_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) -server_rtpaux_LDADD = $(GST_LIBS) - -client_rtpaux_SOURCES = client-rtpaux.c -client_rtpaux_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) -client_rtpaux_LDADD = $(GST_LIBS) - -server_alsasrc_PCMA_SOURCES = server-alsasrc-PCMA.c -server_alsasrc_PCMA_CFLAGS = $(GST_CFLAGS) -server_alsasrc_PCMA_LDADD = $(GST_LIBS) $(LIBM) - -client_PCMA_SOURCES = client-PCMA.c -client_PCMA_CFLAGS = $(GST_CFLAGS) -client_PCMA_LDADD = $(GST_LIBS) $(LIBM) - -noinst_SCRIPTS=client-H263p-AMR.sh \ - client-H263p-PCMA.sh \ - client-H264-PCMA.sh \ - client-VP8-OPUS.sh \ - client-PCMA.sh \ - server-alsasrc-PCMA.sh \ - server-v4l2-H263p-alsasrc-AMR.sh \ - server-v4l2-H264-alsasrc-PCMA.sh \ - server-VTS-H263p-ATS-PCMA.sh \ - server-VTS-VP8-ATS-OPUS.sh - -EXTRA_DIST= $(noinst_SCRIPTS) \ - client-H263p-PCMA.sdp \ - client-H264-PCMA.sdp diff --git a/tests/examples/rtsp/Makefile.am b/tests/examples/rtsp/Makefile.am deleted file mode 100644 index 126ce8cdd1..0000000000 --- a/tests/examples/rtsp/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -noinst_PROGRAMS = test-onvif -test_onvif_CFLAGS = $(GST_CFLAGS) -test_onvif_LDADD = $(GST_LIBS) diff --git a/tests/examples/shapewipe/.gitignore b/tests/examples/shapewipe/.gitignore deleted file mode 100644 index 746bc48c72..0000000000 --- a/tests/examples/shapewipe/.gitignore +++ /dev/null @@ -1 +0,0 @@ -shapewipe-example diff --git a/tests/examples/shapewipe/Makefile.am b/tests/examples/shapewipe/Makefile.am deleted file mode 100644 index e0e9217dc4..0000000000 --- a/tests/examples/shapewipe/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -noinst_PROGRAMS = shapewipe-example - -shapewipe_example_SOURCES = shapewipe-example.c -shapewipe_example_CFLAGS = $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) -shapewipe_example_LDADD = $(GST_CONTROLLER_LIBS) $(GST_LIBS) - -noinst_HEADERS = - diff --git a/tests/examples/spectrum/.gitignore b/tests/examples/spectrum/.gitignore deleted file mode 100644 index 8e5a3cf900..0000000000 --- a/tests/examples/spectrum/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -demo-audiotest -demo-osssrc -spectrum-example diff --git a/tests/examples/spectrum/Makefile.am b/tests/examples/spectrum/Makefile.am deleted file mode 100644 index 9ced5ea02d..0000000000 --- a/tests/examples/spectrum/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -if HAVE_GTK -noinst_PROGRAMS = demo-osssrc demo-audiotest spectrum-example -endif - -demo_osssrc_SOURCES = demo-osssrc.c -demo_osssrc_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS) -demo_osssrc_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GTK_LIBS) - -demo_audiotest_SOURCES = demo-audiotest.c -demo_audiotest_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS) -demo_audiotest_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstfft-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) $(GTK_LIBS) - -spectrum_example_SOURCES = spectrum-example.c -spectrum_example_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS) -spectrum_example_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GTK_LIBS) - diff --git a/tests/examples/v4l2/.gitignore b/tests/examples/v4l2/.gitignore deleted file mode 100644 index 094dbfeb8a..0000000000 --- a/tests/examples/v4l2/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -camctrl -probe -v4l2src-renegotiate diff --git a/tests/examples/v4l2/Makefile.am b/tests/examples/v4l2/Makefile.am deleted file mode 100644 index 1fb4165d0f..0000000000 --- a/tests/examples/v4l2/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -noinst_PROGRAMS = camctrl v4l2src-renegotiate - -camctrl_SOURCES = camctrl.c -camctrl_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) -camctrl_LDADD = $(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) $(GST_LIBS) - -v4l2src_renegotiate_SOURCES = v4l2src-renegotiate.c -v4l2src_renegotiate_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) -v4l2src_renegotiate_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) diff --git a/tests/files/Makefile.am b/tests/files/Makefile.am deleted file mode 100644 index fba664c12d..0000000000 --- a/tests/files/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ - -EXTRA_DIST = \ - audiotestsrc.flac \ - audiotestsrc.wav \ - gradient.j2k \ - h264.rtp \ - h265.rtp \ - id3-407349-1.tag \ - id3-407349-2.tag \ - id3-447000-wcop.tag \ - id3-577468-unsynced-tag.tag \ - id3-588148-unsynced-v24.tag \ - image.jpg \ - pcm16sine.flv \ - pinknoise-vorbis.mkv \ - stream.mp2 \ - cbr_stream.mp3 \ - vbr_stream.mp3 \ - test-cert.pem \ - test-key.pem \ - splitvideo00.ogg splitvideo01.ogg \ - splitvideo02.ogg diff --git a/tests/icles/.gitignore b/tests/icles/.gitignore deleted file mode 100644 index 9c975a3a6b..0000000000 --- a/tests/icles/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -equalizer-test -gdkpixbufsink-test -test-accurate-seek -gdkpixbufoverlay-test -test-segment-seeks -test-oss4 -ximagesrc-test -v4l2src-test -videobox-test -videocrop-test -videocrop2-test - diff --git a/tests/icles/Makefile.am b/tests/icles/Makefile.am deleted file mode 100644 index bec46faa07..0000000000 --- a/tests/icles/Makefile.am +++ /dev/null @@ -1,70 +0,0 @@ -if HAVE_GTK -GTK_TESTS = gdkpixbufsink-test gdkpixbufoverlay-test - -gdkpixbufsink_test_SOURCES = gdkpixbufsink-test.c -gdkpixbufsink_test_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) -gdkpixbufsink_test_LDADD = $(GST_LIBS) $(GTK_LIBS) - -gdkpixbufoverlay_test_SOURCES = gdkpixbufoverlay-test.c -gdkpixbufoverlay_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) $(GIO_CFLAGS) -gdkpixbufoverlay_test_LDADD = $(GST_LIBS) $(GDK_PIXBUF_LIBS) $(GIO_LIBS) \ - $(LIBM) -else -GTK_TESTS = -endif - -if USE_OSS4 -OSS4_TESTS=test-oss4 - -test_oss4_SOURCES = test-oss4.c -test_oss4_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -test_oss4_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) -test_oss4_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -else -OSS4_TESTS= -endif - -if USE_X -X_TESTS = ximagesrc-test - -ximagesrc_test_SOURCES = ximagesrc-test.c -ximagesrc_test_CFLAGS = $(GST_CFLAGS) -ximagesrc_test_LDADD = $(GST_LIBS) -else -X_TESTS = -endif - -equalizer_test_SOURCES = equalizer-test.c -equalizer_test_CFLAGS = $(GST_CFLAGS) -equalizer_test_LDADD = $(GST_LIBS) - -test_accurate_seek_SOURCES = test-accurate-seek.c -test_accurate_seek_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) -test_accurate_seek_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) \ - $(GST_BASE_LIBS) $(GST_LIBS) - -test_segment_seeks_SOURCES = test-segment-seeks.c -test_segment_seeks_CFLAGS = $(GST_CFLAGS) -test_segment_seeks_LDADD = $(GST_LIBS) - -videocrop_test_SOURCES = videocrop-test.c -videocrop_test_CFLAGS = $(GST_CFLAGS) -videocrop_test_LDADD = $(GST_LIBS) - -videobox_test_SOURCES = videobox-test.c -videobox_test_CFLAGS = $(GST_CFLAGS) -videobox_test_LDADD = $(GST_LIBS) - -videocrop2_test_SOURCES = videocrop2-test.c -videocrop2_test_CFLAGS = $(GST_CFLAGS) -videocrop2_test_LDADD = $(GST_LIBS) - -noinst_PROGRAMS = $(GTK_TESTS) $(OSS4_TESTS) $(X_TESTS) \ - equalizer-test \ - test-accurate-seek \ - test-segment-seeks \ - videocrop-test \ - videobox-test \ - videocrop2-test