From 289d8e53e2194221c46b06c12675a4d515ea5cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 9 Jun 2019 00:57:47 +0100 Subject: [PATCH] Remove autotools build system --- .gitignore | 64 +- .gitmodules | 3 - Makefile.am | 86 -- README | 103 +- autogen.sh | 124 -- common | 1 - configure.ac | 1046 --------------- docs/.gitignore | 1 - ext/Makefile.am | 85 -- ext/alsa/Makefile.am | 28 - ext/cdparanoia/Makefile.am | 16 - ext/gl/Makefile.am | 165 --- ext/libvisual/Makefile.am | 12 - ext/ogg/Makefile.am | 37 - ext/opus/Makefile.am | 17 - ext/pango/Makefile.am | 29 - ext/theora/Makefile.am | 20 - ext/vorbis/Makefile.am | 45 - gst-libs/Makefile.am | 1 - gst-libs/gst/Makefile.am | 63 - gst-libs/gst/allocators/Makefile.am | 70 - gst-libs/gst/app/Makefile.am | 87 -- gst-libs/gst/audio/.gitignore | 3 - gst-libs/gst/audio/Makefile.am | 218 ---- gst-libs/gst/fft/Makefile.am | 47 - gst-libs/gst/gl/.gitignore | 3 - gst-libs/gst/gl/Makefile.am | 253 ---- gst-libs/gst/gl/android/Makefile.am | 22 - gst-libs/gst/gl/cocoa/Makefile.am | 43 - gst-libs/gst/gl/dispmanx/Makefile.am | 22 - gst-libs/gst/gl/eagl/Makefile.am | 36 - gst-libs/gst/gl/egl/Makefile.am | 35 - gst-libs/gst/gl/gbm/Makefile.am | 32 - gst-libs/gst/gl/glprototypes/Makefile.am | 20 - gst-libs/gst/gl/viv-fb/Makefile.am | 28 - gst-libs/gst/gl/wayland/Makefile.am | 44 - gst-libs/gst/gl/win32/Makefile.am | 27 - gst-libs/gst/gl/x11/Makefile.am | 34 - gst-libs/gst/pbutils/.gitignore | 4 - gst-libs/gst/pbutils/Makefile.am | 139 -- gst-libs/gst/pbutils/install-plugins.c | 8 +- gst-libs/gst/riff/Makefile.am | 83 -- gst-libs/gst/rtp/Makefile.am | 102 -- gst-libs/gst/rtsp/.gitignore | 2 - gst-libs/gst/rtsp/Makefile.am | 112 -- gst-libs/gst/sdp/Makefile.am | 62 - gst-libs/gst/tag/Makefile.am | 129 -- gst-libs/gst/video/.gitignore | 3 - gst-libs/gst/video/Makefile.am | 162 --- gst/Makefile.am | 4 - gst/adder/.gitignore | 7 - gst/adder/Makefile.am | 15 - gst/app/Makefile.am | 6 - gst/audioconvert/.gitignore | 1 - gst/audioconvert/Makefile.am | 15 - gst/audiomixer/Makefile.am | 18 - gst/audiorate/Makefile.am | 9 - gst/audioresample/Makefile.am | 22 - gst/audiotestsrc/Makefile.am | 10 - gst/compositor/.gitignore | 1 - gst/compositor/Makefile.am | 24 - gst/encoding/Makefile.am | 22 - gst/gio/Makefile.am | 28 - gst/overlaycomposition/Makefile.am | 11 - gst/pbtypes/Makefile.am | 10 - gst/playback/.gitignore | 0 gst/playback/Makefile.am | 50 - gst/rawparse/Makefile.am | 29 - gst/subparse/Makefile.am | 28 - gst/tcp/.gitignore | 5 - gst/tcp/Makefile.am | 31 - gst/typefind/Makefile.am | 10 - gst/videoconvert/Makefile.am | 15 - gst/videorate/Makefile.am | 11 - gst/videoscale/.gitignore | 7 - gst/videoscale/Makefile.am | 12 - gst/videotestsrc/.gitignore | 1 - gst/videotestsrc/Makefile.am | 23 - gst/volume/.gitignore | 1 - gst/volume/Makefile.am | 16 - m4/.gitignore | 17 - m4/Makefile.am | 22 - m4/README | 3 - m4/check-libheader.m4 | 39 - m4/gst-alsa.m4 | 150 --- m4/gst-gl.m4 | 1143 ----------------- m4/gst-ivorbis.m4 | 68 - m4/lrint.m4 | 27 - m4/lrintf.m4 | 27 - m4/ogg.m4 | 102 -- m4/vorbis.m4 | 128 -- pkgconfig/.gitignore | 1 - pkgconfig/Makefile.am | 81 -- po/.gitignore | 17 - po/Makevars | 47 - po/{POTFILES.in => POTFILES} | 0 sys/Makefile.am | 21 - sys/ximage/Makefile.am | 12 - sys/xvimage/Makefile.am | 13 - tests/Makefile.am | 28 - tests/check/.gitignore | 1 - tests/check/Makefile.am | 998 -------------- tests/check/elements/.gitignore | 40 - tests/check/generic/.gitignore | 3 - tests/check/gst/.gitignore | 2 - tests/check/libs/.gitignore | 43 - tests/check/pipelines/.gitignore | 12 - tests/examples/Makefile.am | 15 - tests/examples/app/.gitignore | 7 - tests/examples/app/Makefile.am | 37 - tests/examples/audio/.gitignore | 4 - tests/examples/audio/Makefile.am | 17 - tests/examples/compositor/Makefile.am | 5 - tests/examples/decodebin_next/.gitignore | 2 - tests/examples/decodebin_next/Makefile.am | 5 - tests/examples/dynamic/.gitignore | 5 - tests/examples/dynamic/Makefile.am | 21 - tests/examples/encoding/.gitignore | 1 - tests/examples/encoding/Makefile.am | 17 - tests/examples/fft/.gitignore | 2 - tests/examples/fft/Makefile.am | 8 - tests/examples/gio/.gitignore | 1 - tests/examples/gio/Makefile.am | 6 - tests/examples/gl/Makefile.am | 26 - tests/examples/gl/cocoa/.gitignore | 1 - tests/examples/gl/cocoa/Makefile.am | 16 - tests/examples/gl/generic/Makefile.am | 2 - tests/examples/gl/generic/cube/.gitignore | 1 - tests/examples/gl/generic/cube/Makefile.am | 11 - tests/examples/gl/generic/cubeyuv/.gitignore | 1 - tests/examples/gl/generic/cubeyuv/Makefile.am | 10 - .../examples/gl/generic/doublecube/.gitignore | 1 - .../gl/generic/doublecube/Makefile.am | 11 - .../gl/generic/recordgraphic/.gitignore | 1 - .../gl/generic/recordgraphic/Makefile.am | 11 - tests/examples/gl/gtk/3dvideo/.gitignore | 1 - tests/examples/gl/gtk/3dvideo/Makefile.am | 16 - tests/examples/gl/gtk/Makefile.am | 13 - .../gl/gtk/filternovideooverlay/.gitignore | 1 - .../gl/gtk/filternovideooverlay/Makefile.am | 15 - .../gl/gtk/filtervideooverlay/.gitignore | 1 - .../gl/gtk/filtervideooverlay/Makefile.am | 10 - tests/examples/gl/gtk/fxtest/.gitignore | 2 - tests/examples/gl/gtk/fxtest/Makefile.am | 20 - .../gl/gtk/switchvideooverlay/.gitignore | 1 - .../gl/gtk/switchvideooverlay/Makefile.am | 12 - tests/examples/gl/qt/.gitignore | 2 - tests/examples/gl/qt/Makefile.am | 2 - .../gl/qt/qglwtextureshare/.gitignore | 2 - tests/examples/gl/sdl/.gitignore | 2 - tests/examples/gl/sdl/Makefile.am | 34 - tests/examples/overlay/.gitignore | 5 - tests/examples/overlay/Makefile.am | 48 - tests/examples/overlaycomposition/.gitignore | 1 - tests/examples/overlaycomposition/Makefile.am | 5 - tests/examples/playback/Makefile.am | 11 - tests/examples/playrec/.gitignore | 1 - tests/examples/playrec/Makefile.am | 4 - tests/examples/seek/.gitignore | 5 - tests/examples/seek/Makefile.am | 17 - tests/examples/snapshot/.gitignore | 2 - tests/examples/snapshot/Makefile.am | 10 - tests/files/Makefile.am | 8 - tests/icles/.gitignore | 20 - tests/icles/Makefile.am | 129 -- tests/icles/playback/.gitignore | 8 - tests/icles/playback/Makefile.am | 26 - tools/.gitignore | 3 - tools/Makefile.am | 30 - 169 files changed, 56 insertions(+), 7919 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/alsa/Makefile.am delete mode 100644 ext/cdparanoia/Makefile.am delete mode 100644 ext/gl/Makefile.am delete mode 100644 ext/libvisual/Makefile.am delete mode 100644 ext/ogg/Makefile.am delete mode 100644 ext/opus/Makefile.am delete mode 100644 ext/pango/Makefile.am delete mode 100644 ext/theora/Makefile.am delete mode 100644 ext/vorbis/Makefile.am delete mode 100644 gst-libs/Makefile.am delete mode 100644 gst-libs/gst/Makefile.am delete mode 100644 gst-libs/gst/allocators/Makefile.am delete mode 100644 gst-libs/gst/app/Makefile.am delete mode 100644 gst-libs/gst/audio/.gitignore delete mode 100644 gst-libs/gst/audio/Makefile.am delete mode 100644 gst-libs/gst/fft/Makefile.am delete mode 100644 gst-libs/gst/gl/.gitignore delete mode 100644 gst-libs/gst/gl/Makefile.am delete mode 100644 gst-libs/gst/gl/android/Makefile.am delete mode 100644 gst-libs/gst/gl/cocoa/Makefile.am delete mode 100644 gst-libs/gst/gl/dispmanx/Makefile.am delete mode 100644 gst-libs/gst/gl/eagl/Makefile.am delete mode 100644 gst-libs/gst/gl/egl/Makefile.am delete mode 100644 gst-libs/gst/gl/gbm/Makefile.am delete mode 100644 gst-libs/gst/gl/glprototypes/Makefile.am delete mode 100644 gst-libs/gst/gl/viv-fb/Makefile.am delete mode 100644 gst-libs/gst/gl/wayland/Makefile.am delete mode 100644 gst-libs/gst/gl/win32/Makefile.am delete mode 100644 gst-libs/gst/gl/x11/Makefile.am delete mode 100644 gst-libs/gst/pbutils/.gitignore delete mode 100644 gst-libs/gst/pbutils/Makefile.am delete mode 100644 gst-libs/gst/riff/Makefile.am delete mode 100644 gst-libs/gst/rtp/Makefile.am delete mode 100644 gst-libs/gst/rtsp/.gitignore delete mode 100644 gst-libs/gst/rtsp/Makefile.am delete mode 100644 gst-libs/gst/sdp/Makefile.am delete mode 100644 gst-libs/gst/tag/Makefile.am delete mode 100644 gst-libs/gst/video/.gitignore delete mode 100644 gst-libs/gst/video/Makefile.am delete mode 100644 gst/Makefile.am delete mode 100644 gst/adder/.gitignore delete mode 100644 gst/adder/Makefile.am delete mode 100644 gst/app/Makefile.am delete mode 100644 gst/audioconvert/.gitignore delete mode 100644 gst/audioconvert/Makefile.am delete mode 100644 gst/audiomixer/Makefile.am delete mode 100644 gst/audiorate/Makefile.am delete mode 100644 gst/audioresample/Makefile.am delete mode 100644 gst/audiotestsrc/Makefile.am delete mode 100644 gst/compositor/.gitignore delete mode 100644 gst/compositor/Makefile.am delete mode 100644 gst/encoding/Makefile.am delete mode 100644 gst/gio/Makefile.am delete mode 100644 gst/overlaycomposition/Makefile.am delete mode 100644 gst/pbtypes/Makefile.am delete mode 100644 gst/playback/.gitignore delete mode 100644 gst/playback/Makefile.am delete mode 100644 gst/rawparse/Makefile.am delete mode 100644 gst/subparse/Makefile.am delete mode 100644 gst/tcp/.gitignore delete mode 100644 gst/tcp/Makefile.am delete mode 100644 gst/typefind/Makefile.am delete mode 100644 gst/videoconvert/Makefile.am delete mode 100644 gst/videorate/Makefile.am delete mode 100644 gst/videoscale/.gitignore delete mode 100644 gst/videoscale/Makefile.am delete mode 100644 gst/videotestsrc/.gitignore delete mode 100644 gst/videotestsrc/Makefile.am delete mode 100644 gst/volume/.gitignore delete mode 100644 gst/volume/Makefile.am delete mode 100644 m4/.gitignore delete mode 100644 m4/Makefile.am delete mode 100644 m4/README delete mode 100644 m4/check-libheader.m4 delete mode 100644 m4/gst-alsa.m4 delete mode 100644 m4/gst-gl.m4 delete mode 100644 m4/gst-ivorbis.m4 delete mode 100644 m4/lrint.m4 delete mode 100644 m4/lrintf.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/ximage/Makefile.am delete mode 100644 sys/xvimage/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/gst/.gitignore delete mode 100644 tests/check/libs/.gitignore delete mode 100644 tests/check/pipelines/.gitignore delete mode 100644 tests/examples/Makefile.am delete mode 100644 tests/examples/app/.gitignore delete mode 100644 tests/examples/app/Makefile.am delete mode 100644 tests/examples/audio/.gitignore delete mode 100644 tests/examples/audio/Makefile.am delete mode 100644 tests/examples/compositor/Makefile.am delete mode 100644 tests/examples/decodebin_next/.gitignore delete mode 100644 tests/examples/decodebin_next/Makefile.am delete mode 100644 tests/examples/dynamic/.gitignore delete mode 100644 tests/examples/dynamic/Makefile.am delete mode 100644 tests/examples/encoding/.gitignore delete mode 100644 tests/examples/encoding/Makefile.am delete mode 100644 tests/examples/fft/.gitignore delete mode 100644 tests/examples/fft/Makefile.am delete mode 100644 tests/examples/gio/.gitignore delete mode 100644 tests/examples/gio/Makefile.am delete mode 100644 tests/examples/gl/Makefile.am delete mode 100644 tests/examples/gl/cocoa/.gitignore delete mode 100755 tests/examples/gl/cocoa/Makefile.am delete mode 100644 tests/examples/gl/generic/Makefile.am delete mode 100644 tests/examples/gl/generic/cube/.gitignore delete mode 100644 tests/examples/gl/generic/cube/Makefile.am delete mode 100644 tests/examples/gl/generic/cubeyuv/.gitignore delete mode 100644 tests/examples/gl/generic/cubeyuv/Makefile.am delete mode 100644 tests/examples/gl/generic/doublecube/.gitignore delete mode 100644 tests/examples/gl/generic/doublecube/Makefile.am delete mode 100644 tests/examples/gl/generic/recordgraphic/.gitignore delete mode 100644 tests/examples/gl/generic/recordgraphic/Makefile.am delete mode 100644 tests/examples/gl/gtk/3dvideo/.gitignore delete mode 100644 tests/examples/gl/gtk/3dvideo/Makefile.am delete mode 100644 tests/examples/gl/gtk/Makefile.am delete mode 100644 tests/examples/gl/gtk/filternovideooverlay/.gitignore delete mode 100644 tests/examples/gl/gtk/filternovideooverlay/Makefile.am delete mode 100644 tests/examples/gl/gtk/filtervideooverlay/.gitignore delete mode 100644 tests/examples/gl/gtk/filtervideooverlay/Makefile.am delete mode 100644 tests/examples/gl/gtk/fxtest/.gitignore delete mode 100644 tests/examples/gl/gtk/fxtest/Makefile.am delete mode 100644 tests/examples/gl/gtk/switchvideooverlay/.gitignore delete mode 100644 tests/examples/gl/gtk/switchvideooverlay/Makefile.am delete mode 100644 tests/examples/gl/qt/.gitignore delete mode 100644 tests/examples/gl/qt/Makefile.am delete mode 100644 tests/examples/gl/qt/qglwtextureshare/.gitignore delete mode 100644 tests/examples/gl/sdl/.gitignore delete mode 100644 tests/examples/gl/sdl/Makefile.am delete mode 100644 tests/examples/overlay/.gitignore delete mode 100644 tests/examples/overlay/Makefile.am delete mode 100644 tests/examples/overlaycomposition/.gitignore delete mode 100644 tests/examples/overlaycomposition/Makefile.am delete mode 100644 tests/examples/playback/Makefile.am delete mode 100644 tests/examples/playrec/.gitignore delete mode 100644 tests/examples/playrec/Makefile.am delete mode 100644 tests/examples/seek/.gitignore delete mode 100644 tests/examples/seek/Makefile.am delete mode 100644 tests/examples/snapshot/.gitignore delete mode 100644 tests/examples/snapshot/Makefile.am delete mode 100644 tests/files/Makefile.am delete mode 100644 tests/icles/.gitignore delete mode 100644 tests/icles/Makefile.am delete mode 100644 tests/icles/playback/.gitignore delete mode 100644 tests/icles/playback/Makefile.am delete mode 100644 tools/.gitignore delete mode 100644 tools/Makefile.am diff --git a/.gitignore b/.gitignore index 3d38bceb3c..9cf107aa94 100644 --- a/.gitignore +++ b/.gitignore @@ -1,63 +1,5 @@ -aclocal.m4 -autom4te.cache -config.h -config.h.in -config.log -config.status -config.guess -config.sub -config.rpath -configure -gstreamer-libs-uninstalled*.pc -gstreamer-libs*.pc -gstreamer-play-uninstalled*.pc -gstreamer-play*.pc -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-base-*.tar* - -.deps -.libs -*.lo -*.la -*.o *~ *.bak -/m4 -Makefile.in -Makefile -*.gir -*.typelib -*.gc?? -.dirstamp - -/gst-libs/gst/pbutils/gstpluginsbaseversion.h -/gst-libs/gst/tag/mklangtables -/gst-libs/gst/tag/mklicensestables - -/gst-libs/gst/audio/audio-marshal.[ch] -/gst-libs/gst/video/video-marshal.[ch] -/gst-libs/gst/*/*-enumtypes.[ch] -/tests/examples/compositor/crossfade -/tests/examples/playback/playback-test - -tmp-orc.c -gst*orc.h -tests/check/orc Build *.user @@ -67,9 +9,7 @@ Build *.opensdf *.DS_Store -/test-driver -*.trs -*.log - +# 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 3d8e8fc2f2..0000000000 --- a/Makefile.am +++ /dev/null @@ -1,86 +0,0 @@ -if BUILD_EXTERNAL -SUBDIRS_EXT = ext -else -SUBDIRS_EXT = -endif - -SUBDIRS = \ - pkgconfig \ - gst-libs \ - gst sys $(SUBDIRS_EXT) \ - tools \ - tests \ - po \ - common \ - m4 - -DIST_SUBDIRS = \ - pkgconfig \ - gst-libs \ - gst sys ext \ - tools \ - tests \ - po \ - common \ - m4 - -EXTRA_DIST = \ - depcomp \ - AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \ - ChangeLog gst-plugins-base.doap autogen.sh \ - $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \ - gst-libs/gst/gl/gstglconfig.h.meson \ - meson_options.txt - -DISTCLEANFILES = _stdint.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-base.spec \ - $(top_builddir)/common/shave \ - $(top_builddir)/common/shave-libtool \ - $(top_builddir)/gst-libs/gst/audio/testchannels \ - $(top_builddir)/gst-libs/gst/app/gstapp-marshal.c \ - $(top_builddir)/gst-libs/gst/app/gstapp-marshal.h \ - $(top_builddir)/gst/encoding/.libs/libgstencodebin.so \ - $(top_builddir)/tests/check/elements/gdppay \ - $(top_builddir)/tests/check/elements/gdpdepay \ - $(top_builddir)/tests/check/pipelines/streamheader \ - $(top_builddir)/tests/examples/audio/testchannels \ - $(top_builddir)/tests/examples/volume/volume \ - $(top_builddir)/tools/gst-discoverer - -CRUFT_DIRS = \ - $(top_srcdir)/docs/design \ - $(top_srcdir)/ext/gio \ - $(top_srcdir)/gst/gdp \ - $(top_srcdir)/sys/v4l \ - $(top_srcdir)/win32 \ - $(top_srcdir)/tests/examples/v4l - -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 458bd5be26..0000000000 --- a/autogen.sh +++ /dev/null @@ -1,124 +0,0 @@ -#!/bin/sh -# -# gst-plugins-base 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-base -srcfile=gst-plugins-base.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-base-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 d90fccffec..0000000000 --- a/configure.ac +++ /dev/null @@ -1,1046 +0,0 @@ -AC_PREREQ([2.69]) - -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/prerelease -AC_INIT([GStreamer Base Plug-ins],[1.17.0.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-base]) - -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/audiotestsrc/gstaudiotestsrc.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 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]) - -dnl CURRENT, REVISION, AGE -dnl - library source changed -> increment REVISION -dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0 -dnl - interfaces added -> increment AGE -dnl - interfaces removed -> AGE = 0 -dnl -dnl Keep CURRENT as MINOR * 100 + MICRO -dnl Ex : 1.0.0 => 0 -dnl 1.0.3 => 3 -dnl 1.1.0 => 100 -dnl 1.2.5 => 205 -dnl 1.10.9 (who knows) => 1009 -dnl -dnl sets GST_LT_LDFLAGS -AS_LIBTOOL(GST, 1700, 0, 1700) - -dnl *** required versions of GStreamer stuff *** -GST_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-base-$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_PKG_CONFIG_PATH - -dnl let distro override plugin install helper path -AC_ARG_WITH(install-plugins-helper, - AS_HELP_STRING([--with-install-plugins-helper],[specify path of helper script to call to install plugins]), - [ - case "${withval}" in - yes) AC_MSG_ERROR(bad value ${withval} for --with-install-plugins-helper) ;; - no) AC_MSG_ERROR(bad value ${withval} for --with-install-plugins-helper) ;; - *) GST_INSTALL_PLUGINS_HELPER="${withval}" ;; - esac - ], - [ - dnl Default value - AS_AC_EXPAND(GST_INSTALL_PLUGINS_HELPER,${libexecdir}/gst-install-plugins-helper) - ] -) -AC_MSG_NOTICE(Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper) -AC_DEFINE_UNQUOTED(GST_INSTALL_PLUGINS_HELPER, "$GST_INSTALL_PLUGINS_HELPER", - [plugin install helper script]) -AC_SUBST(GST_INSTALL_PLUGINS_HELPER) - -AG_GST_ARG_WITH_PLUGINS - -AG_GST_ARG_ENABLE_EXTERNAL - -AG_GST_ARG_ENABLE_EXPERIMENTAL - -dnl *** checks for platform *** -AG_GST_PLATFORM - -dnl * hardware/architecture * - -dnl common/m4/gst-arch.m4 -dnl check CPU type -AG_GST_ARCH - -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 check if the compiler supports '-c' and '-o' options -AM_PROG_CC_C_O - -dnl determine if c++ is available on this system -AC_PROG_CXX -dnl CXX may be set to some default even if no c++ compiler is available -dnl (thanks autotools!), so just try to compile some c++ code to make sure -AC_LANG_PUSH([C++]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ class Foo { int bar; };]], [[]])],[working_cxx=yes],[working_cxx=no]) -AC_LANG_POP([C++]) -AC_MSG_NOTICE([working c++ compiler found: $working_cxx]) -AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" = "xyes") - -AC_PATH_PROG(VALGRIND_PATH, valgrind, no) -AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno") - -dnl check for gobject-introspection -GOBJECT_INTROSPECTION_CHECK([1.31.1]) - -dnl *** checks for libraries *** - -dnl libm, for sin() etc. -LT_LIB_M -AC_SUBST(LIBM) - -dnl check for pthreads -AX_PTHREAD - -dnl *** checks for header files *** - -dnl check if we have ANSI C header files -AC_HEADER_STDC - -dnl check for GCC specific SSE headers -dnl these are used by the speex resampler code -AC_CHECK_HEADERS([xmmintrin.h emmintrin.h smmintrin.h]) - -dnl also check which architecture we're on for building files with intrinsics -dnl separately -AC_CHECK_DECLS([__i386__], [HAVE_X86=1]) -AC_CHECK_DECLS([__x86_64__], [HAVE_X86=1]) - -dnl check for -m* compiler flags too -SSE_CFLAGS="-msse" -SSE2_CFLAGS="-msse2" -SSE41_CFLAGS="-msse4.1" - -AS_COMPILER_FLAG([$SSE_CFLAGS], [HAVE_SSE=1], [HAVE_SSE=0]) -AS_COMPILER_FLAG([$SSE2_CFLAGS], [HAVE_SSE2=1], [HAVE_SSE2=0]) -AS_COMPILER_FLAG([$SSE41_CFLAGS], [HAVE_SSE41=1], [HAVE_SSE41=0]) - -AM_CONDITIONAL(HAVE_X86, [test "x${HAVE_X86}" = "x1"]) - -AC_DEFINE_UNQUOTED(HAVE_SSE, [$HAVE_SSE], [SSE support is enabled]) -AC_DEFINE_UNQUOTED(HAVE_SSE2, [$HAVE_SSE2], [SSE2 support is enabled]) -AC_DEFINE_UNQUOTED(HAVE_SSE41, [$HAVE_SSE41], [SSE4.1 support is enabled]) - -AC_SUBST(SSE_CFLAGS) -AC_SUBST(SSE2_CFLAGS) -AC_SUBST(SSE41_CFLAGS) - -dnl used in gst/tcp -AC_CHECK_HEADERS([sys/socket.h], - [HAVE_SYS_SOCKET_H="yes"], [HAVE_SYS_SOCKET_H="no"], [AC_INCLUDES_DEFAULT]) -AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes") - -dnl used in gst-libs/gst/rtsp -AC_CHECK_HEADERS([winsock2.h], [HAVE_WINSOCK2_H=yes], [HAVE_WINSOCK2_H=no], [AC_INCLUDES_DEFAULT]) -AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes") -if test "x$HAVE_WINSOCK2_H" = "xyes"; then - WIN32_LIBS="-lws2_32" - AC_SUBST(WIN32_LIBS) -fi - -dnl used in gst-libs/gst/pbutils and associated unit test -AC_CHECK_HEADERS([process.h sys/types.h sys/wait.h sys/stat.h], [], [], [AC_INCLUDES_DEFAULT]) - -dnl checks for ARM NEON support -dnl this instruction set is used by the speex resampler code -AC_MSG_CHECKING(for ARM NEON support in current arch/CFLAGS) -AC_LINK_IFELSE([ -AC_LANG_PROGRAM([[ - #include - int32x4_t __attribute__((used)) testfunc(int16_t *a, int16_t *b) { - asm volatile ("vmull.s16 q0, d0, d0" : : : "q0"); - return vmull_s16(vld1_s16(a), vld1_s16(b)); - } -]])], -[ - AC_DEFINE(HAVE_ARM_NEON,[],[ARM NEON support is enabled]) - AC_MSG_RESULT(yes) -], -[ - AC_MSG_RESULT(no) -]) - -dnl also, Windows does not have long long -AX_CREATE_STDINT_H - -dnl *** checks for functions *** -AC_CHECK_FUNCS([localtime_r gmtime_r]) - -dnl *** checks for math functions *** -LIBS_SAVE=$LIBS -LIBS="$LIBS $LIBM" -AC_CHECK_FUNCS(log2) -LIBS=$LIBS_SAVE - -dnl *** checks for types/defines *** - -dnl *** checks for structures *** - -dnl *** checks for compiler characteristics *** - -dnl *** checks for library functions *** - -dnl check for fseeko() -AC_FUNC_FSEEKO - -dnl Check for fast float to int casting as defined in C99 -dnl used to be used in gst-libs/gst/floatcast/floatcast.h (FIXME: still needed?) -save_libs=$LIBS -LIBS="$LIBS $LIBM" -AC_C99_FUNC_LRINT -AC_C99_FUNC_LRINTF -LIBS=$save_libs - -dnl Check for a way to display the function name in debug output -AG_GST_CHECK_FUNCTION - -dnl *** checks for dependency libraries *** - -dnl GLib -GLIB_REQ=2.44.0 -AG_GST_GLIB_CHECK([$GLIB_REQ]) - -ORC_CHECK([0.4.24]) - -dnl For Requires.private in pkg-config files -ORC_PC= -if test x"$HAVE_ORC" = "xyes"; then - ORC_PC="orc-0.4" -fi -AC_SUBST(ORC_PC) - -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_NET($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_CHECK($GST_API_VERSION, [$GST_REQ], no) -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`" -AC_SUBST(GLIB_PREFIX) -AC_SUBST(GST_PREFIX) - -dnl check for gudev -PKG_CHECK_MODULES(G_UDEV, gudev-1.0 , [ - AC_DEFINE([HAVE_GUDEV], 1, [Define if gudev is installed]) - HAVE_GUDEV="yes" ], - [HAVE_GUDEV="no"]) - -AG_GST_GL_CHECKS - -dnl GTK is optional and only used in examples -HAVE_GTK=no -HAVE_GTK_X11=no -HAVE_GDK_PIXBUF=no -GTK_REQ=3.10 -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) - PKG_CHECK_MODULES(GTK_QUARTZ, gtk+-quartz-3.0 >= $GTK_REQ, HAVE_GTK_QUARTZ=yes, HAVE_GTK_QUARTZ=no) - AC_SUBST(GTK_LIBS) - AC_SUBST(GTK_CFLAGS) - - PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0, HAVE_GDK_PIXBUF=yes, HAVE_GDK_PIXBUF=no) - AC_SUBST(GDK_PIXBUF_LIBS) - AC_SUBST(GDK_PIXBUF_CFLAGS) -fi -AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") -AM_CONDITIONAL(HAVE_GTK_X11, test "x$HAVE_GTK_X11" = "xyes") -AM_CONDITIONAL(HAVE_GTK_QUARTZ, test "x$HAVE_GTK_QUARTZ" = "xyes") -AM_CONDITIONAL(HAVE_GDK_PIXBUF, test "x$HAVE_GDK_PIXBUF" = "xyes") - -HAVE_QT=no -HAVE_QT_MOC=no -dnl QT is optional and only used in examples -PKG_CHECK_MODULES(QT, Qt5Gui Qt5Widgets, [ - HAVE_QT=yes -], [ - HAVE_QT=no -]) -if test "x$HAVE_QT" = "xyes"; then - AC_CHECK_TOOL(QT_MOC, moc) - AC_MSG_CHECKING([for Qt5 moc]) - mocversion=`$QT_MOC -v 2>&1` - mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"` - if test x"$mocversiongrep" != x"$mocversion"; then - AC_MSG_RESULT([no]) - # moc was not the qt5 one, try with moc-qt5 - AC_CHECK_TOOL(QT_MOC, moc-qt5) - AC_MSG_CHECKING([for Qt5 moc-qt5]) - mocversion=`$QT_MOC -v 2>&1` - mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"` - if test x"$mocversiongrep" != x"$mocversion"; then - AC_CHECK_TOOL(QTCHOOSER, qtchooser) - AC_MSG_CHECKING([for qtchooser]) - qt5tooldir=`QT_SELECT=qt5 qtchooser -print-env | grep QTTOOLDIR | cut -d '=' -f 2 | cut -d \" -f 2` - mocversion=`$qt5tooldir/moc -v 2>&1` - mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"` - if test x"$mocversiongrep" != x"$mocversion"; then - # no valid moc found - QT_MOC="no" - else - QT_MOC=$qt5tooldir/moc - fi - else - QT_MOC=$QT_MOC - fi - fi - AC_SUBST(QT_MOC) - AC_MSG_RESULT([$QT_MOC]) -fi -AM_CONDITIONAL(HAVE_QT, test "x$HAVE_QT" = "xyes") -AM_CONDITIONAL(HAVE_QT_MOC, test "x$HAVE_QT_MOC" != "xno") - -dnl Check for OpenGL example dependencies (clutter, sdl, etc.) -AG_GST_GL_EXAMPLES_CHECKS - -dnl chck for linux headers needed by the joystick seek example -AC_COMPILE_IFELSE( -[ - AC_LANG_PROGRAM([ - #include - #include - ],[ - struct js_event js; - js.type = JS_EVENT_AXIS; - ]) -], [ - HAVE_LINUX_JOYSTICK_HEADERS="yes" -], [ - HAVE_LINUX_JOYSTICK_HEADERS="no" -]) -AM_CONDITIONAL(HAVE_LINUX_JOYSTICK_HEADERS, test "x$HAVE_LINUX_JOYSTICK_HEADERS" = "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-base.doap"], - [$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO]) - -dnl If only building static libraries, define GST_STATIC_COMPILATION. This is -dnl needed only on Windows, but it doesn't hurt to have it everywhere. -if test x$enable_static = xyes -a x$enable_shared = xno; then - GST_STATIC_CFLAGS="-DGST_STATIC_COMPILATION" -fi - -# 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 -Wformat-nonliteral - see ext/pango/gstclockoverlay.c and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438 -dnl -Waggregate-return - xcb_intern_atom() returns an aggregate value -AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [ - -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef - -Wwrite-strings -Wformat-nonliteral -Wformat-security - -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 -Wundef - -Wwrite-strings -Wformat-nonliteral -Wformat-security - -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return - -Wno-multichar $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 needed for encoding-target -GST_DATADIR="$GST_PREFIX/share" -AC_DEFINE_UNQUOTED(GST_DATADIR, "$GST_DATADIR", [system wide data directory]) -AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION", [major/minor version]) - -dnl behaviour of speex based audio resampler -AC_MSG_CHECKING(which audio resample format to use for integer) -AC_ARG_WITH([audioresample_format], - AS_HELP_STRING([--with-audioresample-format],[Which implementation should be used for integer audio resampling, int/float/auto, (default is auto)]), - [ac_cv_audioresample_format=$withval], [ac_cv_audioresample_format=auto])dnl -AC_MSG_RESULT($ac_cv_audioresample_format) -case $ac_cv_audioresample_format in - int) - AC_DEFINE(AUDIORESAMPLE_FORMAT_INT,1,[The int implementation should be used for integer audio resampling]) - AC_SUBST(AUDIORESAMPLE_FORMAT_INT) - ;; - float) - AC_DEFINE(AUDIORESAMPLE_FORMAT_FLOAT,1,[The float implementation should be used for integer audio resampling]) - AC_SUBST(AUDIORESAMPLE_FORMAT_FLOAT) - ;; - auto) - AC_DEFINE(AUDIORESAMPLE_FORMAT_AUTO,1,[The implementation that should be used for integer audio resampling witll be benchmarked at runtime]) - AC_SUBST(AUDIORESAMPLE_FORMAT_AUTO) -esac - -dnl Check for mmap (needed by allocators library) -AC_CHECK_FUNC([mmap], [AC_DEFINE(HAVE_MMAP, 1, [Defined if mmap is supported])]) - -dnl Check for DMABuf synchronization ioctl (needed for DMABuf CPU access) -AC_CHECK_HEADERS([linux/dma-buf.h], []) - -dnl *** plug-ins to include *** - -dnl these are all the gst plug-ins, compilable without additional libs -AG_GST_CHECK_PLUGIN(adder) -AG_GST_CHECK_PLUGIN(app) -AG_GST_CHECK_PLUGIN(audioconvert) -AG_GST_CHECK_PLUGIN(audiomixer) -AG_GST_CHECK_PLUGIN(audiorate) -AG_GST_CHECK_PLUGIN(audiotestsrc) -AG_GST_CHECK_PLUGIN(compositor) -AG_GST_CHECK_PLUGIN(encoding) -AG_GST_CHECK_PLUGIN(videoconvert) -AG_GST_CHECK_PLUGIN(gio) -AG_GST_CHECK_PLUGIN(overlaycomposition) -AG_GST_CHECK_PLUGIN(playback) -AG_GST_CHECK_PLUGIN(audioresample) -AG_GST_CHECK_PLUGIN(rawparse) -AG_GST_CHECK_PLUGIN(subparse) -AG_GST_CHECK_PLUGIN(tcp) -AG_GST_CHECK_PLUGIN(typefind) -AG_GST_CHECK_PLUGIN(videotestsrc) -AG_GST_CHECK_PLUGIN(videorate) -AG_GST_CHECK_PLUGIN(videoscale) -AG_GST_CHECK_PLUGIN(volume) - -dnl iso-codes is optional, used by libgsttag -AC_ARG_ENABLE(iso-codes, -AS_HELP_STRING([--enable-iso-codes],[use iso-codes if installed]), -[case "${enableval}" in - yes) enable_iso_codes=yes ;; - no) enable_iso_codes=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-iso-codes) ;; -esac -], -[enable_iso_codes=yes]) dnl Default value - -AC_MSG_CHECKING([whether to use iso-codes if they are available]) -if test "x$enable_iso_codes" = "xyes"; then - AC_MSG_RESULT([yes]) - have_iso_codes=no - AC_MSG_CHECKING([whether iso-codes are available on this system]) - if $PKG_CONFIG iso-codes; then - AC_MSG_RESULT([yes]) - AC_MSG_CHECKING([whether iso-codes has iso-639 domain]) - if $PKG_CONFIG --variable=domains iso-codes | $GREP -q 639 ; then - AC_MSG_RESULT([yes]) - AC_MSG_CHECKING([for iso-codes prefix]) - ISO_CODES_PREFIX=`$PKG_CONFIG --variable=prefix iso-codes` - if test -d "$ISO_CODES_PREFIX"; then - AC_MSG_RESULT([yes]) - AC_MSG_CHECKING([ISO_CODES_PREFIX]) - AC_MSG_RESULT([$ISO_CODES_PREFIX]) - ISO_639_DOMAIN="iso_639" - AC_MSG_CHECKING([ISO_639_DOMAIN]) - AC_MSG_RESULT([$ISO_639_DOMAIN]) - have_iso_codes=yes - AC_DEFINE([HAVE_ISO_CODES], [1], [make use of iso-codes for ISO-639]) - AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX], ["$ISO_CODES_PREFIX"], [prefix]) - ISO_CODES_VERSION=`$PKG_CONFIG --modversion iso-codes` - AC_DEFINE_UNQUOTED([ISO_CODES_VERSION], ["$ISO_CODES_VERSION"], [ ]) - else - AC_MSG_RESULT([no]) - fi - else - AC_MSG_RESULT([no]) - fi - else - AC_MSG_RESULT([no]) - fi - AM_CONDITIONAL(USE_ISO_CODES, test "x$have_iso_codes" = "xyes") -else - AC_MSG_RESULT([no (disabled via --disable-iso-codes)]) - AM_CONDITIONAL(USE_ISO_CODES, false) -fi - -dnl *** zlib is optionally used by id3 tag parsing in libgsttag *** -translit(dnm, m, l) AM_CONDITIONAL(USE_ZLIB, true) -AG_GST_CHECK_FEATURE(ZLIB, [zlib support for ID3 parsing in libgsttag],, [ - PKG_CHECK_MODULES(ZLIB, [ zlib ], [ - HAVE_ZLIB="yes" - ], [ - AG_GST_CHECK_LIBHEADER(ZLIB, z, uncompress,, zlib.h, [ - HAVE_ZLIB="yes" - ZLIB_LIBS="-lz" - AC_SUBST(ZLIB_LIBS) - ]) - ]) -]) - -dnl *** sys plug-ins *** - -echo -AC_MSG_NOTICE([Checking libraries for plugins in sys/]) -echo - -dnl *** X11 *** -translit(dnm, m, l) AM_CONDITIONAL(USE_X, true) -AG_GST_CHECK_FEATURE(X, [X libraries and plugins], - [ximagesink], [ - AG_GST_PKG_CHECK_MODULES(X, x11) -]) - -dnl Check for Xv extension -translit(dnm, m, l) AM_CONDITIONAL(USE_XVIDEO, true) -AG_GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions], - [xvimagesink], [ - AG_GST_PKG_CHECK_MODULES(XVIDEO, x11 xv) -]) - -dnl check for X Shm -translit(dnm, m, l) AM_CONDITIONAL(USE_XSHM, true) -AG_GST_CHECK_FEATURE(XSHM, [X Shared Memory extension], [ ], [ - if test x$HAVE_X = xyes; then - PKG_CHECK_MODULES(XSHM, xext, [ - AC_CHECK_LIB(Xext, XShmAttach, [ - HAVE_XSHM="yes" - ], [ - HAVE_XSHM="no" - XSHM_LIBS="" - ], [ $X_LIBS ]) - ], [ - HAVE_XSHM="no" - ]) - fi -], , [ - AC_SUBST(HAVE_XSHM) - AC_SUBST(XSHM_LIBS) -]) - -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 *** alsa *** -translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true) -AG_GST_CHECK_FEATURE(ALSA, [ALSA], alsa, [ - PKG_CHECK_MODULES(ALSA, alsa >= 0.9.1, [ - HAVE_ALSA="yes" - AC_SUBST(ALSA_CFLAGS) - AC_SUBST(ALSA_LIBS) - ], [ - AM_PATH_ALSA(0.9.1, HAVE_ALSA="yes", HAVE_ALSA="no") - ]) -]) - -dnl *** CDParanoia *** -dnl Note: upstream has a pkg-config file only in post-10.2 SVN so far -translit(dnm, m, l) AM_CONDITIONAL(USE_CDPARANOIA, true) -AG_GST_CHECK_FEATURE(CDPARANOIA, [CDParanoia], cdparanoia, [ - PKG_CHECK_MODULES(CDPARANOIA, cdparanoia-3 >= 10.2, [ - HAVE_CDPARANOIA="yes" - ], [ - AG_GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface, - cdda_open, -lm, - cdda_interface.h, - CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia" - HEADER_DIR="no" - FOUND_CDPARANOIA="yes") - if test "x$FOUND_CDPARANOIA" != "xyes"; - then - AG_GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface, - cdda_open, -lm, - cdda/cdda_interface.h, - CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia" - HEADER_DIR="yes" - FOUND_CDPARANOIA="yes") - fi - if test "x$HEADER_DIR" = "xyes"; - then - AC_DEFINE_UNQUOTED(CDPARANOIA_HEADERS_IN_DIR, , - defined if cdda headers are in a cdda/ directory) - fi - if test "x$FOUND_CDPARANOIA" = "xyes"; - then - AC_CHECK_LIB(cdda_paranoia, - paranoia_cachemodel_size, - : , - HAVE_CDPARANOIA=no, - [-lcdda_interface]) - fi - - AC_SUBST(CDPARANOIA_LIBS) - ]) -]) -dnl FIXME : add second check somehow if that is necessary -dnl AC_CHECK_LIB(cdda_paranoia, paranoia_init, : , HAVE_CDPARANOIA=no, -lcdda_interface ) -dnl AC_CHECK_HEADER(cdda_paranoia.h, :, HAVE_CDPARANOIA=no) - -dnl *** gl *** -translit(dnm, m, l) AM_CONDITIONAL(USE_GL, true) -AG_GST_CHECK_FEATURE(GL, [gl elements], gl, [ - HAVE_GL="no" - - if test x"$USE_OPENGL" = x"yes" -o x"$USE_GLES2" = x"yes"; then - HAVE_GL="yes" - AG_GST_GL_PLUGIN_CHECKS - fi -]) - -dnl *** ivorbis *** -dnl AM_PATH_IVORBIS only takes two options -translit(dnm, m, l) AM_CONDITIONAL(USE_IVORBIS, true) -AG_GST_CHECK_FEATURE(IVORBIS, [integer vorbis plug-in], ivorbisdec, [ - AG_GST_PKG_CHECK_MODULES(IVORBIS, vorbisidec) - if test $HAVE_IVORBIS = no - then - IVORBIS_LIBS= - IVORBIS_CFLAGS= - AC_CHECK_LIB(vorbisidec, vorbis_block_init, - [IVORBIS_LIBS=-lvorbisidec - HAVE_IVORBIS=yes - case $host in - arm-*-*) - IVORBIS_CFLAGS="-D_ARM_ASSEM_ $IVORBIS_CFLAGS" - esac - ], - HAVE_IVORBIS=no) - AC_SUBST(IVORBIS_LIBS) - AC_SUBST(IVORBIS_CFLAGS) - else - AC_CHECK_LIB(vorbisidec, vorbis_dsp_pcmout, - AC_DEFINE([USE_TREMOLO],1, "Define if building for android"), - USE_TREMOLO=no) - fi -]) - -dnl *** libvisual *** -translit(dnm, m, l) AM_CONDITIONAL(USE_LIBVISUAL, true) -AG_GST_CHECK_FEATURE(LIBVISUAL, [libvisual visualization library], libvisual, [ - AG_GST_PKG_CHECK_MODULES(LIBVISUAL, libvisual-0.4 >= 0.4.0) - if test x$HAVE_LIBVISUAL = xyes; then - LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.4`" - fi - AC_MSG_NOTICE([libvisual pluginsdir: $LIBVIS_PLUGINSDIR]) - if test x$LIBVIS_PLUGINSDIR != x; then - AC_DEFINE_UNQUOTED(LIBVISUAL_PLUGINSBASEDIR, - "$LIBVIS_PLUGINSDIR", - [directory in which the detected libvisual's plugins are located]) - fi -]) - -dnl *** ogg *** -translit(dnm, m, l) AM_CONDITIONAL(USE_OGG, true) -AG_GST_CHECK_FEATURE(OGG, [Xiph Ogg library], ogg, [ - AG_GST_PKG_CHECK_MODULES(OGG, ogg >= 1.0) -]) - -dnl *** Opus *** -translit(dnm, m, l) AM_CONDITIONAL(USE_OPUS, true) -AG_GST_CHECK_FEATURE(OPUS, [opus], opus, [ - PKG_CHECK_MODULES(OPUS, opus >= 0.9.4, [ - AC_DEFINE([HAVE_OPUS], 1, [Define if Opus >= 0.9.4 is installed]) - HAVE_OPUS="yes" - ], [ - HAVE_OPUS="no" - ]) - AC_SUBST(OPUS_CFLAGS) - AC_SUBST(OPUS_LIBS) -]) - -dnl *** pango *** -translit(dnm, m, l) AM_CONDITIONAL(USE_PANGO, true) -AG_GST_CHECK_FEATURE(PANGO, [Pango font rendering], pango, [ - AG_GST_PKG_CHECK_MODULES(PANGO, pango >= 1.22.0 pangocairo >= 1.22.0) -]) - -dnl *** theora *** -translit(dnm, m, l) AM_CONDITIONAL(USE_THEORA, true) -AG_GST_CHECK_FEATURE(THEORA, [Xiph Theora video codec], theora, [ - AG_GST_PKG_CHECK_MODULES(THEORA, theoradec >= 1.1 theoraenc >= 1.1) -]) - -dnl *** vorbis *** -translit(dnm, m, l) AM_CONDITIONAL(USE_VORBIS, true) -AG_GST_CHECK_FEATURE(VORBIS, [Xiph Vorbis audio codec], vorbis, [ - AG_GST_PKG_CHECK_MODULES(VORBIS, vorbis >= 1.0 vorbisenc >= 1.0) -]) - -if test "x$HAVE_VORBIS" = "xyes"; then - ac_cflags_save="$CFLAGS" - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([[ -#include - ]],[[ -vorbis_dsp_state *v; - -vorbis_synthesis_restart (v); - ]])], HAVE_VSR=yes, HAVE_VSR=no) - if test "x$HAVE_VSR" = "xyes"; then - AC_DEFINE_UNQUOTED(HAVE_VORBIS_SYNTHESIS_RESTART, 1, - [defined if vorbis_synthesis_restart is present]) - fi - CFLAGS="$ac_cflags_save" -fi - -else - -dnl not building plugins with external dependencies, -dnl but we still need to set the conditionals -AM_CONDITIONAL(USE_ALSA, false) -AM_CONDITIONAL(USE_CDPARANOIA, false) -AM_CONDITIONAL(USE_GL, false) -AM_CONDITIONAL(USE_IVORBIS, false) -AM_CONDITIONAL(USE_LIBVISUAL, false) -AM_CONDITIONAL(USE_OGG, false) -AM_CONDITIONAL(USE_OPUS, false) -AM_CONDITIONAL(USE_PANGO, false) -AM_CONDITIONAL(USE_THEORA, false) -AM_CONDITIONAL(USE_VORBIS, false) - -fi dnl of EXT plugins - -AM_CONDITIONAL(HAVE_GRAPHENE, test "x$HAVE_GRAPHENE" = "xyes") -AM_CONDITIONAL(HAVE_PNG, test "x$HAVE_PNG" = "xyes") -AM_CONDITIONAL(HAVE_JPEG, test "x$HAVE_JPEG" = "xyes") - -dnl *** gio-unix-2.0 for tests/check/pipelines/tcp.c *** -PKG_CHECK_MODULES(GIO_UNIX_2_0, gio-unix-2.0 >= 2.24, - HAVE_GIO_UNIX_2_0="yes", - HAVE_GIO_UNIX_2_0="no") -AM_CONDITIONAL(USE_GIO_UNIX_2_0, test "x$HAVE_GIO_UNIX_2_0" = "xyes") - -dnl *** finalize CFLAGS, LDFLAGS, LIBS - -dnl Overview: -dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ... -dnl GST_*: flags shared by built objects to link against GStreamer -dnl GST_PLUGINS_BASE_CFLAGS: to link internally against the plugins base libs -dnl (compare to other modules) or for i18n -dnl GST_ALL_LDFLAGS: linker flags shared by all -dnl GST_LIB_LDFLAGS: additional linker flags for all 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_ when compiling a git version (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_DEFINE(GST_API_EXPORT, [extern __attribute__ ((visibility ("default")))], [public symbol export define]) -], [ - VISIBILITY_CFLAGS="" - AC_DEFINE(GST_API_EXPORT, [extern], [public symbol export define]) -]) -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 and GST_OPTION_CXXFLAGS 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)" -AC_SUBST(GST_OPTION_CFLAGS) -AC_SUBST(GST_OPTION_CXXFLAGS) - -dnl our libraries need to be versioned correctly -AC_SUBST(GST_LT_LDFLAGS) - -dnl GST_PLUGINS_BASE_CFLAGS -dnl prefer internal headers to already installed ones -dnl also add builddir include for enumtypes and marshal -GST_PLUGINS_BASE_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs" -AC_SUBST(GST_PLUGINS_BASE_CFLAGS) - -dnl FIXME: do we want to rename to GST_ALL_* ? -dnl add GST_OPTION_CFLAGS, but overridable -GST_CFLAGS="$GST_CFLAGS $GST_STATIC_CFLAGS" -GST_CXXFLAGS="$GLIB_CFLAGS $GST_CFLAGS $EXTRA_CFLAGS \$(GLIB_EXTRA_CFLAGS) \$(GST_OPTION_CXXFLAGS) \$(VISIBILITY_CXXFLAGS)" -GST_CFLAGS="$GLIB_CFLAGS $GST_CFLAGS $EXTRA_CFLAGS \$(GLIB_EXTRA_CFLAGS) \$(GST_OPTION_CFLAGS) \$(VISIBILITY_CFLAGS)" -AC_SUBST(GST_CFLAGS) -AC_SUBST(GST_CXXFLAGS) -dnl add GCOV libs because libtool strips -fprofile-arcs -ftest-coverage -GST_LIBS="$GST_LIBS \$(GCOV_LIBS)" -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 GST_LIB_LDFLAGS -dnl linker flags shared by all libraries -dnl LDFLAGS modifier defining exported symbols from built libraries -dnl (export _gst_foo but not __gst_foo) -GST_LIB_LDFLAGS="" -AC_SUBST(GST_LIB_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 - -AC_CONFIG_FILES( -Makefile -gst/Makefile -gst/adder/Makefile -gst/app/Makefile -gst/audioconvert/Makefile -gst/audiomixer/Makefile -gst/audiorate/Makefile -gst/audioresample/Makefile -gst/audiotestsrc/Makefile -gst/compositor/Makefile -gst/encoding/Makefile -gst/videoconvert/Makefile -gst/gio/Makefile -gst/overlaycomposition/Makefile -gst/pbtypes/Makefile -gst/playback/Makefile -gst/rawparse/Makefile -gst/subparse/Makefile -gst/tcp/Makefile -gst/typefind/Makefile -gst/videotestsrc/Makefile -gst/videorate/Makefile -gst/videoscale/Makefile -gst/volume/Makefile -sys/Makefile -sys/ximage/Makefile -sys/xvimage/Makefile -ext/Makefile -ext/alsa/Makefile -ext/cdparanoia/Makefile -ext/gl/Makefile -ext/libvisual/Makefile -ext/ogg/Makefile -ext/opus/Makefile -ext/pango/Makefile -ext/theora/Makefile -ext/vorbis/Makefile -gst-libs/Makefile -gst-libs/gst/Makefile -gst-libs/gst/allocators/Makefile -gst-libs/gst/audio/Makefile -gst-libs/gst/app/Makefile -gst-libs/gst/fft/Makefile -gst-libs/gst/gl/Makefile -gst-libs/gst/gl/android/Makefile -gst-libs/gst/gl/cocoa/Makefile -gst-libs/gst/gl/dispmanx/Makefile -gst-libs/gst/gl/glprototypes/Makefile -gst-libs/gst/gl/eagl/Makefile -gst-libs/gst/gl/egl/Makefile -gst-libs/gst/gl/wayland/Makefile -gst-libs/gst/gl/win32/Makefile -gst-libs/gst/gl/x11/Makefile -gst-libs/gst/gl/viv-fb/Makefile -gst-libs/gst/gl/gbm/Makefile -gst-libs/gst/riff/Makefile -gst-libs/gst/rtp/Makefile -gst-libs/gst/rtsp/Makefile -gst-libs/gst/sdp/Makefile -gst-libs/gst/tag/Makefile -gst-libs/gst/pbutils/Makefile -gst-libs/gst/pbutils/gstpluginsbaseversion.h -gst-libs/gst/video/Makefile -tools/Makefile -pkgconfig/Makefile -pkgconfig/gstreamer-allocators.pc -pkgconfig/gstreamer-allocators-uninstalled.pc -pkgconfig/gstreamer-audio.pc -pkgconfig/gstreamer-audio-uninstalled.pc -pkgconfig/gstreamer-app.pc -pkgconfig/gstreamer-app-uninstalled.pc -pkgconfig/gstreamer-fft.pc -pkgconfig/gstreamer-fft-uninstalled.pc -pkgconfig/gstreamer-pbutils.pc -pkgconfig/gstreamer-pbutils-uninstalled.pc -pkgconfig/gstreamer-riff.pc -pkgconfig/gstreamer-riff-uninstalled.pc -pkgconfig/gstreamer-rtp.pc -pkgconfig/gstreamer-rtp-uninstalled.pc -pkgconfig/gstreamer-rtsp.pc -pkgconfig/gstreamer-rtsp-uninstalled.pc -pkgconfig/gstreamer-sdp.pc -pkgconfig/gstreamer-sdp-uninstalled.pc -pkgconfig/gstreamer-tag.pc -pkgconfig/gstreamer-tag-uninstalled.pc -pkgconfig/gstreamer-video.pc -pkgconfig/gstreamer-video-uninstalled.pc -pkgconfig/gstreamer-gl.pc -pkgconfig/gstreamer-gl-uninstalled.pc -pkgconfig/gstreamer-plugins-base.pc -pkgconfig/gstreamer-plugins-base-uninstalled.pc -tests/Makefile -tests/check/Makefile -tests/examples/Makefile -tests/examples/app/Makefile -tests/examples/audio/Makefile -tests/examples/compositor/Makefile -tests/examples/decodebin_next/Makefile -tests/examples/dynamic/Makefile -tests/examples/encoding/Makefile -tests/examples/fft/Makefile -tests/examples/gio/Makefile -tests/examples/gl/Makefile -tests/examples/gl/generic/Makefile -tests/examples/gl/generic/cube/Makefile -tests/examples/gl/generic/doublecube/Makefile -tests/examples/gl/generic/recordgraphic/Makefile -tests/examples/gl/generic/cubeyuv/Makefile -tests/examples/gl/qt/Makefile -tests/examples/gl/gtk/Makefile -tests/examples/gl/gtk/fxtest/Makefile -tests/examples/gl/gtk/3dvideo/Makefile -tests/examples/gl/gtk/switchvideooverlay/Makefile -tests/examples/gl/gtk/filternovideooverlay/Makefile -tests/examples/gl/gtk/filtervideooverlay/Makefile -tests/examples/gl/cocoa/Makefile -tests/examples/gl/sdl/Makefile -tests/examples/overlay/Makefile -tests/examples/overlaycomposition/Makefile -tests/examples/seek/Makefile -tests/examples/snapshot/Makefile -tests/examples/playback/Makefile -tests/examples/playrec/Makefile -tests/files/Makefile -tests/icles/Makefile -tests/icles/playback/Makefile -po/Makefile.in -common/Makefile -common/m4/Makefile -m4/Makefile -) -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 c70b212d69..0000000000 --- a/ext/Makefile.am +++ /dev/null @@ -1,85 +0,0 @@ -if USE_ALSA -ALSA_DIR=alsa -else -ALSA_DIR= -endif - -if USE_CDPARANOIA -CDPARANOIA_DIR=cdparanoia -else -CDPARANOIA_DIR= -endif - -if USE_GL -GL_DIR=gl -else -GL_DIR= -endif - -if USE_LIBVISUAL -LIBVISUAL_DIR=libvisual -else -LIBVISUAL_DIR= -endif - -if USE_OGG -OGG_DIR=ogg -else -OGG_DIR= -endif - -if USE_OPUS -OPUS_DIR=opus -else -OPUS_DIR= -endif - -if USE_PANGO -PANGO_DIR = pango -else -PANGO_DIR = -endif - -if USE_VORBIS -VORBIS_DIR=vorbis -endif - -if USE_IVORBIS -VORBIS_DIR=vorbis -endif - -if !USE_VORBIS -if !USE_IVORBIS -VORBIS_DIR= -endif -endif - -if USE_THEORA -THEORA_DIR=theora -else -THEORA_DIR= -endif - -SUBDIRS = \ - $(ALSA_DIR) \ - $(CDPARANOIA_DIR) \ - $(GL_DIR) \ - $(LIBVISUAL_DIR) \ - $(OGG_DIR) \ - $(OPUS_DIR) \ - $(PANGO_DIR) \ - $(THEORA_DIR) \ - $(VORBIS_DIR) - -DIST_SUBDIRS = \ - alsa \ - cdparanoia \ - gl \ - libvisual \ - ogg \ - opus \ - pango \ - theora \ - vorbis - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/ext/alsa/Makefile.am b/ext/alsa/Makefile.am deleted file mode 100644 index ddbc4177ae..0000000000 --- a/ext/alsa/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -plugin_LTLIBRARIES = libgstalsa.la - -libgstalsa_la_SOURCES = \ - gstalsadeviceprovider.c \ - gstalsaplugin.c \ - gstalsasink.c \ - gstalsasrc.c \ - gstalsamidisrc.c \ - gstalsa.c - -libgstalsa_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(ALSA_CFLAGS) -libgstalsa_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(ALSA_LIBS) - -libgstalsa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - gstalsa.h \ - gstalsadeviceprovider.h \ - gstalsasrc.h \ - gstalsasink.h \ - gstalsamidisrc.h diff --git a/ext/cdparanoia/Makefile.am b/ext/cdparanoia/Makefile.am deleted file mode 100644 index 81b1904d27..0000000000 --- a/ext/cdparanoia/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -plugin_LTLIBRARIES = libgstcdparanoia.la - -libgstcdparanoia_la_SOURCES = gstcdparanoiasrc.c -libgstcdparanoia_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(CDPARANOIA_CFLAGS) -libgstcdparanoia_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(CDPARANOIA_LIBS) -libgstcdparanoia_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstcdparanoiasrc.h diff --git a/ext/gl/Makefile.am b/ext/gl/Makefile.am deleted file mode 100644 index bf4bd114a4..0000000000 --- a/ext/gl/Makefile.am +++ /dev/null @@ -1,165 +0,0 @@ -plugin_LTLIBRARIES = libgstopengl.la - -libgstopengl_la_SOURCES = \ - gstopengl.c \ - gstglalpha.c \ - gstgluploadelement.c \ - gstgldownloadelement.c \ - gstglcolorconvertelement.c \ - gstglfilterbin.c \ - gstglsinkbin.c \ - gstglsrcbin.c \ - gstglimagesink.c \ - gstglfiltercube.c \ - gstgleffects.c \ - effects/gstgleffectscurves.c \ - effects/gstgleffectssources.c \ - effects/gstgleffectidentity.c \ - effects/gstgleffectmirror.c \ - effects/gstgleffectsqueeze.c \ - effects/gstgleffectstretch.c \ - effects/gstgleffectfisheye.c \ - effects/gstgleffecttwirl.c \ - effects/gstgleffectbulge.c \ - effects/gstgleffecttunnel.c \ - effects/gstgleffectsquare.c \ - effects/gstgleffectlumatocurve.c \ - effects/gstgleffectrgbtocurve.c \ - effects/gstgleffectsin.c \ - effects/gstgleffectxray.c \ - effects/gstgleffectglow.c \ - effects/gstgleffectblur.c \ - effects/gstgleffectsobel.c \ - effects/gstgleffectlaplacian.c \ - gstglbasemixer.c \ - gstglcolorscale.c \ - gstglcolorbalance.c \ - gstgldeinterlace.c \ - gstglfiltershader.c \ - gstglfilterapp.c \ - gstglmixer.c \ - gstglmixerbin.c \ - gstglstereomix.c \ - gstglstereosplit.c \ - gstglvideomixer.c \ - gstglviewconvert.c \ - gltestsrc.c \ - gstgltestsrc.c \ - gstgloverlaycompositorelement.c \ - gstglutils.c - -noinst_HEADERS = \ - gstglalpha.h \ - gstgluploadelement.h \ - gstgldownloadelement.h \ - gstglcolorconvertelement.h \ - gstglfilterbin.h \ - gstglsinkbin.h \ - gstglsrcbin.h \ - gstglimagesink.h \ - gstglfiltercube.h \ - gstgleffects.h \ - effects/gstgleffectssources.h \ - gstglbasemixer.h \ - gstglcolorscale.h \ - gstglcolorbalance.h \ - gstgldeinterlace.h \ - gstglfiltershader.h \ - gstglfilterapp.h \ - gstglmixer.h \ - gstglmixerbin.h \ - gstglstereomix.h \ - gstglstereosplit.h \ - gstglvideomixer.h \ - gstglviewconvert.h \ - gltestsrc.h \ - gstgltestsrc.h \ - gstgloverlaycompositorelement.h \ - gstglutils.h - -# full opengl required -if USE_OPENGL -libgstopengl_la_SOURCES += \ - gstglmosaic.c \ - gstglfilterglass.c - -noinst_HEADERS += \ - gstglfilterglass.h \ - gstglmosaic.h \ - effects/gstgleffectscurves.h \ - effects/gstgleffectlumatocurve.h - -if HAVE_PNG -libgstopengl_la_SOURCES += \ - gstgldifferencematte.c - -noinst_HEADERS += \ - gstgldifferencematte.h -endif -endif - -if HAVE_GRAPHENE -libgstopengl_la_SOURCES += \ - gstgltransformation.c \ - gstglvideoflip.c - -noinst_HEADERS += \ - gstgltransformation.h \ - gstglvideoflip.h -endif - -if HAVE_JPEG -if HAVE_PNG -libgstopengl_la_SOURCES += \ - gstgloverlay.c - -noinst_HEADERS += \ - gstgloverlay.h -endif -endif - -if HAVE_WINDOW_COCOA -libgstopengl_la_SOURCES += \ - caopengllayersink.m - -noinst_HEADERS += \ - caopengllayersink.h -endif - -libgstopengl_la_OBJCFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - -fobjc-arc \ - $(GST_OBJCFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CONTROLLER_CFLAGS) \ - $(GL_OBJCFLAGS) - -# check order of CFLAGS and LIBS, shouldn't the order be the other way around -# (like in AM_CFLAGS)? -libgstopengl_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CONTROLLER_CFLAGS) \ - $(GST_CFLAGS) \ - $(GL_CFLAGS) \ - $(LIBPNG_CFLAGS) \ - $(GRAPHENE_CFLAGS) - -libgstopengl_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/allocators/libgstallocators-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(GST_CONTROLLER_LIBS) \ - $(GST_LIBS) \ - $(GL_LIBS) \ - $(LIBPNG_LIBS) \ - $(JPEG_LIBS) \ - $(LIBM) \ - $(GRAPHENE_LIBS) - -libgstopengl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstopengl_la_LIBTOOLFLAGS = --tag=CC - - diff --git a/ext/libvisual/Makefile.am b/ext/libvisual/Makefile.am deleted file mode 100644 index 40e23ea56a..0000000000 --- a/ext/libvisual/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -plugin_LTLIBRARIES = libgstlibvisual.la - -libgstlibvisual_la_SOURCES = plugin.c visual.c -libgstlibvisual_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBVISUAL_CFLAGS) -libgstlibvisual_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBVISUAL_LIBS) -libgstlibvisual_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = visual.h diff --git a/ext/ogg/Makefile.am b/ext/ogg/Makefile.am deleted file mode 100644 index f7938f5a60..0000000000 --- a/ext/ogg/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -plugin_LTLIBRARIES = libgstogg.la - -libgstogg_la_SOURCES = \ - gstogg.c \ - gstoggdemux.c \ - gstoggmux.c \ - gstogmparse.c \ - gstoggaviparse.c \ - gstoggparse.c \ - gstoggstream.c \ - dirac_parse.c \ - vorbis_parse.c - -noinst_HEADERS = \ - gstogg.h \ - gstoggdemux.h \ - gstoggmux.h \ - gstoggstream.h \ - dirac_parse.h \ - vorbis_parse.h - -libgstogg_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(OGG_CFLAGS) \ - -Dschro_video_format_set_std_video_format=ogg_schro_video_format_set_std_video_format \ - -Dschro_video_format_set_std_frame_rate=ogg_schro_video_format_set_std_frame_rate \ - -Dschro_video_format_set_std_aspect_ratio=ogg_schro_video_format_set_std_aspect_ratio \ - -Dschro_video_format_set_std_signal_range=ogg_schro_video_format_set_std_signal_range \ - -Dschro_video_format_set_std_colour_spec=ogg_schro_video_format_set_std_colour_spec - -libgstogg_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/riff/libgstriff-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(OGG_LIBS) -libgstogg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/ext/opus/Makefile.am b/ext/opus/Makefile.am deleted file mode 100644 index 66369e8671..0000000000 --- a/ext/opus/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -plugin_LTLIBRARIES = libgstopus.la - -libgstopus_la_SOURCES = gstopus.c gstopusdec.c gstopusenc.c gstopusheader.c gstopuscommon.c -libgstopus_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(OPUS_CFLAGS) -libgstopus_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(OPUS_LIBS) -libgstopus_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBM) - -noinst_HEADERS = gstopusenc.h gstopusdec.h gstopusheader.h gstopuscommon.h diff --git a/ext/pango/Makefile.am b/ext/pango/Makefile.am deleted file mode 100644 index de7bf97887..0000000000 --- a/ext/pango/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -plugin_LTLIBRARIES = libgstpango.la - -noinst_HEADERS = \ - gstbasetextoverlay.h \ - gstclockoverlay.h \ - gsttextoverlay.h \ - gsttextrender.h \ - gsttimeoverlay.h - -libgstpango_la_SOURCES = \ - gstbasetextoverlay.c \ - gstclockoverlay.c \ - gsttextoverlay.c \ - gsttextrender.c \ - gsttimeoverlay.c - -libgstpango_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(PANGO_CFLAGS) -libgstpango_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(LIBM) \ - $(PANGO_LIBS) -libgstpango_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - diff --git a/ext/theora/Makefile.am b/ext/theora/Makefile.am deleted file mode 100644 index 900c5a9906..0000000000 --- a/ext/theora/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -plugin_LTLIBRARIES = libgsttheora.la - -noinst_HEADERS = gsttheoraenc.h \ - gsttheoradec.h \ - gsttheoraparse.h - -libgsttheora_la_SOURCES = gsttheora.c \ - gsttheoraenc.c \ - gsttheoradec.c \ - gsttheoraparse.c - -libgsttheora_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(THEORA_CFLAGS) -libgsttheora_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(THEORA_LIBS) -libgsttheora_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - diff --git a/ext/vorbis/Makefile.am b/ext/vorbis/Makefile.am deleted file mode 100644 index daf843dca0..0000000000 --- a/ext/vorbis/Makefile.am +++ /dev/null @@ -1,45 +0,0 @@ -plugin_LTLIBRARIES = - -if USE_VORBIS -plugin_LTLIBRARIES += libgstvorbis.la - -libgstvorbis_la_SOURCES = gstvorbis.c \ - gstvorbisdec.c \ - gstvorbisdeclib.c \ - gstvorbisenc.c \ - gstvorbisparse.c \ - gstvorbistag.c \ - gstvorbiscommon.c - -libgstvorbis_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(VORBIS_CFLAGS) -## AM_PATH_VORBIS also sets VORBISENC_LIBS -libgstvorbis_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_LIBS) \ - $(VORBIS_LIBS) $(VORBISENC_LIBS) -libgstvorbis_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -endif - -if USE_IVORBIS -plugin_LTLIBRARIES += libgstivorbisdec.la - -libgstivorbisdec_la_SOURCES = gstivorbisdec.c \ - gstvorbisdec.c gstvorbisdeclib.c gstvorbiscommon.c -libgstivorbisdec_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ - -DTREMOR $(IVORBIS_CFLAGS) -libgstivorbisdec_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_LIBS) $(IVORBIS_LIBS) -libgstivorbisdec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -endif - -noinst_HEADERS = gstvorbisenc.h \ - gstvorbisdec.h \ - gstvorbisdeclib.h \ - gstvorbisparse.h \ - gstvorbistag.h \ - gstvorbiscommon.h diff --git a/gst-libs/Makefile.am b/gst-libs/Makefile.am deleted file mode 100644 index 062cb55aab..0000000000 --- a/gst-libs/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = gst diff --git a/gst-libs/gst/Makefile.am b/gst-libs/gst/Makefile.am deleted file mode 100644 index 416e42f20d..0000000000 --- a/gst-libs/gst/Makefile.am +++ /dev/null @@ -1,63 +0,0 @@ -if USE_OPENGL -GL_DIR = gl -endif -if USE_GLES2 -GL_DIR = gl -endif - -SUBDIRS = \ - tag \ - fft \ - audio \ - rtp \ - sdp \ - rtsp \ - video \ - pbutils \ - riff \ - app \ - allocators \ - $(GL_DIR) - -DIST_SUBDIRS = \ - tag \ - fft \ - audio \ - rtp \ - sdp \ - rtsp \ - video \ - pbutils \ - riff \ - app \ - allocators \ - gl - -noinst_HEADERS = gettext.h gst-i18n-app.h gst-i18n-plugin.h glib-compat-private.h - -# dependencies: -audio: tag - -riff: tag audio - -rtsp: sdp - -pbutils: video audio - -rtp: audio - -sdp: rtp - -gl: video allocators - -INDEPENDENT_SUBDIRS = \ - tag audio fft video app - -.PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS) - -independent-subdirs: $(INDEPENDENT_SUBDIRS) - -$(INDEPENDENT_SUBDIRS): - $(MAKE) -C $@ - -all-recursive: independent-subdirs diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am deleted file mode 100644 index d12205466f..0000000000 --- a/gst-libs/gst/allocators/Makefile.am +++ /dev/null @@ -1,70 +0,0 @@ -lib_LTLIBRARIES = libgstallocators-@GST_API_VERSION@.la - -libgstallocators_@GST_API_VERSION@_includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/allocators - -libgstallocators_@GST_API_VERSION@_include_HEADERS = \ - allocators.h \ - allocators-prelude.h \ - gstfdmemory.h \ - gstphysmemory.h \ - gstdmabuf.h - -noinst_HEADERS = - -libgstallocators_@GST_API_VERSION@_la_SOURCES = \ - gstfdmemory.c \ - gstphysmemory.c \ - gstdmabuf.c - -libgstallocators_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS) $(LIBM) -libgstallocators_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_ALLOCATORS -libgstallocators_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstAllocators-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstallocators_@GST_API_VERSION@_include_HEADERS)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstallocators_@GST_API_VERSION@_la_SOURCES)) -gir_cincludes=$(patsubst %,--c-include='gst/allocators/%',$(libgstallocators_@GST_API_VERSION@_include_HEADERS)) - -GstAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstallocators-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstAllocators \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/allocators/allocators.h" \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --library=libgstallocators-@GST_API_VERSION@.la \ - --include=Gst-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg-export gstreamer-allocators-@GST_API_VERSION@ \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am deleted file mode 100644 index 11018b6945..0000000000 --- a/gst-libs/gst/app/Makefile.am +++ /dev/null @@ -1,87 +0,0 @@ -lib_LTLIBRARIES = libgstapp-@GST_API_VERSION@.la - -glib_enum_define = GST_APP -glib_gen_prefix = __gst_app -glib_gen_basename = app -glib_gen_decl_banner=GST_APP_API -glib_gen_decl_include=\#include - -glib_enum_headers = gstappsrc.h - -built_sources = app-enumtypes.c -built_headers = app-enumtypes.h -BUILT_SOURCES = $(built_sources) $(built_headers) - -include $(top_srcdir)/common/gst-glib-gen.mak - -libgstapp_@GST_API_VERSION@_la_SOURCES = gstappsrc.c gstappsink.c -nodist_libgstapp_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES) -libgstapp_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_APP -libgstapp_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) -libgstapp_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -libgstapp_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/app -libgstapp_@GST_API_VERSION@include_HEADERS = \ - app.h \ - app-prelude.h \ - gstappsrc.h \ - gstappsink.h -nodist_libgstapp_@GST_API_VERSION@include_HEADERS = app-enumtypes.h - -CLEANFILES = $(BUILT_SOURCES) - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstApp-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstapp_@GST_API_VERSION@include_HEADERS)) -gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstapp_@GST_API_VERSION@include_HEADERS)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstapp_@GST_API_VERSION@_la_SOURCES)) -gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstapp_@GST_API_VERSION@_la_SOURCES)) - -GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstApp \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/app/app.h" \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --library=libgstapp-@GST_API_VERSION@.la \ - --include=Gst-@GST_API_VERSION@ \ - --include=GstBase-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-base-@GST_API_VERSION@ \ - --pkg-export gstreamer-app-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst-libs/gst/audio/.gitignore b/gst-libs/gst/audio/.gitignore deleted file mode 100644 index 9e8783a59f..0000000000 --- a/gst-libs/gst/audio/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -audio-enumtypes.c -audio-enumtypes.h -gstaudiopack.h diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am deleted file mode 100644 index f2d46e8a81..0000000000 --- a/gst-libs/gst/audio/Makefile.am +++ /dev/null @@ -1,218 +0,0 @@ -# variables used for enum/marshal generation -ORC_SOURCE=gstaudiopack -include $(top_srcdir)/common/orc.mak - -glib_enum_headers= \ - audio.h \ - audio-format.h \ - audio-channels.h \ - audio-channel-mixer.h \ - audio-converter.h \ - audio-info.h \ - audio-quantize.h \ - audio-resampler.h \ - gstaudioringbuffer.h \ - gstaudiobasesrc.h \ - gstaudiocdsrc.h \ - gstaudiobasesink.h - -glib_enum_define = GST_AUDIO -glib_gen_prefix = gst_audio -glib_gen_basename = audio -glib_gen_decl_banner=GST_AUDIO_API -glib_gen_decl_include=\#include - -built_sources = audio-enumtypes.c -built_headers = audio-enumtypes.h -BUILT_SOURCES += $(built_sources) $(built_headers) - -lib_LTLIBRARIES = \ - libgstaudio-@GST_API_VERSION@.la - -CLEANFILES = $(BUILT_SOURCES) - -EXTRA_DIST += dbesi0.c - -libgstaudio_@GST_API_VERSION@_la_SOURCES = \ - audio.c \ - audio-buffer.c \ - audio-format.c \ - audio-channels.c \ - audio-channel-mixer.c \ - audio-converter.c \ - audio-info.c \ - audio-quantize.c \ - audio-resampler.c \ - gstaudioaggregator.c \ - gstaudioringbuffer.c \ - gstaudioclock.c \ - gstaudiocdsrc.c \ - gstaudiodecoder.c \ - gstaudioencoder.c \ - gstaudiobasesink.c \ - gstaudiobasesrc.c \ - gstaudiofilter.c \ - gstaudiometa.c \ - gstaudiosink.c \ - gstaudiosrc.c \ - gstaudioutilsprivate.c \ - streamvolume.c \ - gstaudioiec61937.c \ - gstaudiostreamalign.c - -nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES) - -libgstaudio_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/audio -libgstaudio_@GST_API_VERSION@include_HEADERS = \ - audio.h \ - audio-prelude.h \ - audio-format.h \ - audio-buffer.h \ - audio-channels.h \ - audio-channel-mixer.h \ - audio-converter.h \ - audio-info.h \ - audio-quantize.h \ - audio-resampler.h \ - gstaudioaggregator.h \ - gstaudioringbuffer.h \ - gstaudioclock.h \ - gstaudiofilter.h \ - gstaudiocdsrc.h \ - gstaudiodecoder.h \ - gstaudioencoder.h \ - gstaudiobasesink.h \ - gstaudiobasesrc.h \ - gstaudiometa.h \ - gstaudiosink.h \ - gstaudiosrc.h \ - streamvolume.h \ - gstaudioiec61937.h \ - gstaudiostreamalign.h - -nodist_libgstaudio_@GST_API_VERSION@include_HEADERS = \ - audio-enumtypes.h - -noinst_HEADERS = \ - gstaudioutilsprivate.h \ - audio-resampler-private.h \ - audio-resampler-macros.h \ - audio-resampler-x86.h \ - audio-resampler-x86-sse.h \ - audio-resampler-x86-sse2.h \ - audio-resampler-x86-sse41.h \ - audio-resampler-neon.h - -libgstaudio_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \ - $(ORC_CFLAGS) -DBUILDING_GST_AUDIO -libgstaudio_@GST_API_VERSION@_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(ORC_LIBS) -libgstaudio_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - - -# Arch-specific bits - -noinst_LTLIBRARIES = - -if HAVE_X86 -# Don't use full GST_LT_LDFLAGS in LDFLAGS because we get things like -# -version-info that cause a warning on private libs - -noinst_LTLIBRARIES += libaudio_resampler_sse.la -libaudio_resampler_sse_la_SOURCES = audio-resampler-x86-sse.c -libaudio_resampler_sse_la_CFLAGS = \ - $(libgstaudio_@GST_API_VERSION@_la_CFLAGS) \ - $(SSE_CFLAGS) -libaudio_resampler_sse_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) -libgstaudio_@GST_API_VERSION@_la_LIBADD += libaudio_resampler_sse.la - -noinst_LTLIBRARIES += libaudio_resampler_sse2.la -libaudio_resampler_sse2_la_SOURCES = audio-resampler-x86-sse2.c -libaudio_resampler_sse2_la_CFLAGS = \ - $(libgstaudio_@GST_API_VERSION@_la_CFLAGS) \ - $(SSE2_CFLAGS) -libaudio_resampler_sse2_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) -libgstaudio_@GST_API_VERSION@_la_LIBADD += libaudio_resampler_sse2.la - -noinst_LTLIBRARIES += libaudio_resampler_sse41.la -libaudio_resampler_sse41_la_SOURCES = audio-resampler-x86-sse41.c -libaudio_resampler_sse41_la_CFLAGS = \ - $(libgstaudio_@GST_API_VERSION@_la_CFLAGS) \ - $(SSE41_CFLAGS) -libaudio_resampler_sse41_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) -libgstaudio_@GST_API_VERSION@_la_LIBADD += libaudio_resampler_sse41.la - -endif - - -# Introspection - -include $(top_srcdir)/common/gst-glib-gen.mak - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstAudio-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@include_HEADERS)) -gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@_la_SOURCES)) -gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources)) - -GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstAudio \ - --nsversion=@GST_API_VERSION@ \ - --warn-all \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - --c-include "gst/audio/audio.h" \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --add-include-path="$(top_builddir)/gst-libs/gst/tag/" \ - --library=libgstaudio-@GST_API_VERSION@.la \ - --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-@GST_API_VERSION@` \ - --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-base-@GST_API_VERSION@` \ - --library-path="$(top_builddir)/gst-libs/gst/tag/" \ - --include=Gst-@GST_API_VERSION@ \ - --include=GstBase-@GST_API_VERSION@ \ - --include=GstTag-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-base-@GST_API_VERSION@ \ - --pkg-export gstreamer-audio-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir="$(top_builddir)/gst-libs/gst/tag/" \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst-libs/gst/fft/Makefile.am b/gst-libs/gst/fft/Makefile.am deleted file mode 100644 index 48bd5e5538..0000000000 --- a/gst-libs/gst/fft/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -lib_LTLIBRARIES = libgstfft-@GST_API_VERSION@.la - -libgstfft_@GST_API_VERSION@_includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/fft - -libgstfft_@GST_API_VERSION@_include_HEADERS = \ - fft.h \ - fft-prelude.h \ - gstfft.h \ - gstffts16.h \ - gstffts32.h \ - gstfftf32.h \ - gstfftf64.h - -noinst_HEADERS = \ - kiss_fft_s16.h \ - kiss_fft_s32.h \ - kiss_fft_f32.h \ - kiss_fft_f64.h \ - kiss_fftr_s16.h \ - kiss_fftr_s32.h \ - kiss_fftr_f32.h \ - kiss_fftr_f64.h \ - _kiss_fft_guts_s16.h \ - _kiss_fft_guts_s32.h \ - _kiss_fft_guts_f32.h \ - _kiss_fft_guts_f64.h - -libgstfft_@GST_API_VERSION@_la_SOURCES = \ - gstfft.c \ - gstffts16.c \ - gstffts32.c \ - gstfftf32.c \ - gstfftf64.c \ - kiss_fft_s16.c \ - kiss_fft_s32.c \ - kiss_fft_f32.c \ - kiss_fft_f64.c \ - kiss_fftr_s16.c \ - kiss_fftr_s32.c \ - kiss_fftr_f32.c \ - kiss_fftr_f64.c - -libgstfft_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS) $(LIBM) -libgstfft_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_FFT -libgstfft_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -EXTRA_DIST = kiss_version diff --git a/gst-libs/gst/gl/.gitignore b/gst-libs/gst/gl/.gitignore deleted file mode 100644 index 17bb00b3cb..0000000000 --- a/gst-libs/gst/gl/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -wayland/xdg-shell-client-protocol.[ch] -gstglconfig.h -stamp-gc-h diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am deleted file mode 100644 index 7977748d64..0000000000 --- a/gst-libs/gst/gl/Makefile.am +++ /dev/null @@ -1,253 +0,0 @@ -lib_LTLIBRARIES = libgstgl-@GST_API_VERSION@.la - -SUBDIRS = glprototypes -DIST_SUBDIRS = glprototypes android x11 win32 cocoa wayland dispmanx egl eagl viv-fb gbm - -built_sys_header_configure = gstglconfig.h - -libgstgl_@GST_API_VERSION@_la_SOURCES = \ - gstgldisplay.c \ - gstglcontext.c \ - gstgldebug.c \ - gstglbasememory.c \ - gstglbuffer.c \ - gstglmemory.c \ - gstglmemorypbo.c \ - gstglrenderbuffer.c \ - gstglbufferpool.c \ - gstglfilter.c \ - gstglformat.c \ - gstglbasefilter.c \ - gstglbasesrc.c \ - gstglshader.c \ - gstglshaderstrings.c \ - gstglsl.c \ - gstglslstage.c \ - gstglcolorconvert.c \ - gstglupload.c \ - gstglwindow.c \ - gstglapi.c \ - gstglfeature.c \ - gstglutils.c \ - gstglframebuffer.c \ - gstglsyncmeta.c \ - gstglviewconvert.c \ - gstgloverlaycompositor.c \ - gstglquery.c - -libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl - -gstgl_headers = \ - gstglwindow.h \ - gstgldisplay.h \ - gstglcontext.h \ - gstgldebug.h \ - gstglbasememory.h \ - gstglbuffer.h \ - gstglmemory.h \ - gstglmemorypbo.h \ - gstglrenderbuffer.h \ - gstglbufferpool.h \ - gstglfilter.h \ - gstglformat.h \ - gstglbasefilter.h \ - gstglbasesrc.h \ - gstglshader.h \ - gstglshaderstrings.h \ - gstglsl.h \ - gstglslstage.h \ - gstglcolorconvert.h \ - gstglupload.h \ - gstglapi.h \ - gstglfeature.h \ - gstglutils.h \ - gstglframebuffer.h \ - gstglsyncmeta.h \ - gstglviewconvert.h \ - gstgloverlaycompositor.h \ - gstglquery.h \ - gstgl_fwd.h \ - gstgl_enums.h \ - gl-prelude.h \ - gl.h - -libgstgl_@GST_API_VERSION@include_HEADERS = \ - gstglfuncs.h \ - $(gstgl_headers) - -noinst_HEADERS = \ - gstglcontext_private.h \ - gstglfeature_private.h \ - gstglsl_private.h \ - gstglwindow_private.h \ - gstglutils_private.h \ - utils/opengl_versions.h \ - utils/gles_versions.h - - -libgstgl_@GST_API_VERSION@_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/allocators/libgstallocators-@GST_API_VERSION@.la \ - $(GMODULE_NO_EXPORT_LIBS) \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(GL_LIBS) - -gstgl_gir_headers = $(gstgl_headers) -gstgl_gir_sources = $(libgstgl_@GST_API_VERSION@_la_SOURCES) - -if HAVE_WINDOW_WIN32 -SUBDIRS += win32 -libgstgl_@GST_API_VERSION@_la_LIBADD += win32/libgstgl-win32.la -endif - -if HAVE_WINDOW_COCOA -SUBDIRS += cocoa -libgstgl_@GST_API_VERSION@_la_LIBADD += cocoa/libgstgl-cocoa.la -endif - -if HAVE_WINDOW_X11 -SUBDIRS += x11 -libgstgl_@GST_API_VERSION@_la_LIBADD += x11/libgstgl-x11.la -gstgl_gir_headers += x11/gstgldisplay_x11.h -gstgl_gir_sources += x11/gstgldisplay_x11.c -endif - -if HAVE_WINDOW_WAYLAND -SUBDIRS += wayland -libgstgl_@GST_API_VERSION@_la_LIBADD += wayland/libgstgl-wayland.la -gstgl_gir_headers += wayland/gstgldisplay_wayland.h -gstgl_gir_sources += wayland/gstgldisplay_wayland.c -endif - -if HAVE_WINDOW_DISPMANX -SUBDIRS += dispmanx -libgstgl_@GST_API_VERSION@_la_LIBADD += dispmanx/libgstgl-dispmanx.la -endif - -if HAVE_WINDOW_ANDROID -SUBDIRS += android -libgstgl_@GST_API_VERSION@_la_LIBADD += android/libgstgl-android.la -endif - -if HAVE_WINDOW_EAGL -SUBDIRS += eagl -libgstgl_@GST_API_VERSION@_la_LIBADD += eagl/libgstgl-eagl.la -endif - -if HAVE_WINDOW_VIV_FB -SUBDIRS += viv-fb -libgstgl_@GST_API_VERSION@_la_LIBADD += viv-fb/libgstgl-viv-fb.la -endif - -if HAVE_WINDOW_GBM -SUBDIRS += gbm -libgstgl_@GST_API_VERSION@_la_LIBADD += gbm/libgstgl-gbm.la -endif - -if USE_EGL -SUBDIRS += egl -libgstgl_@GST_API_VERSION@_la_LIBADD += egl/libgstgl-egl.la -gstgl_gir_headers += egl/gstgldisplay_egl.h -gstgl_gir_headers += egl/gstgldisplay_egl_device.h -gstgl_gir_sources += egl/gstgldisplay_egl.c -gstgl_gir_sources += egl/gstgldisplay_egl_device.c -endif - -configexecincludedir = $(libdir)/gstreamer-@GST_API_VERSION@/include/gst/gl -nodist_configexecinclude_HEADERS = $(built_sys_header_configure) - -libgstgl_@GST_API_VERSION@_la_CFLAGS = \ - -DBUILDING_GST_GL \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(GL_CFLAGS) - -libgstgl_@GST_API_VERSION@_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) \ - $(GST_LT_LDFLAGS) - -# DISTCLEANFILES is for files generated by configure -DISTCLEANFILES = $(built_sys_header_configure) - -glib_enum_headers = $(gstgl_headers) -glib_enum_define = GST_GL -glib_gen_prefix = gst_gl -glib_gen_basename = gl -glib_gen_decl_banner=GST_GL_API -glib_gen_decl_include=\#include - -built_sources = gl-enumtypes.c -built_headers = gl-enumtypes.h -BUILT_SOURCES = $(built_sources) $(built_headers) - -CLEANFILES = $(BUILT_SOURCES) - -nodist_libgstgl_@GST_API_VERSION@include_HEADERS = $(built_headers) -nodist_libgstgl_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES) - -include $(top_srcdir)/common/gst-glib-gen.mak - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstGL-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(gstgl_gir_headers)) -gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers)) -gir_sources=$(patsubst %,$(srcdir)/%, $(gstgl_gir_sources)) -gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources)) - -GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstGL \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/gl/gl.h" \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GL_CFLAGS) \ - --add-include-path="$(top_builddir)/gst-libs/gst/video/" \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --library-path="$(top_builddir)/gst-libs/gst/video/" \ - --library=libgstgl-@GST_API_VERSION@.la \ - --include=Gst-@GST_API_VERSION@ \ - --include=GstBase-@GST_API_VERSION@ \ - --include=GstVideo-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-base-@GST_API_VERSION@ \ - --pkg gstreamer-video-@GST_API_VERSION@ \ - --pkg-export gstreamer-gl-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir="$(top_builddir)/gst-libs/gst/video/" \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst-libs/gst/gl/android/Makefile.am b/gst-libs/gst/gl/android/Makefile.am deleted file mode 100644 index 4623677378..0000000000 --- a/gst-libs/gst/gl/android/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-android.la - -libgstgl_android_la_SOURCES = \ - gstglwindow_android_egl.c - -noinst_HEADERS = \ - gstglwindow_android_egl.h - -libgstgl_android_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_android_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) diff --git a/gst-libs/gst/gl/cocoa/Makefile.am b/gst-libs/gst/gl/cocoa/Makefile.am deleted file mode 100644 index e59e30a18d..0000000000 --- a/gst-libs/gst/gl/cocoa/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-cocoa.la - -libgstgl_cocoa_la_SOURCES = \ - gstglwindow_cocoa.m \ - gstglcontext_cocoa.m \ - gstgldisplay_cocoa.m \ - gstglcaopengllayer.m - -noinst_HEADERS = \ - gstglcontext_cocoa.h \ - gstglwindow_cocoa.h \ - gstgl_cocoa_private.h - -libgstgl_cocoaincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/cocoa -libgstgl_cocoainclude_HEADERS = \ - gstglcaopengllayer.h \ - gstgldisplay_cocoa.h - -libgstgl_cocoa_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_cocoa_la_OBJCFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -fobjc-arc \ - $(GL_OBJCFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_OBJCFLAGS) - -libgstgl_cocoa_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) - -libgstgl_cocoa_la_LIBTOOLFLAGS = --tag=CC diff --git a/gst-libs/gst/gl/dispmanx/Makefile.am b/gst-libs/gst/gl/dispmanx/Makefile.am deleted file mode 100644 index 70feffb322..0000000000 --- a/gst-libs/gst/gl/dispmanx/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-dispmanx.la - -libgstgl_dispmanx_la_SOURCES = \ - gstglwindow_dispmanx_egl.c - -noinst_HEADERS = \ - gstglwindow_dispmanx_egl.h - -libgstgl_dispmanx_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_dispmanx_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) diff --git a/gst-libs/gst/gl/eagl/Makefile.am b/gst-libs/gst/gl/eagl/Makefile.am deleted file mode 100644 index d644bb0955..0000000000 --- a/gst-libs/gst/gl/eagl/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-eagl.la - -libgstgl_eagl_la_SOURCES = \ - gstglwindow_eagl.m \ - gstglcontext_eagl.m - -noinst_HEADERS = \ - gstglwindow_eagl.h \ - gstglcontext_eagl.h - -libgstgl_eagl_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_eagl_la_OBJCFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -fobjc-arc \ - $(GL_CFLAGS) \ - $(GL_OBJCFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_eagl_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) - -libgstgl_eagl_la_LIBTOOLFLAGS = --tag=CC diff --git a/gst-libs/gst/gl/egl/Makefile.am b/gst-libs/gst/gl/egl/Makefile.am deleted file mode 100644 index 53e5b14153..0000000000 --- a/gst-libs/gst/gl/egl/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-egl.la - -libgstgl_egl_la_SOURCES = \ - gstgldisplay_egl.c \ - gstglcontext_egl.c \ - gstglmemoryegl.c \ - gsteglimage.c \ - gstegl.c \ - gstgldisplay_egl_device.c - -noinst_HEADERS = \ - gstglcontext_egl.h - -libgstgl_eglincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/egl -libgstgl_eglinclude_HEADERS = \ - gstgldisplay_egl.h \ - gstglmemoryegl.h \ - gsteglimage.h \ - gstegl.h \ - gstgldisplay_egl_device.h - -libgstgl_egl_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_egl_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) diff --git a/gst-libs/gst/gl/gbm/Makefile.am b/gst-libs/gst/gl/gbm/Makefile.am deleted file mode 100644 index 7ee0bdbb1b..0000000000 --- a/gst-libs/gst/gl/gbm/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-gbm.la - -libgstgl_gbm_la_SOURCES = \ - gstgl_gbm_utils.c \ - gstgldisplay_gbm.c \ - gstglwindow_gbm_egl.c - -noinst_HEADERS = \ - gstgl_gbm_utils.h \ - gstgldisplay_gbm.h \ - gstglwindow_gbm_egl.h - -libgstgl_gbm_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(DRM_CFLAGS) \ - $(GBM_CFLAGS) \ - $(G_UDEV_CFLAGS) - -libgstgl_gbm_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) \ - $(DRM_LIBS) \ - $(GBM_LIBS) \ - $(G_UDEV_LIBS) diff --git a/gst-libs/gst/gl/glprototypes/Makefile.am b/gst-libs/gst/gl/glprototypes/Makefile.am deleted file mode 100644 index 54ebc27ce5..0000000000 --- a/gst-libs/gst/gl/glprototypes/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -prototypedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/glprototypes - -prototype_HEADERS = \ - all_functions.h \ - base.h \ - blending.h \ - eglimage.h \ - fbo.h \ - fixedfunction.h \ - gles.h \ - opengl.h \ - shaders.h \ - gstgl_compat.h \ - gstgl_gles2compat.h \ - debug.h \ - vao.h \ - sync.h \ - buffers.h \ - query.h - diff --git a/gst-libs/gst/gl/viv-fb/Makefile.am b/gst-libs/gst/gl/viv-fb/Makefile.am deleted file mode 100644 index 7c8942553f..0000000000 --- a/gst-libs/gst/gl/viv-fb/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-viv-fb.la - -libgstgl_viv_fb_la_SOURCES = \ - gstgldisplay_viv_fb.c \ - gstglwindow_viv_fb_egl.c - -noinst_HEADERS = \ - gstgldisplay_viv_fb.h \ - gstglwindow_viv_fb_egl.h - -libgstgl_viv_fbincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/viv-fb -libgstgl_viv_fbinclude_HEADERS = \ - gstgldisplay_viv_fb.h - -libgstgl_viv_fb_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_viv_fb_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) diff --git a/gst-libs/gst/gl/wayland/Makefile.am b/gst-libs/gst/gl/wayland/Makefile.am deleted file mode 100644 index 07fd88998e..0000000000 --- a/gst-libs/gst/gl/wayland/Makefile.am +++ /dev/null @@ -1,44 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-wayland.la - -xdg_shell_protocol_spec = $(WAYLAND_PROTOCOLS_DATADIR)/stable/xdg-shell/xdg-shell.xml -xdg-shell-client-protocol.h: $(xdg_shell_protocol_spec) - $(AM_V_GEN) $(WAYLAND_SCANNER) client-header < $< > $@ -xdg-shell-client-protocol.c: $(xdg_shell_protocol_spec) - $(AM_V_GEN) $(WAYLAND_SCANNER) private-code < $< > $@ - -built_sources = xdg-shell-client-protocol.c -built_headers = xdg-shell-client-protocol.h - -BUILT_SOURCES = $(built_sources) $(built_headers) -CLEANFILES = $(BUILT_SOURCES) - -libgstgl_wayland_la_SOURCES = \ - gstgldisplay_wayland.c \ - gstglwindow_wayland_egl.c \ - wayland_event_source.c \ - $(built_sources) - -noinst_HEADERS = \ - gstgldisplay_wayland_private.h \ - gstglwindow_wayland_egl.h \ - wayland_event_source.h \ - $(built_headers) - -libgstgl_waylandincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/wayland -libgstgl_waylandinclude_HEADERS = \ - gstgldisplay_wayland.h - -libgstgl_wayland_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_wayland_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) diff --git a/gst-libs/gst/gl/win32/Makefile.am b/gst-libs/gst/gl/win32/Makefile.am deleted file mode 100644 index 36930bb728..0000000000 --- a/gst-libs/gst/gl/win32/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-win32.la - -libgstgl_win32_la_SOURCES = \ - gstglwindow_win32.c - -noinst_HEADERS = \ - gstglwindow_win32.h - -if USE_WGL -libgstgl_win32_la_SOURCES += gstglcontext_wgl.c -noinst_HEADERS += gstglcontext_wgl.h -endif - -libgstgl_win32_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_win32_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) diff --git a/gst-libs/gst/gl/x11/Makefile.am b/gst-libs/gst/gl/x11/Makefile.am deleted file mode 100644 index 7557551ee6..0000000000 --- a/gst-libs/gst/gl/x11/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -## Process this file with automake to produce Makefile.in - -noinst_LTLIBRARIES = libgstgl-x11.la - -libgstgl_x11_la_SOURCES = \ - gstgldisplay_x11.c \ - gstglwindow_x11.c \ - xcb_event_source.c - -noinst_HEADERS = \ - gstglwindow_x11.h \ - xcb_event_source.h - -libgstgl_x11includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/x11 -libgstgl_x11include_HEADERS = \ - gstgldisplay_x11.h - -if USE_GLX -libgstgl_x11_la_SOURCES += gstglcontext_glx.c -noinst_HEADERS += gstglcontext_glx.h -endif - -libgstgl_x11_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - -DBUILDING_GST_GL \ - $(GL_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstgl_x11_la_LDFLAGS = \ - $(GST_LIB_LDFLAGS) \ - $(GST_ALL_LDFLAGS) diff --git a/gst-libs/gst/pbutils/.gitignore b/gst-libs/gst/pbutils/.gitignore deleted file mode 100644 index 71267e4770..0000000000 --- a/gst-libs/gst/pbutils/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -pbutils-enumtypes.c -pbutils-enumtypes.h -pbutils-marshal.c -pbutils-marshal.h diff --git a/gst-libs/gst/pbutils/Makefile.am b/gst-libs/gst/pbutils/Makefile.am deleted file mode 100644 index a771d5a8a1..0000000000 --- a/gst-libs/gst/pbutils/Makefile.am +++ /dev/null @@ -1,139 +0,0 @@ -lib_LTLIBRARIES = libgstpbutils-@GST_API_VERSION@.la - -headers_pbutils = \ - pbutils.h \ - pbutils-prelude.h \ - codec-utils.h \ - descriptions.h \ - encoding-profile.h \ - encoding-target.h \ - install-plugins.h \ - missing-plugins.h \ - gstdiscoverer.h \ - gstaudiovisualizer.h - -# variables used for enum/marshal generation -glib_enum_headers = $(headers_pbutils) -glib_enum_define = PB_UTILS -glib_gen_prefix = pbutils -glib_gen_basename = pbutils -glib_gen_decl_banner=GST_PBUTILS_API -glib_gen_decl_include=\#include - -built_headers_configure = \ - gstpluginsbaseversion.h - -libgstpbutils_@GST_API_VERSION@_la_SOURCES = \ - gstpluginsbaseversion.c \ - pbutils.c \ - codec-utils.c \ - descriptions.c \ - encoding-profile.c \ - encoding-target.c \ - install-plugins.c \ - missing-plugins.c \ - gstdiscoverer.c \ - gstdiscoverer-types.c \ - gstaudiovisualizer.c - -nodist_libgstpbutils_@GST_API_VERSION@_la_SOURCES = \ - pbutils-enumtypes.c - -libgstpbutils_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/pbutils -libgstpbutils_@GST_API_VERSION@include_HEADERS = \ - $(headers_pbutils) -nodist_libgstpbutils_@GST_API_VERSION@include_HEADERS = \ - $(built_headers_configure) \ - pbutils-enumtypes.h -noinst_HEADERS = \ - pbutils-private.h - -libgstpbutils_@GST_API_VERSION@_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) -libgstpbutils_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_PBUTILS -libgstpbutils_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -BUILT_SOURCES = \ - pbutils-enumtypes.c \ - pbutils-enumtypes.h - -CLEANFILES = $(BUILT_SOURCES) - -# DISTCLEANFILES is for files generated by configure -DISTCLEANFILES = $(built_headers_configure) - -include $(top_srcdir)/common/gst-glib-gen.mak - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstPbutils-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_API_VERSION@include_HEADERS)) -gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_API_VERSION@include_HEADERS)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_API_VERSION@_la_SOURCES)) -gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_API_VERSION@_la_SOURCES)) - -GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstPbutils \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/pbutils/pbutils.h" \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --add-include-path="$(top_builddir)/gst-libs/gst/tag/" \ - --add-include-path="$(top_builddir)/gst-libs/gst/video/" \ - --add-include-path="$(top_builddir)/gst-libs/gst/audio/" \ - --library=libgstpbutils-@GST_API_VERSION@.la \ - --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-@GST_API_VERSION@` \ - --library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-base-@GST_API_VERSION@` \ - --library-path="$(top_builddir)/gst-libs/gst/tag/" \ - --library-path="$(top_builddir)/gst-libs/gst/video/" \ - --library-path="$(top_builddir)/gst-libs/gst/audio/" \ - --include=Gst-@GST_API_VERSION@ \ - --include=GstTag-@GST_API_VERSION@ \ - --include=GstVideo-@GST_API_VERSION@ \ - --include=GstAudio-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-tag-@GST_API_VERSION@ \ - --pkg gstreamer-video-@GST_API_VERSION@ \ - --pkg gstreamer-audio-@GST_API_VERSION@ \ - --pkg-export gstreamer-pbutils-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --includedir="$(top_builddir)/gst-libs/gst/tag/" \ - --includedir="$(top_builddir)/gst-libs/gst/video/" \ - --includedir="$(top_builddir)/gst-libs/gst/audio/" \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst-libs/gst/pbutils/install-plugins.c b/gst-libs/gst/pbutils/install-plugins.c index a821bb1fb3..f9c6e47d63 100644 --- a/gst-libs/gst/pbutils/install-plugins.c +++ b/gst-libs/gst/pbutils/install-plugins.c @@ -108,15 +108,15 @@ * pre-defined helper application will be called. * * The exact path of the helper application to be called is set at compile - * time, usually by the `./configure` script based on the install prefix. + * time, usually by the build system based on the install prefix. * For a normal package build into the `/usr` prefix, this will usually * default to `/usr/libexec/gst-install-plugins-helper` or * `/usr/lib/gst-install-plugins-helper`. * * Vendors/distros who want to support GStreamer plugin installation should - * either provide such a helper script/application or use the `./configure` - * option `--with-install-plugins-helper=/path/to/installer` to make - * GStreamer call an installer of their own directly. + * either provide such a helper script/application or use the meson option + * `-Dinstall_plugins_helper'=/path/to/installer` to make GStreamer call an + * installer of their own directly. * * It is strongly recommended that vendors provide a small helper * application as interlocutor to the real installer though, even more so diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am deleted file mode 100644 index 8f32b48d65..0000000000 --- a/gst-libs/gst/riff/Makefile.am +++ /dev/null @@ -1,83 +0,0 @@ -lib_LTLIBRARIES = libgstriff-@GST_API_VERSION@.la - -libgstriff_@GST_API_VERSION@_la_SOURCES = \ - riff.c \ - riff-media.c \ - riff-read.c - -libgstriff_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/riff -libgstriff_@GST_API_VERSION@include_HEADERS = \ - riff.h \ - riff-prelude.h \ - riff-ids.h \ - riff-media.h \ - riff-read.h - -libgstriff_@GST_API_VERSION@_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) - -libgstriff_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_RIFF -libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -# *** GIR DISABLED for this library *** -# -# This library does not respect the type naming conventions required to be -# usable in binded languages. -# -#if HAVE_INTROSPECTION -#BUILT_GIRSOURCES = GstRiff-@GST_API_VERSION@.gir -# -#gir_headers=$(patsubst %,$(srcdir)/%, $(libgstriff_@GST_API_VERSION@include_HEADERS)) -#gir_sources=$(patsubst %,$(srcdir)/%, $(libgstriff_@GST_API_VERSION@_la_SOURCES)) -# -#GstRiff-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstriff-@GST_API_VERSION@.la -# $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ -# GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ -# CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ -# $(INTROSPECTION_SCANNER) -v --namespace GstRiff \ -# --nsversion=@GST_API_VERSION@ \ -# --strip-prefix=Gst \ -# --warn-all \ -# --c-include "gst/riff/riff.h" \ -# --add-include-path=$(builddir)/../tag \ -# --add-include-path=$(builddir)/../audio \ -# --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ -# --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ -# --library=libgstriff-@GST_API_VERSION@.la \ -# --include=GstAudio-@GST_API_VERSION@ \ -# --include=GstTag-@GST_API_VERSION@ \ -# --include=Gst-@GST_API_VERSION@ \ -# --libtool="${LIBTOOL}" \ -# --pkg gstreamer-@GST_API_VERSION@ \ -# --pkg gstreamer-tag-@GST_API_VERSION@ \ -# --pkg gstreamer-audio-@GST_API_VERSION@ \ -# --pkg-export gstreamer-riff-@GST_API_VERSION@ \ -# --add-init-section="$(INTROSPECTION_INIT)" \ -# --output $@ \ -# $(gir_headers) \ -# $(gir_sources) -# -## INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -## install anything - we need to install inside our prefix. -#girdir = $(datadir)/gir-1.0 -#gir_DATA = $(BUILT_GIRSOURCES) -# -#typelibsdir = $(libdir)/girepository-1.0/ -# -#typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) -# -#%.typelib: %.gir $(INTROSPECTION_COMPILER) -# $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ -# $(INTROSPECTION_COMPILER) \ -# --includedir=$(srcdir) \ -# --includedir=$(builddir) \ -# --includedir=$(builddir)/../tag \ -# --includedir=$(builddir)/../audio \ -# --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ -# --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ -# $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) -# -#CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) -#endif diff --git a/gst-libs/gst/rtp/Makefile.am b/gst-libs/gst/rtp/Makefile.am deleted file mode 100644 index f6b9963247..0000000000 --- a/gst-libs/gst/rtp/Makefile.am +++ /dev/null @@ -1,102 +0,0 @@ -libgstrtpincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/rtp - -libgstrtpinclude_HEADERS = \ - rtp.h \ - rtp-prelude.h \ - gstrtpdefs.h \ - gstrtpbuffer.h \ - gstrtcpbuffer.h \ - gstrtppayloads.h \ - gstrtphdrext.h \ - gstrtpbaseaudiopayload.h \ - gstrtpbasepayload.h \ - gstrtpbasedepayload.h \ - gstrtpmeta.h - -lib_LTLIBRARIES = libgstrtp-@GST_API_VERSION@.la - -libgstrtp_@GST_API_VERSION@_la_SOURCES = gstrtpbuffer.c \ - gstrtcpbuffer.c \ - gstrtppayloads.c \ - gstrtphdrext.c \ - gstrtpbaseaudiopayload.c \ - gstrtpbasepayload.c \ - gstrtpbasedepayload.c \ - gstrtpmeta.c - -built_sources = gstrtp-enumtypes.c -built_headers = gstrtp-enumtypes.h - -libgstrtp_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_RTP -libgstrtp_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) -libgstrtp_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -nodist_libgstrtp_@GST_API_VERSION@_la_SOURCES = $(built_sources) -nodist_libgstrtpinclude_HEADERS = gstrtp-enumtypes.h - -BUILT_SOURCES = $(built_headers) $(built_sources) -CLEANFILES = $(BUILT_SOURCES) - -glib_gen_prefix = __gst_rtp -glib_enum_define = gst_rtp -glib_enum_headers = $(libgstrtpinclude_HEADERS) -glib_gen_basename = gstrtp -glib_gen_decl_banner=GST_RTP_API -glib_gen_decl_include=\#include - -include $(top_srcdir)/common/gst-glib-gen.mak - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstRtp-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtpinclude_HEADERS)) -gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtpinclude_HEADERS)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtp_@GST_API_VERSION@_la_SOURCES)) -gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtp_@GST_API_VERSION@_la_SOURCES)) - -GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstRtp \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/rtp/rtp.h" \ - -I$(top_builddir)/gst-libs \ - -I$(top_srcdir)/gst-libs \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --library=libgstrtp-@GST_API_VERSION@.la \ - --include=Gst-@GST_API_VERSION@ \ - --include=GstBase-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-base-@GST_API_VERSION@ \ - --pkg-export gstreamer-rtp-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst-libs/gst/rtsp/.gitignore b/gst-libs/gst/rtsp/.gitignore deleted file mode 100644 index c6f59e174a..0000000000 --- a/gst-libs/gst/rtsp/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -gstrtsp-enumtypes.c -gstrtsp-enumtypes.h diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am deleted file mode 100644 index 02aaf4f9af..0000000000 --- a/gst-libs/gst/rtsp/Makefile.am +++ /dev/null @@ -1,112 +0,0 @@ -libgstrtspincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/rtsp - -libgstrtspinclude_HEADERS = \ - rtsp.h \ - rtsp-prelude.h \ - gstrtsp.h \ - gstrtsptransport.h \ - gstrtspurl.h \ - gstrtspmessage.h \ - gstrtspconnection.h \ - gstrtspdefs.h \ - gstrtspextension.h \ - gstrtsprange.h - -#gstrtspextreal.h -#gstrtspextwms.h - -lib_LTLIBRARIES = libgstrtsp-@GST_API_VERSION@.la - -built_sources = gstrtsp-enumtypes.c -built_headers = gstrtsp-enumtypes.h - -libgstrtsp_@GST_API_VERSION@_la_SOURCES = gstrtsptransport.c \ - gstrtspurl.c \ - gstrtspmessage.c \ - gstrtspconnection.c \ - gstrtspdefs.c \ - gstrtspextension.c \ - gstrtsprange.c - -nodist_libgstrtsp_@GST_API_VERSION@_la_SOURCES = $(built_sources) -nodist_libgstrtspinclude_HEADERS = gstrtsp-enumtypes.h - -#gstrtspextwms.c -#rtspextreal.c - -libgstrtsp_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -DBUILDING_GST_RTSP -libgstrtsp_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS) $(LIBM) -libgstrtsp_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) $(WIN32_LIBS) - -BUILT_SOURCES = $(built_headers) $(built_sources) -CLEANFILES = $(BUILT_SOURCES) - -glib_gen_prefix = __gst_rtsp -glib_enum_define = gst_rtsp -glib_enum_headers = $(libgstrtspinclude_HEADERS) -glib_gen_basename = gstrtsp -glib_gen_decl_banner=GST_RTSP_API -glib_gen_decl_include=\#include - -include $(top_srcdir)/common/gst-glib-gen.mak - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstRtsp-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtspinclude_HEADERS)) -gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtspinclude_HEADERS)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtsp_@GST_API_VERSION@_la_SOURCES)) -gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtsp_@GST_API_VERSION@_la_SOURCES)) - -GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstRtsp \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/rtsp/rtsp.h" \ - -I$(top_builddir)/gst-libs \ - -I$(top_srcdir)/gst-libs \ - --add-include-path=$(builddir)/../sdp \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --library=libgstrtsp-@GST_API_VERSION@.la \ - --include=Gio-2.0 \ - --include=Gst-@GST_API_VERSION@ \ - --include=GstBase-@GST_API_VERSION@ \ - --include=GstSdp-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gio-2.0 \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-base-@GST_API_VERSION@ \ - --pkg gstreamer-sdp-@GST_API_VERSION@ \ - --pkg-export gstreamer-rtsp-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir=$(builddir)/../sdp \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst-libs/gst/sdp/Makefile.am b/gst-libs/gst/sdp/Makefile.am deleted file mode 100644 index cf8c001adb..0000000000 --- a/gst-libs/gst/sdp/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -libgstsdpincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/sdp - -libgstsdpinclude_HEADERS = sdp.h \ - sdp-prelude.h \ - gstsdp.h \ - gstmikey.h \ - gstsdpmessage.h - -lib_LTLIBRARIES = libgstsdp-@GST_API_VERSION@.la - -libgstsdp_@GST_API_VERSION@_la_SOURCES = gstsdpmessage.c gstmikey.c - -libgstsdp_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -DBUILDING_GST_SDP -libgstsdp_@GST_API_VERSION@_la_LIBADD = $(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la $(GST_LIBS) $(GIO_LIBS) -libgstsdp_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstSdp-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstsdpinclude_HEADERS)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstsdp_@GST_API_VERSION@_la_SOURCES)) - -GstSdp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstSdp \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/sdp/sdp.h" \ - -I$(top_srcdir)/gst-libs \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --library=libgstsdp-@GST_API_VERSION@.la \ - --include=Gst-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg-export gstreamer-sdp-@GST_API_VERSION@ \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst-libs/gst/tag/Makefile.am b/gst-libs/gst/tag/Makefile.am deleted file mode 100644 index 83bda29eb1..0000000000 --- a/gst-libs/gst/tag/Makefile.am +++ /dev/null @@ -1,129 +0,0 @@ -libgsttagincludedir = \ - $(includedir)/gstreamer-@GST_API_VERSION@/gst/tag - -glib_enum_define = GST_TAG -glib_gen_prefix = gst_tag -glib_gen_basename = tag -glib_gen_decl_banner=GST_TAG_API -glib_gen_decl_include=\#include - -glib_enum_headers = tag.h gsttagdemux.h - -built_sources = tag-enumtypes.c -built_headers = tag-enumtypes.h -BUILT_SOURCES = $(built_sources) $(built_headers) - -include $(top_srcdir)/common/gst-glib-gen.mak - -libgsttaginclude_HEADERS = \ - tag.h tag-prelude.h gsttagdemux.h gsttagmux.h xmpwriter.h -nodist_libgsttaginclude_HEADERS = tag-enumtypes.h - -CLEANFILES = $(BUILT_SOURCES) - -lib_LTLIBRARIES = libgsttag-@GST_API_VERSION@.la - -libgsttag_@GST_API_VERSION@_la_SOURCES = \ - gstvorbistag.c gstid3tag.c gstxmptag.c gstexiftag.c \ - lang.c licenses.c tags.c gsttagdemux.c gsttagmux.c \ - gsttageditingprivate.c id3v2.c id3v2frames.c xmpwriter.c -nodist_libgsttag_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES) - -libgsttag_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(ZLIB_CFLAGS) -DBUILDING_GST_TAG \ - -DLICENSE_TRANSLATIONS_PATH=\"$(pkgdatadir)/@GST_API_VERSION@/license-translations.dict\" -libgsttag_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(ZLIB_LIBS) -libgsttag_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -# lang-tables.dat contains generated static data and is included by lang.c -# licenses-tables.dat contains generated data and is included by licenses.c -EXTRA_DIST = lang-tables.dat licenses-tables.dat license-translations.dict - -noinst_HEADERS = gsttageditingprivate.h id3v2.h - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstTag-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgsttaginclude_HEADERS)) -gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgsttaginclude_HEADERS)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgsttag_@GST_API_VERSION@_la_SOURCES)) -gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgsttag_@GST_API_VERSION@_la_SOURCES)) - -GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstTag \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/tag/tag.h" \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --library=libgsttag-@GST_API_VERSION@.la \ - --include=Gst-@GST_API_VERSION@ \ - --include=GstBase-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-base-@GST_API_VERSION@ \ - --pkg-export gstreamer-tag-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif - -# little program that reads iso_639.xml and outputs tables for us as fallback -# for when iso-codes are not available (and so we don't have to read the xml -# just to map codes) -mklangtables_SOURCES = mklangtables.c -mklangtables_CFLAGS = $(GST_CFLAGS) -mklangtables_LDADD = $(GST_LIBS) - -mklicensestables_SOURCES = mklicensestables.c -mklicensestables_CFLAGS = $(GST_CFLAGS) -mklicensestables_LDADD = $(GST_LIBS) - -EXTRA_PROGRAMS = mklangtables mklicensestables - -update-isocodes: mklangtables - $(builddir)/mklangtables > $(srcdir)/lang-tables.dat && \ - echo "Updated lang-tables.dat" - -update-licenses: mklicensestables - $(builddir)/mklicensestables \ - --translation-dictionary=$(srcdir)/license-translations.dict \ - > $(srcdir)/licenses-tables.dat && \ - echo "Updated licenses-tables.dat and license-translations.dict" - -#if USE_NLS -# Yes, this is not great, but it's only an implementation detail. The -# translations come from an external source here, so we don't want the -# strings retranslated, but also we don't want to create 30 1kB .mo files, -# so just do something for now, we can change it later if someone really cares. -licensetransdir = $(pkgdatadir)/@GST_API_VERSION@ -licensetrans_DATA = $(srcdir)/license-translations.dict -#endif diff --git a/gst-libs/gst/video/.gitignore b/gst-libs/gst/video/.gitignore deleted file mode 100644 index 36b511d63f..0000000000 --- a/gst-libs/gst/video/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -video-enumtypes.c -video-enumtypes.h -video-orc.h diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am deleted file mode 100644 index 77e15cf649..0000000000 --- a/gst-libs/gst/video/Makefile.am +++ /dev/null @@ -1,162 +0,0 @@ -# variables used for enum generation -ORC_SOURCE=video-orc -include $(top_srcdir)/common/orc.mak - -glib_enum_headers = video.h video-format.h video-color.h video-info.h video-dither.h \ - colorbalance.h navigation.h video-chroma.h video-tile.h video-converter.h \ - video-resampler.h video-frame.h video-scaler.h video-anc.h \ - video-overlay-composition.h video-hdr.h gstvideotimecode.h -glib_enum_define = GST_VIDEO -glib_gen_prefix = gst_video -glib_gen_basename = video -glib_gen_decl_banner=GST_VIDEO_API -glib_gen_decl_include=\#include - -built_sources = video-enumtypes.c -built_headers = video-enumtypes.h -BUILT_SOURCES += $(built_sources) $(built_headers) - -lib_LTLIBRARIES = libgstvideo-@GST_API_VERSION@.la - -CLEANFILES = $(BUILT_SOURCES) - -libgstvideo_@GST_API_VERSION@_la_SOURCES = \ - colorbalance.c \ - colorbalancechannel.c \ - navigation.c \ - video.c \ - video-anc.c \ - video-event.c \ - video-format.c \ - video-chroma.c \ - video-color.c \ - video-converter.c \ - video-dither.c \ - video-hdr.c \ - video-info.c \ - video-frame.c \ - video-scaler.c \ - video-tile.c \ - gstvideoaggregator.c \ - gstvideosink.c \ - gstvideofilter.c \ - convertframe.c \ - gstvideoaffinetransformationmeta.c \ - gstvideometa.c \ - gstvideopool.c \ - videodirection.c \ - videoorientation.c \ - videooverlay.c \ - gstvideodecoder.c \ - gstvideoencoder.c \ - gstvideoutils.c \ - gstvideoutilsprivate.c \ - video-resampler.c \ - video-blend.c \ - video-overlay-composition.c \ - video-multiview.c \ - gstvideotimecode.c - -nodist_libgstvideo_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES) - -libgstvideo_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/video -libgstvideo_@GST_API_VERSION@include_HEADERS = \ - colorbalance.h \ - colorbalancechannel.h \ - navigation.h \ - video.h \ - video-prelude.h \ - video-anc.h \ - video-event.h \ - video-format.h \ - video-chroma.h \ - video-color.h \ - video-converter.h \ - video-dither.h \ - video-hdr.h \ - video-info.h \ - video-frame.h \ - video-scaler.h \ - video-tile.h \ - gstvideoaggregator.h \ - gstvideosink.h \ - gstvideofilter.h \ - gstvideometa.h \ - gstvideoaffinetransformationmeta.h \ - gstvideopool.h \ - videodirection.h \ - videoorientation.h \ - videooverlay.h \ - gstvideodecoder.h \ - gstvideoencoder.h \ - gstvideoutils.h \ - video-resampler.h \ - video-blend.h \ - video-overlay-composition.h \ - video-multiview.h \ - gstvideotimecode.h - -nodist_libgstvideo_@GST_API_VERSION@include_HEADERS = $(built_headers) -noinst_HEADERS = gstvideoutilsprivate.h - -libgstvideo_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \ - $(ORC_CFLAGS) -DBUILDING_GST_VIDEO -libgstvideo_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) $(LIBM) -libgstvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) - -include $(top_srcdir)/common/gst-glib-gen.mak - -if HAVE_INTROSPECTION -BUILT_GIRSOURCES = GstVideo-@GST_API_VERSION@.gir - -gir_headers=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_API_VERSION@include_HEADERS)) -gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers)) -gir_sources=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_API_VERSION@_la_SOURCES)) -gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources)) - -GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VERSION@.la - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ - GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ - $(INTROSPECTION_SCANNER) -v --namespace GstVideo \ - --nsversion=@GST_API_VERSION@ \ - --identifier-prefix=Gst \ - --symbol-prefix=gst \ - --warn-all \ - --c-include "gst/video/video.h" \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - --library=libgstvideo-@GST_API_VERSION@.la \ - --include=Gst-@GST_API_VERSION@ \ - --include=GstBase-@GST_API_VERSION@ \ - --libtool="${LIBTOOL}" \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-base-@GST_API_VERSION@ \ - --pkg-export gstreamer-video-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \ - $(gir_headers) \ - $(gir_sources) - -# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to -# install anything - we need to install inside our prefix. -girdir = $(datadir)/gir-1.0 -gir_DATA = $(BUILT_GIRSOURCES) - -typelibsdir = $(libdir)/girepository-1.0/ - -typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) - -%.typelib: %.gir $(INTROSPECTION_COMPILER) - $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ - $(INTROSPECTION_COMPILER) \ - --includedir=$(srcdir) \ - --includedir=$(builddir) \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ - $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) - -CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) -endif diff --git a/gst/Makefile.am b/gst/Makefile.am deleted file mode 100644 index 3ed7c6f0f8..0000000000 --- a/gst/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -SUBDIRS = $(GST_PLUGINS_SELECTED) pbtypes -DIST_SUBDIRS = $(GST_PLUGINS_ALL) pbtypes - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/gst/adder/.gitignore b/gst/adder/.gitignore deleted file mode 100644 index 08f5ed37d8..0000000000 --- a/gst/adder/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs diff --git a/gst/adder/Makefile.am b/gst/adder/Makefile.am deleted file mode 100644 index 95a97cd097..0000000000 --- a/gst/adder/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -plugin_LTLIBRARIES = libgstadder.la - -ORC_SOURCE=gstadderorc -include $(top_srcdir)/common/orc.mak - - -libgstadder_la_SOURCES = gstadder.c -nodist_libgstadder_la_SOURCES = $(ORC_NODIST_SOURCES) -libgstadder_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS) -libgstadder_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstadder_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) - -noinst_HEADERS = gstadder.h diff --git a/gst/app/Makefile.am b/gst/app/Makefile.am deleted file mode 100644 index 539ffadc4c..0000000000 --- a/gst/app/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -plugin_LTLIBRARIES = libgstapp.la - -libgstapp_la_SOURCES = gstapp.c -libgstapp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstapp_la_LIBADD = $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la $(GST_BASE_LIBS) -libgstapp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/audioconvert/.gitignore b/gst/audioconvert/.gitignore deleted file mode 100644 index 696560c468..0000000000 --- a/gst/audioconvert/.gitignore +++ /dev/null @@ -1 +0,0 @@ -channelmixtest diff --git a/gst/audioconvert/Makefile.am b/gst/audioconvert/Makefile.am deleted file mode 100644 index 0a7ac76c21..0000000000 --- a/gst/audioconvert/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -plugin_LTLIBRARIES = libgstaudioconvert.la - -libgstaudioconvert_la_SOURCES = \ - gstaudioconvert.c \ - plugin.c - -libgstaudioconvert_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstaudioconvert_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstaudioconvert_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) - -noinst_HEADERS = \ - gstaudioconvert.h \ - plugin.h diff --git a/gst/audiomixer/Makefile.am b/gst/audiomixer/Makefile.am deleted file mode 100644 index 2957186679..0000000000 --- a/gst/audiomixer/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -plugin_LTLIBRARIES = libgstaudiomixer.la - -ORC_SOURCE=gstaudiomixerorc -include $(top_srcdir)/common/orc.mak - - -libgstaudiomixer_la_SOURCES = gstaudiomixer.c gstaudiointerleave.c -nodist_libgstaudiomixer_la_SOURCES = $(ORC_NODIST_SOURCES) -libgstaudiomixer_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) $(ORC_CFLAGS) -libgstaudiomixer_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstaudiomixer_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) - -noinst_HEADERS = gstaudiomixer.h gstaudiointerleave.h - diff --git a/gst/audiorate/Makefile.am b/gst/audiorate/Makefile.am deleted file mode 100644 index 981570a27d..0000000000 --- a/gst/audiorate/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -noinst_HEADERS = gstaudiorate.h - -plugin_LTLIBRARIES = libgstaudiorate.la - -libgstaudiorate_la_SOURCES = gstaudiorate.c -libgstaudiorate_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgstaudiorate_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstaudiorate_la_LIBADD = $(GST_LIBS) \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la diff --git a/gst/audioresample/Makefile.am b/gst/audioresample/Makefile.am deleted file mode 100644 index 2df722107a..0000000000 --- a/gst/audioresample/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -plugin_LTLIBRARIES = libgstaudioresample.la - -libgstaudioresample_la_SOURCES = \ - gstaudioresample.c - -nodist_libgstaudioresample_la_SOURCES = $(BUILT_SOURCES) - -libgstaudioresample_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) - -libgstaudioresample_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(LIBM) - -libgstaudioresample_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - gstaudioresample.h diff --git a/gst/audiotestsrc/Makefile.am b/gst/audiotestsrc/Makefile.am deleted file mode 100644 index e6c013f0d3..0000000000 --- a/gst/audiotestsrc/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -plugin_LTLIBRARIES = libgstaudiotestsrc.la - -libgstaudiotestsrc_la_SOURCES = gstaudiotestsrc.c -libgstaudiotestsrc_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgstaudiotestsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstaudiotestsrc_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) - -noinst_HEADERS = gstaudiotestsrc.h diff --git a/gst/compositor/.gitignore b/gst/compositor/.gitignore deleted file mode 100644 index 131b2eef14..0000000000 --- a/gst/compositor/.gitignore +++ /dev/null @@ -1 +0,0 @@ -compositororc.h diff --git a/gst/compositor/Makefile.am b/gst/compositor/Makefile.am deleted file mode 100644 index a3b1e8e422..0000000000 --- a/gst/compositor/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -plugin_LTLIBRARIES = libgstcompositor.la - -ORC_SOURCE=compositororc - -include $(top_srcdir)/common/orc.mak - -libgstcompositor_la_SOURCES = \ - blend.c \ - compositor.c - - -nodist_libgstcompositor_la_SOURCES = $(ORC_NODIST_SOURCES) -libgstcompositor_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS) -libgstcompositor_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) $(LIBM) -libgstcompositor_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -# headers we need but don't want installed -noinst_HEADERS = \ - blend.h \ - compositor.h diff --git a/gst/encoding/Makefile.am b/gst/encoding/Makefile.am deleted file mode 100644 index 9479b6991c..0000000000 --- a/gst/encoding/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -plugin_LTLIBRARIES = libgstencoding.la - -libgstencoding_la_SOURCES = \ - gstencodebin.c \ - gstsmartencoder.c \ - gststreamcombiner.c \ - gststreamsplitter.c - -libgstencoding_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -libgstencoding_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstencoding_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(GST_LIBS) - -noinst_HEADERS = \ - gstencodebin.h \ - gststreamcombiner.h \ - gststreamsplitter.h \ - gstsmartencoder.h \ - gststreamcombinerpad.h - -include $(top_srcdir)/common/gst-glib-gen.mak diff --git a/gst/gio/Makefile.am b/gst/gio/Makefile.am deleted file mode 100644 index 847704de2b..0000000000 --- a/gst/gio/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -# plugindir is set in configure - -plugin_LTLIBRARIES = libgstgio.la - -# sources used to compile this plug-in -libgstgio_la_SOURCES = \ - gstgio.c \ - gstgiobasesink.c \ - gstgiobasesrc.c \ - gstgiosink.c \ - gstgiosrc.c \ - gstgiostreamsink.c \ - gstgiostreamsrc.c - -libgstgio_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -libgstgio_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS) -libgstgio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GIO_LDFLAGS) - -# headers we need but don't want installed -noinst_HEADERS = \ - gstgio.h \ - gstgiobasesink.h \ - gstgiobasesrc.h \ - gstgiosink.h \ - gstgiosrc.h \ - gstgiostreamsink.h \ - gstgiostreamsrc.h - diff --git a/gst/overlaycomposition/Makefile.am b/gst/overlaycomposition/Makefile.am deleted file mode 100644 index 3b2888b197..0000000000 --- a/gst/overlaycomposition/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -noinst_HEADERS = gstoverlaycomposition.h - -plugin_LTLIBRARIES = libgstoverlaycomposition.la - -libgstoverlaycomposition_la_SOURCES = gstoverlaycomposition.c -libgstoverlaycomposition_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstoverlaycomposition_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstoverlaycomposition_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) diff --git a/gst/pbtypes/Makefile.am b/gst/pbtypes/Makefile.am deleted file mode 100644 index fd6ef3f0f0..0000000000 --- a/gst/pbtypes/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -plugin_LTLIBRARIES = libgstpbtypes.la - -libgstpbtypes_la_SOURCES = gstpbtypes.c -libgstpbtypes_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstpbtypes_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstpbtypes_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) diff --git a/gst/playback/.gitignore b/gst/playback/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/gst/playback/Makefile.am b/gst/playback/Makefile.am deleted file mode 100644 index ff5b8b489e..0000000000 --- a/gst/playback/Makefile.am +++ /dev/null @@ -1,50 +0,0 @@ -plugin_LTLIBRARIES = libgstplayback.la - -csp_cflags = -DCOLORSPACE=\"videoconvert\" - -libgstplayback_la_SOURCES = \ - gstdecodebin2.c \ - gstdecodebin3.c \ - gsturidecodebin.c \ - gsturidecodebin3.c \ - gsturisourcebin.c \ - gstparsebin.c \ - gstplayback.c \ - gstplaybin2.c \ - gstplaybin3.c \ - gstplaysink.c \ - gstplay-enum.c \ - gstsubtitleoverlay.c \ - gstplaysinkvideoconvert.c \ - gstplaysinkaudioconvert.c \ - gstplaysinkconvertbin.c \ - gststreamsynchronizer.c \ - gstplaybackutils.c - -nodist_libgstplayback_la_SOURCES = $(built_sources) -libgstplayback_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(csp_cflags) -libgstplayback_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstplayback_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) - -# FIXME: gstdecodebin3-parse.c isn't really a header, -# but for now it's included into gstdecodebin3.c directly -noinst_HEADERS = \ - gstdecodebin3-parse.c \ - gstplayback.h \ - gstplaysink.h \ - gstplay-enum.h \ - gstrawcaps.h \ - gstsubtitleoverlay.h \ - gstplaysinkvideoconvert.h \ - gstplaysinkaudioconvert.h \ - gstplaysinkconvertbin.h \ - gststreamsynchronizer.h \ - gstplaybackutils.h - -BUILT_SOURCES = $(built_headers) $(built_sources) - -CLEANFILES = $(BUILT_SOURCES) diff --git a/gst/rawparse/Makefile.am b/gst/rawparse/Makefile.am deleted file mode 100644 index a80fa7a973..0000000000 --- a/gst/rawparse/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ - -plugin_LTLIBRARIES = libgstrawparse.la - -libgstrawparse_la_SOURCES = \ - gstunalignedaudioparse.c \ - gstunalignedvideoparse.c \ - gstrawbaseparse.c \ - gstrawaudioparse.c \ - gstrawvideoparse.c \ - plugin.c -libgstrawparse_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstrawparse_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) -libgstrawparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = \ - unalignedaudio.h \ - unalignedvideo.h \ - gstunalignedaudioparse.h \ - gstunalignedvideoparse.h \ - gstrawbaseparse.h \ - gstrawaudioparse.h \ - gstrawvideoparse.h diff --git a/gst/subparse/Makefile.am b/gst/subparse/Makefile.am deleted file mode 100644 index 32a0ec5349..0000000000 --- a/gst/subparse/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -plugin_LTLIBRARIES = libgstsubparse.la - -SAMIPARSE_SOURCES = samiparse.c samiparse.h - -libgstsubparse_la_SOURCES = \ - gstssaparse.c \ - gstssaparse.h \ - gstsubparse.c \ - gstsubparse.h \ - $(SAMIPARSE_SOURCES) \ - tmplayerparse.c \ - tmplayerparse.h \ - mpl2parse.c \ - mpl2parse.h \ - qttextparse.c \ - qttextparse.h - -libgstsubparse_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) -libgstsubparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstsubparse_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) - -noinst_HEADERS = \ - gstssaparse.h \ - gstsubparse.h \ - samiparse.h \ - tmplayerparse.h \ - mpl2parse.h \ - qttextparse.h diff --git a/gst/tcp/.gitignore b/gst/tcp/.gitignore deleted file mode 100644 index 45ededdb3e..0000000000 --- a/gst/tcp/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -gsttcp-enumtypes.c -gsttcp-enumtypes.h -gsttcp-marshal.c -gsttcp-marshal.h -fdsetstress diff --git a/gst/tcp/Makefile.am b/gst/tcp/Makefile.am deleted file mode 100644 index d9b553ce34..0000000000 --- a/gst/tcp/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -plugin_LTLIBRARIES = libgsttcp.la - -if HAVE_SYS_SOCKET_H -multifdsink_SOURCES = \ - gstmultifdsink.c -else -multifdsink_SOURCES = -endif - -libgsttcp_la_SOURCES = \ - gstsocketsrc.c \ - gsttcpplugin.c \ - gsttcpclientsrc.c gsttcpclientsink.c \ - $(multifdsink_SOURCES) \ - gstmultihandlesink.c \ - gstmultisocketsink.c \ - gsttcpserversrc.c gsttcpserversink.c - -libgsttcp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -libgsttcp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgsttcp_la_LIBADD = $(GST_BASE_LIBS) $(GST_NET_LIBS) $(GST_LIBS) $(GIO_LIBS) - -noinst_HEADERS = \ - gstsocketsrc.h \ - gsttcp.h \ - gsttcpclientsrc.h gsttcpclientsink.h \ - gstmultifdsink.h \ - gstmultisocketsink.h \ - gsttcpserversrc.h gsttcpserversink.h gstmultihandlesink.h - -CLEANFILES = $(BUILT_SOURCES) diff --git a/gst/typefind/Makefile.am b/gst/typefind/Makefile.am deleted file mode 100644 index 04096b5fd0..0000000000 --- a/gst/typefind/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -plugin_LTLIBRARIES = libgsttypefindfunctions.la - -libgsttypefindfunctions_la_SOURCES = gsttypefindfunctions.c -libgsttypefindfunctions_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) $(GIO_CFLAGS) -libgsttypefindfunctions_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgsttypefindfunctions_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS) diff --git a/gst/videoconvert/Makefile.am b/gst/videoconvert/Makefile.am deleted file mode 100644 index 7bbfe7f3bf..0000000000 --- a/gst/videoconvert/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -plugin_LTLIBRARIES = libgstvideoconvert.la - -libgstvideoconvert_la_SOURCES = gstvideoconvert.c -nodist_libgstvideoconvert_la_SOURCES = $(ORC_NODIST_SOURCES) -libgstvideoconvert_la_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) -libgstvideoconvert_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(LIBM) -libgstvideoconvert_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -noinst_HEADERS = gstvideoconvert.h diff --git a/gst/videorate/Makefile.am b/gst/videorate/Makefile.am deleted file mode 100644 index 06a764b762..0000000000 --- a/gst/videorate/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -noinst_HEADERS = gstvideorate.h - -plugin_LTLIBRARIES = libgstvideorate.la - -libgstvideorate_la_SOURCES = gstvideorate.c -libgstvideorate_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstvideorate_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstvideorate_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) diff --git a/gst/videoscale/.gitignore b/gst/videoscale/.gitignore deleted file mode 100644 index 08f5ed37d8..0000000000 --- a/gst/videoscale/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -Makefile -Makefile.in -*.o -*.lo -*.la -.deps -.libs diff --git a/gst/videoscale/Makefile.am b/gst/videoscale/Makefile.am deleted file mode 100644 index 469882f442..0000000000 --- a/gst/videoscale/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -plugin_LTLIBRARIES = libgstvideoscale.la - -libgstvideoscale_la_SOURCES = gstvideoscale.c - -libgstvideoscale_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -libgstvideoscale_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstvideoscale_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) - -noinst_HEADERS = \ - gstvideoscale.h diff --git a/gst/videotestsrc/.gitignore b/gst/videotestsrc/.gitignore deleted file mode 100644 index 24c1bf2d41..0000000000 --- a/gst/videotestsrc/.gitignore +++ /dev/null @@ -1 +0,0 @@ -generate_sine_table diff --git a/gst/videotestsrc/Makefile.am b/gst/videotestsrc/Makefile.am deleted file mode 100644 index 8ede27293f..0000000000 --- a/gst/videotestsrc/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -plugin_LTLIBRARIES = libgstvideotestsrc.la - -ORC_SOURCE=gstvideotestsrcorc -include $(top_srcdir)/common/orc.mak - -libgstvideotestsrc_la_SOURCES = \ - gstvideotestsrc.c \ - videotestsrc.c -nodist_libgstvideotestsrc_la_SOURCES = $(ORC_NODIST_SOURCES) - -libgstvideotestsrc_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS) -libgstvideotestsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstvideotestsrc_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) $(LIBM) - -noinst_HEADERS = gstvideotestsrc.h videotestsrc.h - -EXTRA_PROGRAMS = generate_sine_table - -generate_sine_table_SOURCES = generate_sine_table.c -generate_sine_table_CFLAGS = $(GST_CFLAGS) -generate_sine_table_LDADD = $(LIBM) $(GLIB_LIBS) diff --git a/gst/volume/.gitignore b/gst/volume/.gitignore deleted file mode 100644 index 1549b67ca5..0000000000 --- a/gst/volume/.gitignore +++ /dev/null @@ -1 +0,0 @@ -demo diff --git a/gst/volume/Makefile.am b/gst/volume/Makefile.am deleted file mode 100644 index 3eecbf0704..0000000000 --- a/gst/volume/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -plugin_LTLIBRARIES = libgstvolume.la - -ORC_SOURCE=gstvolumeorc -include $(top_srcdir)/common/orc.mak - -libgstvolume_la_SOURCES = gstvolume.c -nodist_libgstvolume_la_SOURCES = $(ORC_NODIST_SOURCES) -libgstvolume_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS) -libgstvolume_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstvolume_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(ORC_LIBS) - -noinst_HEADERS = gstvolume.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 287e1bf8cb..0000000000 --- a/m4/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -EXTRA_DIST = \ - check-libheader.m4 \ - codeset.m4 \ - gettext.m4 \ - glibc21.m4 \ - gst-alsa.m4 \ - gst-ivorbis.m4 \ - iconv.m4 \ - intdiv0.m4 \ - inttypes_h.m4 \ - inttypes-pri.m4 \ - lcmessage.m4 \ - lib-ld.m4 \ - lib-link.m4 \ - lib-prefix.m4 \ - lrintf.m4 \ - lrint.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/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/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-gl.m4 b/m4/gst-gl.m4 deleted file mode 100644 index d1dafa9b5e..0000000000 --- a/m4/gst-gl.m4 +++ /dev/null @@ -1,1143 +0,0 @@ -dnl -------------------------------------------------------------------------- -dnl GStreamer OpenGL library checks (gst-libs/gst/gl) -dnl -------------------------------------------------------------------------- -AC_DEFUN([AG_GST_GL_CHECKS], -[ -dnl define an ERROR_OBJCFLAGS Makefile variable -dnl FIXME: make check conditional on Apple OS? -AG_GST_SET_ERROR_OBJCFLAGS($FATAL_WARNINGS, [ - -Wmissing-declarations -Wredundant-decls - -Wwrite-strings -Wformat-nonliteral -Wformat-security - -Winit-self -Wmissing-include-dirs -Wno-multichar $NO_WARNINGS]) - -AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-]) - -AM_CONDITIONAL(HAVE_IOS, test "x$HAVE_IOS" = "xyes") -if test "x$HAVE_IOS" = "xyes"; then - AC_DEFINE(HAVE_IOS, 1, [Define if building for Apple iOS]) -fi - -dnl *** opengl *** -AC_ARG_ENABLE([opengl], - [ --enable-opengl Enable Desktop OpenGL support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_GL=yes ;; - no) NEED_GL=no ;; - auto) NEED_GL=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-opengl]) ;; - esac],[NEED_GL=auto]) - -AC_ARG_WITH([opengl-module-name], - AS_HELP_STRING([--with-opengl-module-name],[library module name for OpenGL (default: libGL)])) -if test x$with_opengl_module_name != x; then - AC_DEFINE_UNQUOTED(GST_GL_LIBGL_MODULE_NAME, "$with_opengl_module_name", [OpenGL module name]) -fi - -AC_ARG_ENABLE([gles2], - [ --enable-gles2 Enable OpenGL|ES 2.0 support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_GLES2=yes ;; - no) NEED_GLES2=no ;; - auto) NEED_GLES2=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-gles2]) ;; - esac],[NEED_GLES2=auto]) - -AC_ARG_WITH([gles2-module-name], - AS_HELP_STRING([--with-gles2-module-name],[library module name for GLES2 (default: libGLESv2)])) -if test x$with_gles2_module_name != x; then - AC_DEFINE_UNQUOTED(GST_GL_LIBGLESV2_MODULE_NAME, "$with_gles2_module_name", [GLES2 module name]) -fi - -AC_ARG_ENABLE([egl], - [ --enable-egl Enable EGL support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_EGL=yes ;; - no) NEED_EGL=no ;; - auto) NEED_EGL=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-egl]) ;; - esac],[NEED_EGL=auto]) - -AC_ARG_WITH([egl-module-name], - AS_HELP_STRING([--with-egl-module-name],[library module name for EGL (default: libEGL)])) -if test x$with_egl_module_name != x; then - AC_DEFINE_UNQUOTED(GST_GL_LIBEGL_MODULE_NAME, "$with_egl_module_name", [EGL module name]) -fi - -AC_ARG_ENABLE([wgl], - [ --enable-wgl Enable WGL support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_WGL=yes ;; - no) NEED_WGL=no ;; - auto) NEED_WGL=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-wgl]) ;; - esac],[NEED_WGL=auto]) - -AC_ARG_ENABLE([glx], - [ --enable-glx Enable GLX support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_GLX=yes ;; - no) NEED_GLX=no ;; - auto) NEED_GLX=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-glx]) ;; - esac],[NEED_GLX=auto]) - -AC_ARG_ENABLE([cocoa], - [ --enable-cocoa Enable Cocoa support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_COCOA=yes ;; - no) NEED_COCOA=no ;; - auto) NEED_COCOA=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-cocoa]) ;; - esac],[NEED_COCOA=auto]) - -AC_ARG_ENABLE([x11], - [ --enable-x11 Enable x11 support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_X11=yes ;; - no) NEED_X11=no ;; - auto) NEED_X11=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-x11]) ;; - esac],[NEED_X11=auto]) - -AC_ARG_ENABLE([wayland], - [ --enable-wayland Enable Wayland support (requires EGL) @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_WAYLAND_EGL=yes ;; - no) NEED_WAYLAND_EGL=no ;; - auto) NEED_WAYLAND_EGL=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-wayland]) ;; - esac],[NEED_WAYLAND_EGL=auto]) - -AC_ARG_ENABLE([dispmanx], - [ --enable-dispmanx Enable Dispmanx support (requires EGL) @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_DISPMANX=yes ;; - no) NEED_DISPMANX=no ;; - auto) NEED_DISPMANX=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-dispmanx]) ;; - esac],[NEED_DISPMANX=auto]) - -AC_ARG_ENABLE([gbm], - [ --enable-gbm Enable Mesa3D GBM support (requires EGL) @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_GBM=yes ;; - no) NEED_GBM=no ;; - auto) NEED_GBM=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-gbm]) ;; - esac],[NEED_GBM=auto]) - -AC_ARG_ENABLE([png], - [ --enable-png Enable libpng support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_PNG=yes ;; - no) NEED_PNG=no ;; - auto) NEED_PNG=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-png]) ;; - esac],[NEED_PNG=auto]) - -AC_ARG_ENABLE([jpeg], - [ --enable-jpeg Enable libjpeg support @<:@default=auto@:>@], - [case "${enableval}" in - yes) NEED_JPEG=yes ;; - no) NEED_JPEG=no ;; - auto) NEED_JPEG=auto ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-jpeg]) ;; - esac],[NEED_JPEG=auto]) - -AG_GST_PKG_CHECK_MODULES(X11_XCB, x11-xcb) -save_CPPFLAGS="$CPPFLAGS" -save_LIBS="$LIBS" - -HAVE_GL=no -HAVE_GLES2=no -HAVE_GLES3_H=no -HAVE_WAYLAND_EGL=no -HAVE_VIV_FB_EGL=no -HAVE_GBM_EGL=no -HAVE_EGL_RPI=no - -case $host in - *-mingw32* ) - LIBS="$LIBS -lgdi32" - AG_GST_CHECK_LIBHEADER(GL, opengl32, glTexImage2D,, GL/gl.h) - AC_CHECK_HEADER(GL/wglext.h, HAVE_WGLEXT="yes", HAVE_WGLEXT="no", [#include ]) - if test "x$HAVE_WGLEXT" = "xyes"; then - HAVE_WGL=yes - HAVE_GL=yes - fi - ;; - *) - if test "x$NEED_GL" != "xno"; then - AG_GST_PKG_CHECK_MODULES(GL, gl) - if test "x$HAVE_GL" != "xyes"; then - AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h) - fi - fi - if test "x$NEED_GLES2" != "xno"; then - AG_GST_PKG_CHECK_MODULES(GLES2, glesv2) - if test "x$HAVE_GLES2" != "xyes"; then - AG_GST_CHECK_LIBHEADER(GLES2, GLESv2, glTexImage2D,, GLES2/gl2.h) - fi - AC_CHECK_HEADER([GLES3/gl3.h], [HAVE_GLES3_H=yes]) - AS_IF([test "x$HAVE_GLES3_H" == "xyes"], - [ - AC_CHECK_HEADER([GLES3/gl3ext.h], [HAVE_GLES3EXT3_H=yes], [HAVE_GLES3EXT3_H=no], [#include ]) - ]) - fi - if test "x$NEED_EGL" != "xno"; then - AG_GST_PKG_CHECK_MODULES(EGL, egl) - if test "x$HAVE_EGL" != "xyes"; then - AG_GST_CHECK_LIBHEADER(EGL, EGL, eglGetError,, EGL/egl.h) - fi - fi - - old_LIBS=$LIBS - old_CFLAGS=$CFLAGS - - dnl imx6 / Vivante specifics - if test "x$HAVE_EGL" = "xyes"; then - AC_CHECK_LIB([EGL], [fbGetDisplay], [HAVE_VIV_FB_EGL=yes]) - fi - - if test "x$NEED_GBM" != "xno"; then - if test "x$HAVE_EGL" = "xyes"; then - PKG_CHECK_MODULES(DRM, libdrm >= 2.4.55, HAVE_DRM=yes, HAVE_DRM=no) - AC_SUBST(DRM_CFLAGS) - AC_SUBST(DRM_LIBS) - if test "x$NEED_GBM" = "xyes"; then - if test "x$HAVE_DRM" = "xno"; then - AC_MSG_ERROR([GBM support requested but libdrm is not available]) - fi - if test "x$HAVE_GUDEV" = "xno"; then - AC_MSG_ERROR([GBM support requested but gudev is not available]) - fi - fi - if test "x$HAVE_DRM" = "xyes" -a "x$HAVE_GUDEV" = "xyes"; then - PKG_CHECK_MODULES(GBM, gbm, HAVE_GBM_EGL=yes, HAVE_GBM_EGL=no) - if test "x$HAVE_GBM_EGL" = "xno" -a "x$NEED_GBM" = "xyes"; then - AC_MSG_ERROR([GBM support requested but gbm library is not available]) - fi - AC_SUBST(GBM_CFLAGS) - AC_SUBST(GBM_LIBS) - fi - elif test "x$NEED_GBM" = "xyes"; then - AC_MSG_ERROR([GBM support requested but EGL is not available]) - else - AC_MSG_NOTICE([GBM support requested but EGL is not available; not enabling GBM support]) - fi - fi - - dnl FIXME: Mali EGL depends on GLESv1 or GLESv2 - AC_CHECK_HEADER([EGL/fbdev_window.h], - [ - LIBS="$LIBS -lUMP" - AC_CHECK_LIB([Mali], [mali_image_create], - [ - LIBS="$LIBS -lMali" - AC_CHECK_LIB([GLESv2], [glEnable], - [ - AC_CHECK_HEADER([GLES2/gl2.h], - [ - AC_CHECK_LIB([EGL], [eglGetProcAddress], - [ - AC_CHECK_HEADER([EGL/egl.h], - [ - HAVE_EGL=yes - HAVE_GLES2=yes - EGL_LIBS="-lMali -lUMP" - EGL_CFLAGS="" - AC_DEFINE(USE_EGL_MALI_FB, [1], [Use Mali FB EGL platform]) - ]) - ]) - ]) - ]) - ]) - ]) - - dnl FIXME: EGL of RPi depends on GLESv1 or GLESv2 - dnl FIXME: GLESv2 of RPi depends on EGL... WTF! - LIBS="$LIBS -lvcos -lvchiq_arm" - AC_CHECK_LIB([bcm_host], [bcm_host_init], - [ - LIBS="$LIBS -lbcm_host" - AC_CHECK_HEADER(bcm_host.h, - [ - LIBS="$LIBS -lGLESv2" - AC_CHECK_LIB([EGL], [eglGetProcAddress], - [ - LIBS="$LIBS -lEGL" - AC_CHECK_HEADER([EGL/egl.h], - [ - AC_CHECK_LIB([GLESv2], [glEnable], - [ - AC_CHECK_HEADER([GLES2/gl2.h], - [ - HAVE_EGL=yes - HAVE_GLES2=yes - HAVE_EGL_RPI=yes - EGL_LIBS="-lbcm_host -lvcos -lvchiq_arm" - EGL_CFLAGS="" - AC_DEFINE(USE_EGL_RPI, [1], [Use RPi platform]) - ]) - ]) - ]) - ]) - ]) - ]) - - LIBS=$old_LIBS - CFLAGS=$old_CFLAGS - - PKG_CHECK_MODULES(WAYLAND_EGL, wayland-client >= 1.0 wayland-cursor >= 1.0 wayland-egl >= 9.0 wayland-protocols >= 1.15, HAVE_WAYLAND_EGL=yes, HAVE_WAYLAND_EGL=no) - AC_CHECK_PROGS(WAYLAND_SCANNER, wayland-scanner) - if test x"$HAVE_WAYLAND_EGL" == xyes ; then - if test x"$WAYLAND_SCANNER" == x ; then - AC_MSG_ERROR([Found Wayland libraries, but couldn't find wayland-scanner binary.]) - fi - - WAYLAND_PROTOCOLS_DATADIR="`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`" - AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $WAYLAND_PROTOCOLS_DATADIR) - fi - - # OS X and iOS always have GL available - case $host in - *-darwin*) - if test "x$HAVE_IOS" = "xyes"; then - HAVE_GLES2=yes - else - HAVE_GL=yes - fi - ;; - esac - ;; -esac - -CPPFLAGS="$save_CPPFLAGS" -LIBS="$save_LIBS" - -USE_OPENGL=no -USE_GLES2=no -USE_GLX=no -USE_COCOA=no -USE_WGL=no -USE_X11=no -USE_EAGL=no -GL_LIBS= -GL_CFLAGS= -GL_OBJCFLAGS= - -dnl Check for what the user asked for and what we could find -if test "x$HAVE_EGL" = "xno"; then - if test "x$NEED_EGL" = "xyes"; then - AC_MSG_ERROR([Could not find the required EGL libraries]) - fi -fi - -if test "x$HAVE_GL" = "xno"; then - if test "x$NEED_GL" = "xyes"; then - AC_MSG_ERROR([Could not find the required OpenGL libraries]) - fi -fi - -if test "x$HAVE_GLES2" = "xno"; then - if test "x$NEED_GLES2" = "xyes"; then - AC_MSG_ERROR([Could not find the required OpenGL|ES 2.0 libraries]) - fi -fi - -dnl X, GLX and OpenGL -if test "x$HAVE_X11_XCB" = "xno"; then - if test "x$NEED_GLX" = "xyes"; then - AC_MSG_ERROR([Building the GLX backend without X11 is unsupported]) - fi - if test "x$NEED_X11" = "xyes"; then - AC_MSG_ERROR([Could not find X11 development libraries]) - fi -else - if test "x$NEED_GL" != "xno"; then - if test "x$HAVE_GL" = "xno"; then - if test "x$NEED_GLX" = "xyes"; then - AC_MSG_ERROR([Building the GLX backend without the OpenGL backend is unsupported]) - fi - else dnl HAVE_GL=yes - USE_OPENGL=yes - if test "x$NEED_GLX" != "xno"; then - USE_GLX=yes - fi - fi - fi -fi - -dnl check for DMABUF support -HAVE_DRM_FOURCC_HEADER=no -AC_CHECK_HEADER(libdrm/drm_fourcc.h, - HAVE_DRM_FOURCC_HEADER=yes, ) - -GST_GL_HAVE_DMABUF=0 -if test "x$HAVE_DRM_FOURCC_HEADER" = "xyes" -a \ - "x$HAVE_EGL" = "xyes"; then - GST_GL_HAVE_DMABUF=1 -fi - -dnl check for Vivante DirectVIV support -AC_CHECK_LIB(GLESv2, glTexDirectVIV, [HAVE_VIV_DIRECTVIV=yes], [HAVE_VIV_DIRECTVIV=no]) - -GST_GL_HAVE_VIV_DIRECTVIV=0 -if test "x$HAVE_VIV_DIRECTVIV" = "xyes"; then - GST_GL_HAVE_VIV_DIRECTVIV=1 -fi - -dnl check if we can include both GL and GLES2 at the same time -if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLES2" = "xyes"; then - GLES3_H_DEFINE=0 - GLES3EXT3_H_DEFINE=0 - if test "x$HAVE_GLES3_H" == "xyes"; then - GLES3_H_DEFINE=1 - fi - if test "x$HAVE_GLES3EXT3_H" == "xyes"; then - GLES3EXT3_H_DEFINE=1 - fi - GL_INCLUDES=" -#ifdef __GNUC__ -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored \"-Wredundant-decls\" -#endif -#ifndef GL_GLEXT_PROTOTYPES -#define GL_GLEXT_PROTOTYPES 1 -#endif -# ifdef HAVE_IOS -# include -# include -# else -# if $GLES3_H_DEFINE -# include -# if $GLES3EXT3_H_DEFINE -# include -# endif -# include -# else -# include -# include -# endif -# endif -# ifdef __APPLE__ -# include -# include -# if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 -# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED -# include -# endif -# else -# include -# if __WIN32__ || _WIN32 -# include -# endif -# endif -int main (int argc, char **argv) { return 0; } -" - AC_MSG_CHECKING([whether it is possible to include both GL and GLES2 headers]) - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $GL_CFLAGS $GLES2_CFLAGS $WARNING_CFLAGS $ERROR_CFLAGS" - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[$GL_INCLUDES]], [[ - #if !defined(GL_FALSE) - #error Failed to include GL headers - #endif - ]])],[ AC_MSG_RESULT(yes) - ],[AC_MSG_RESULT(no) - if test "x$NEED_GLES2" = "xyes"; then - if test "x$NEED_GL" = "xyes"; then - AC_MSG_ERROR([Cannot seem to include both GL and GLES2 headers. Try disabling one API]) - fi - AC_MSG_WARN([Disabling Desktop GL support]) - HAVE_GL=no - USE_OPENGL=no - else - AC_MSG_WARN([Disabling GL|ES 2.0 support]) - HAVE_GLES2=no - HAVE_GLES3_H=no - fi - ]) - CFLAGS="$save_CFLAGS" -fi - -#dnl Check for OpenGL -echo host is $host -case $host in - *-android*) - if test "x$NEED_WGL" = "xyes"; then - AC_MSG_ERROR([WGL is not available on Android]) - fi - if test "x$NEED_GLX" = "xyes"; then - AC_MSG_ERROR([GLX is not available on Android]) - fi - if test "x$NEED_GL" = "xyes"; then - AC_MSG_ERROR([GL is not available on Android]) - fi - if test "x$NEED_X11" = "xyes"; then - AC_MSG_ERROR([X11 is not available on Android]) - fi - if test "x$NEED_COCOA" = "xyes"; then - AC_MSG_ERROR([Cocoa is not available on Android]) - fi - - dnl OpenGL|ES 2.0 - if test "x$HAVE_GLES2" = "xyes"; then - if test "x$NEED_GLES2" != "xno"; then - GL_LIBS="$GL_LIBS -lGLESv2" - USE_GLES2=yes - fi - fi - - dnl EGL - if test "x$HAVE_EGL" = "xyes"; then - if test "x$NEED_EGL" != "xno"; then - GL_LIBS="$GL_LIBS -lEGL" - USE_EGL=yes - fi - fi - - if test "x$USE_EGL" != "xyes"; then - AC_MSG_ERROR([Need EGL on Android]) - fi - - if test "x$USE_GLES2" != "xyes"; then - AC_MSG_ERROR([Need OpenGL|ES 2.0 on Android]) - fi - - HAVE_WINDOW_ANDROID=yes - ;; - *-linux* | *-cygwin* | *-solaris* | *-netbsd* | *-freebsd* | *-openbsd* | *-kfreebsd* | *-dragonflybsd* | *-gnu* ) - if test "x$NEED_WGL" = "xyes"; then - AC_MSG_ERROR([WGL is not available on unix]) - fi - - if test "x$HAVE_X11_XCB" = "xno"; then - if test "x$HAVE_WAYLAND_EGL" = "xno"; then - AC_MSG_WARN([X or Wayland is required for OpenGL support]) - fi - fi - - dnl check Desktop OpenGL - if test "x$HAVE_GL" = "xyes"; then - if test "x$NEED_GL" != "xno"; then - GL_LIBS="$GL_LIBS -lGL" - fi - fi - - dnl OpenGL|ES 2.0 - if test "x$HAVE_GLES2" = "xyes"; then - if test "x$NEED_GLES2" != "xno"; then - GL_LIBS="$GL_LIBS -lGLESv2" - USE_GLES2=yes - fi - fi - - if test "x$HAVE_GBM_EGL" = "xyes"; then - if test "x$NEED_EGL" = "xno" -o "x$HAVE_EGL" = "xno"; then - AC_MSG_WARN([EGL is required by the Mesa GBM EGL backend]) - else - HAVE_WINDOW_GBM=yes - GL_CFLAGS="$GL_CFLAGS $DRM_CFLAGS $GBM_CFLAGS" - fi - fi - - if test "x$HAVE_X11_XCB" = "xyes" -a "x$HAVE_EGL_RPI" = "xno"; then - if test "x$NEED_X11" != "xno"; then - GL_LIBS="$GL_LIBS $X11_XCB_LIBS" - GL_CFLAGS="$GL_CFLAGS $X11_XCB_CFLAGS" - HAVE_WINDOW_X11=yes - fi - fi - - if test "x$HAVE_WAYLAND_EGL" = "xyes"; then - if test "x$NEED_EGL" = "xno" -o "x$HAVE_EGL" = "xno"; then - AC_MSG_WARN([EGL is required by the Wayland backend for OpenGL support]) - else - if test "x$NEED_WAYLAND_EGL" != "xno"; then - HAVE_WINDOW_WAYLAND=yes - GL_LIBS="$GL_LIBS $WAYLAND_EGL_LIBS" - GL_CFLAGS="$GL_CFLAGS $WAYLAND_EGL_CFLAGS" - fi - fi - fi - - if test "x$HAVE_VIV_FB_EGL" = "xyes"; then - if test "x$NEED_EGL" = "xno" -o "x$HAVE_EGL" = "xno"; then - AC_MSG_WARN([EGL is required by the Vivante EGL FB backend]) - else - HAVE_WINDOW_VIV_FB=yes - GL_LIBS="$GL_LIBS" - GL_CFLAGS="$GL_CFLAGS" - fi - fi - - if test "x$HAVE_EGL_RPI" = "xyes"; then - if test "x$NEED_DISPMANX" != "xno"; then - HAVE_WINDOW_DISPMANX=yes - USE_EGL=yes - fi - fi - - dnl EGL - if test "x$HAVE_EGL" = "xno"; then - if test "x$HAVE_GL" = "xno"; then - AC_MSG_WARN([Building requires either EGL or GLX for OpenGL support]) - fi - else - if test "x$NEED_EGL" != "xno"; then - if test "x$HAVE_WINDOW_WAYLAND" = "xyes" -o "x$HAVE_WINDOW_X11" = "xyes" -o "x$HAVE_WINDOW_DISPMANX" = "xyes" -o "x$HAVE_WINDOW_VIV_FB" = "xyes" -o "x$HAVE_WINDOW_GBM" = "xyes"; then - GL_LIBS="$GL_LIBS -lEGL $EGL_LIBS" - GL_CFLAGS="$GL_CFLAGS $EGL_CFLAGS" - USE_EGL=yes - fi - fi - fi - ;; - *-darwin*) - if test "x$HAVE_IOS" = "xyes"; then - if test "x$NEED_WGL" = "xyes"; then - AC_MSG_ERROR([WGL is not available on iOS]) - fi - if test "x$NEED_GLX" = "xyes"; then - AC_MSG_ERROR([GLX is not available on iOS]) - fi - if test "x$NEED_GL" = "xyes"; then - AC_MSG_ERROR([GL is not available on iOS]) - fi - if test "x$NEED_X11" = "xyes"; then - AC_MSG_ERROR([X11 is not available on iOS]) - fi - if test "x$NEED_COCOA" = "xyes"; then - AC_MSG_ERROR([Cocoa is not available on iOS]) - fi - if test "x$NEED_EGL" = "xyes"; then - AC_MSG_ERROR([EGL is not available on iOS]) - fi - - GL_LIBS="$LIBS -framework OpenGLES -framework QuartzCore -framework UIKit -framework CoreGraphics -framework CoreFoundation -framework Foundation" - GL_CFLAGS="$GL_CFLAGS" - USE_GLES2=yes - USE_EAGL=yes - HAVE_WINDOW_EAGL=yes - - ac_cv_type_GLsizeiptr=yes - ac_cv_type_GLintptr=yes - ac_cv_type_GLchar=yes - else - dnl Only osx supports cocoa. - if test "x$NEED_WGL" = "xyes"; then - AC_MSG_ERROR([WGL is not available on Mac OS X]) - fi - - if test "x$NEED_COCOA" != "xno"; then - GL_LIBS="$LIBS -framework OpenGL -framework Cocoa -framework QuartzCore -framework CoreFoundation" - GL_CFLAGS="$GL_CFLAGS" - USE_COCOA=yes - HAVE_WINDOW_COCOA=yes - USE_OPENGL=yes - fi - - if test "x$USE_GLX" = "xyes"; then - if test "x$HAVE_X11_XCB" = "xyes"; then - if test "x$NEED_X11" != "xno"; then - GL_LIBS="$GL_LIBS $X11_XCB_LIBS" - GL_CFLAGS="$GL_CFLAGS $X11_XCB_CFLAGS" - HAVE_WINDOW_X11=yes - fi - fi - - if test "x$HAVE_GL" = "xyes"; then - if test "x$NEED_GL" != "xno"; then - GL_LIBS="$GL_LIBS -lGL" - fi - USE_OPENGL=yes - fi - fi - - if test "x$HAVE_EGL" = "xyes"; then - if test "x$NEED_EGL" != "xno"; then - if test "x$HAVE_WINDOW_X11" = "xyes"; then - GL_LIBS="$GL_LIBS -lEGL $EGL_LIBS" - GL_CFLAGS="$GL_CFLAGS $EGL_CFLAGS" - USE_EGL=yes - fi - fi - fi - - dnl OpenGL|ES 2.0 - if test "x$HAVE_GLES2" = "xyes"; then - if test "x$NEED_GLES2" != "xno"; then - GL_LIBS="$GL_LIBS -lGLESv2" - USE_GLES2=yes - fi - fi - fi - ;; - *-mingw32*) - if test "x$NEED_GLX" = "xyes"; then - AC_MSG_ERROR([GLX is not available on Windows]) - fi - if test "x$NEED_GLES2" = "xyes"; then - AC_MSG_ERROR([OpenGL|ES 2.0 is not supported on your platform yet]) - fi - - if test "x$HAVE_GL" = "xyes"; then - if test "x$NEED_GL" != "xno"; then - if test "x$HAVE_WGL" = "xyes"; then - if test "$NEED_WGL" != "xno"; then - GL_LIBS="$GL_LIBS -lgdi32 -lopengl32" - HAVE_WINDOW_WIN32=yes - USE_OPENGL=yes - USE_WGL=yes - fi - fi - fi - fi - ;; - *) - AC_MSG_WARN([Don't know how to check for OpenGL on your platform.]) - ;; -esac - -GL_PLATFORMS= -GL_WINDOWS= -GL_APIS= -GL_CONFIG_DEFINES= - -dnl APIs - -GST_GL_HAVE_OPENGL=0 -GST_GL_HAVE_GLES2=0 -GST_GL_HAVE_GLES3=0 -GST_GL_HAVE_GLES3EXT3_H=0 - -if test "x$USE_OPENGL" = "xyes"; then - GL_APIS="gl $GL_APIS" - GST_GL_HAVE_OPENGL=1 -fi -if test "x$USE_GLES2" = "xyes"; then - GL_APIS="gles2 $GL_APIS" - GST_GL_HAVE_GLES2=1 - if test "x$HAVE_GLES3_H" = "xyes"; then - GST_GL_HAVE_GLES3=1 - if test "x$HAVE_GLES3EXT3_H" = "xyes"; then - GST_GL_HAVE_GLES3EXT3_H=1 - fi - fi -fi - -GL_CONFIG_DEFINES="$GL_CONFIG_DEFINES -#define GST_GL_HAVE_OPENGL $GST_GL_HAVE_OPENGL -#define GST_GL_HAVE_GLES2 $GST_GL_HAVE_GLES2 -#define GST_GL_HAVE_GLES3 $GST_GL_HAVE_GLES3 -#define GST_GL_HAVE_GLES3EXT3_H $GST_GL_HAVE_GLES3EXT3_H -" - -dnl WINDOW's - -GST_GL_HAVE_WINDOW_X11=0 -GST_GL_HAVE_WINDOW_COCOA=0 -GST_GL_HAVE_WINDOW_WIN32=0 -GST_GL_HAVE_WINDOW_WAYLAND=0 -GST_GL_HAVE_WINDOW_ANDROID=0 -GST_GL_HAVE_WINDOW_DISPMANX=0 -GST_GL_HAVE_WINDOW_EAGL=0 -GST_GL_HAVE_WINDOW_VIV_FB=0 -GST_GL_HAVE_WINDOW_GBM=0 -GST_GL_HAVE_WINDOW_WINRT=0 - -if test "x$HAVE_WINDOW_X11" = "xyes"; then - GL_WINDOWS="x11 $GL_WINDOWS" - GST_GL_HAVE_WINDOW_X11=1 -fi -if test "x$HAVE_WINDOW_COCOA" = "xyes"; then - GL_WINDOWS="cocoa $GL_WINDOWS" - GST_GL_HAVE_WINDOW_COCOA=1 -fi -if test "x$HAVE_WINDOW_WIN32" = "xyes"; then - GL_WINDOWS="win32 $GL_WINDOWS" - GST_GL_HAVE_WINDOW_WIN32=1 -fi -if test "x$HAVE_WINDOW_WAYLAND" = "xyes"; then - GL_WINDOWS="wayland $GL_WINDOWS" - GST_GL_HAVE_WINDOW_WAYLAND=1 -fi -if test "x$HAVE_WINDOW_ANDROID" = "xyes"; then - GL_WINDOWS="android $GL_WINDOWS" - GST_GL_HAVE_WINDOW_ANDROID=1 -fi -if test "x$HAVE_WINDOW_DISPMANX" = "xyes"; then - GL_WINDOWS="dispmanx $GL_WINDOWS" - GST_GL_HAVE_WINDOW_DISPMANX=1 -fi -if test "x$HAVE_WINDOW_EAGL" = "xyes"; then - GL_WINDOWS="eagl $GL_WINDOWS" - GST_GL_HAVE_WINDOW_EAGL=1 -fi -if test "x$HAVE_WINDOW_VIV_FB" = "xyes"; then - GL_WINDOWS="viv-fb $GL_WINDOWS" - GST_GL_HAVE_WINDOW_VIV_FB=1 -fi -if test "x$HAVE_WINDOW_GBM" = "xyes"; then - GL_WINDOWS="gbm $GL_WINDOWS" - GST_GL_HAVE_WINDOW_GBM=1 -fi - -GL_CONFIG_DEFINES="$GL_CONFIG_DEFINES -#define GST_GL_HAVE_WINDOW_X11 $GST_GL_HAVE_WINDOW_X11 -#define GST_GL_HAVE_WINDOW_COCOA $GST_GL_HAVE_WINDOW_COCOA -#define GST_GL_HAVE_WINDOW_WIN32 $GST_GL_HAVE_WINDOW_WIN32 -#define GST_GL_HAVE_WINDOW_WAYLAND $GST_GL_HAVE_WINDOW_WAYLAND -#define GST_GL_HAVE_WINDOW_ANDROID $GST_GL_HAVE_WINDOW_ANDROID -#define GST_GL_HAVE_WINDOW_DISPMANX $GST_GL_HAVE_WINDOW_DISPMANX -#define GST_GL_HAVE_WINDOW_EAGL $GST_GL_HAVE_WINDOW_EAGL -#define GST_GL_HAVE_WINDOW_VIV_FB $GST_GL_HAVE_WINDOW_VIV_FB -#define GST_GL_HAVE_WINDOW_GBM $GST_GL_HAVE_WINDOW_GBM -#define GST_GL_HAVE_WINDOW_WINRT $GST_GL_HAVE_WINDOW_WINRT -" - -dnl PLATFORM's - -GST_GL_HAVE_PLATFORM_EGL=0 -GST_GL_HAVE_PLATFORM_GLX=0 -GST_GL_HAVE_PLATFORM_WGL=0 -GST_GL_HAVE_PLATFORM_CGL=0 -GST_GL_HAVE_PLATFORM_EAGL=0 - -if test "x$USE_EGL" = "xyes"; then - GL_PLATFORMS="egl $GL_PLATFORMS" - GST_GL_HAVE_PLATFORM_EGL=1 -fi -if test "x$USE_GLX" = "xyes"; then - GL_PLATFORMS="glx $GL_PLATFORMS" - GST_GL_HAVE_PLATFORM_GLX=1 -fi -if test "x$USE_WGL" = "xyes"; then - GL_PLATFORMS="wgl $GL_PLATFORMS" - GST_GL_HAVE_PLATFORM_WGL=1 -fi -if test "x$USE_COCOA" = "xyes"; then - GL_PLATFORMS="cgl $GL_PLATFORMS" - GST_GL_HAVE_PLATFORM_CGL=1 -fi -if test "x$USE_EAGL" = "xyes"; then - GL_PLATFORMS="eagl $GL_PLATFORMS" - GST_GL_HAVE_PLATFORM_EAGL=1 -fi - -GL_CONFIG_DEFINES="$GL_CONFIG_DEFINES -#define GST_GL_HAVE_PLATFORM_EGL $GST_GL_HAVE_PLATFORM_EGL -#define GST_GL_HAVE_PLATFORM_GLX $GST_GL_HAVE_PLATFORM_GLX -#define GST_GL_HAVE_PLATFORM_WGL $GST_GL_HAVE_PLATFORM_WGL -#define GST_GL_HAVE_PLATFORM_CGL $GST_GL_HAVE_PLATFORM_CGL -#define GST_GL_HAVE_PLATFORM_EAGL $GST_GL_HAVE_PLATFORM_EAGL -" - -GL_CONFIG_DEFINES="$GL_CONFIG_DEFINES -#define GST_GL_HAVE_DMABUF $GST_GL_HAVE_DMABUF -#define GST_GL_HAVE_VIV_DIRECTVIV $GST_GL_HAVE_VIV_DIRECTVIV -" - -dnl Check for no platforms/window systems -if test "x$GL_APIS" = "x"; then - AC_MSG_WARN([Either OpenGL or OpenGL|ES is required for OpenGL support]) -fi -if test "x$GL_PLATFORMS" = "x"; then - AC_MSG_WARN([Could not find any OpenGL platforms to use such as CGL, WGL or GLX]) -fi -if test "x$GL_WINDOWS" = "x"; then - AC_MSG_WARN([Could not find any window systems to use such as Cocoa, Win32API or X11]) -fi - -if test "x$GL_APIS" = "x" -o "x$GL_PLATFORMS" = "x" -o "x$GL_WINDOWS" = "x"; then - GL_LIBS= - GL_CFLAGS= - GL_OBJCFLAGS= - USE_OPENGL=no - USE_GLES2=no - USE_GLX=no - USE_EGL=no - USE_WGL=no - USE_COCOA=no - USE_EGL_MALI=no - USE_EGL_RPI=no - USE_EAGL=no - - HAVE_WINDOW_X11=no - HAVE_WINDOW_WIN32=no - HAVE_WINDOW_DISPMANX=no - HAVE_WINDOW_WAYLAND=no - HAVE_WINDOW_ANDROID=no - HAVE_WINDOW_COCOA=no - HAVE_WINDOW_EAGL=no - HAVE_WINDOW_VIV_FB=no - HAVE_WINDOW_GBM=no -fi - -AC_SUBST(GL_APIS) -AC_SUBST(GL_PLATFORMS) -AC_SUBST(GL_WINDOWS) -AC_SUBST(GL_LIBS) -AC_SUBST(GL_CFLAGS) -AC_SUBST(GL_OBJCFLAGS) -AC_SUBST(USE_OPENGL) -AC_SUBST(USE_GLES2) - -AM_CONDITIONAL(HAVE_WINDOW_X11, test "x$HAVE_WINDOW_X11" = "xyes") -AM_CONDITIONAL(HAVE_WINDOW_COCOA, test "x$HAVE_WINDOW_COCOA" = "xyes") -AM_CONDITIONAL(HAVE_WINDOW_WIN32, test "x$HAVE_WINDOW_WIN32" = "xyes") -AM_CONDITIONAL(HAVE_WINDOW_DISPMANX, test "x$HAVE_WINDOW_DISPMANX" = "xyes") -AM_CONDITIONAL(HAVE_WINDOW_WAYLAND, test "x$HAVE_WINDOW_WAYLAND" = "xyes") -AM_CONDITIONAL(HAVE_WINDOW_ANDROID, test "x$HAVE_WINDOW_ANDROID" = "xyes") -AM_CONDITIONAL(HAVE_WINDOW_EAGL, test "x$HAVE_WINDOW_EAGL" = "xyes") -AM_CONDITIONAL(HAVE_WINDOW_VIV_FB, test "x$HAVE_WINDOW_VIV_FB" = "xyes") -AM_CONDITIONAL(HAVE_WINDOW_GBM, test "x$HAVE_WINDOW_GBM" = "xyes") - -AM_CONDITIONAL(USE_OPENGL, test "x$USE_OPENGL" = "xyes") -AM_CONDITIONAL(USE_GLES2, test "x$USE_GLES2" = "xyes") -AM_CONDITIONAL(USE_GLX, test "x$USE_GLX" = "xyes") -AM_CONDITIONAL(USE_EGL, test "x$USE_EGL" = "xyes") -AM_CONDITIONAL(USE_WGL, test "x$USE_WGL" = "xyes") -AM_CONDITIONAL(USE_COCOA, test "x$USE_COCOA" = "xyes") -AM_CONDITIONAL(USE_EGL_MALI, test "x$USE_EGL_MALI" = "xyes") -AM_CONDITIONAL(USE_EGL_RPI, test "x$USE_EGL_RPI" = "xyes") -AM_CONDITIONAL(USE_EAGL, test "x$USE_EAGL" = "xyes") - -AM_CONDITIONAL(HAVE_GST_GL, test "x$USE_OPENGL" = "xyes" -o "x$USE_GLES2" = "xyes") - -dnl Check for some types that are not always present -GL_INCLUDES="" -if test "x$USE_GLES2" = "xyes"; then - GL_INCLUDES="$GL_INCLUDES -#ifndef GL_GLEXT_PROTOTYPES -#define GL_GLEXT_PROTOTYPES 1 -#endif -# ifdef HAVE_IOS -# include -# include -# else -# if $GST_GL_HAVE_GLES3 -# include -# if $GST_GL_HAVE_GLES3EXT3_H -# include -# endif -# include -# else -# include -# include -# endif -# endif -" -fi - -if test "x$USE_OPENGL" = "xyes"; then - GL_INCLUDES="$GL_INCLUDES -# ifdef __APPLE__ -# include -# include -# else -# include -# if __WIN32__ || _WIN32 -# include -# endif -# endif -" -fi - -GST_GL_HAVE_GLEGLIMAGEOES=0 -GST_GL_HAVE_GLCHAR=0 -GST_GL_HAVE_GLSIZEIPTR=0 -GST_GL_HAVE_GLINTPTR=0 -GST_GL_HAVE_GLSYNC=0 -GST_GL_HAVE_GLUINT64=0 -GST_GL_HAVE_GLINT64=0 -GST_GL_HAVE_EGLATTRIB=0 -GST_GL_HAVE_EGLUINT64KHR=0 - -old_CFLAGS=$CFLAGS -CFLAGS="$GL_CFLAGS $CFLAGS" - -AC_CHECK_TYPES(GLeglImageOES, [], [], [[$GL_INCLUDES]]) -if test "x$ac_cv_type_GLeglImageOES" = "xyes"; then - GST_GL_HAVE_GLEGLIMAGEOES=1 -fi - -AC_CHECK_TYPES(GLchar, [], [], [[$GL_INCLUDES]]) -if test "x$ac_cv_type_GLchar" = "xyes"; then - GST_GL_HAVE_GLCHAR=1 -fi - -AC_CHECK_TYPES(GLsizeiptr, [], [], [[$GL_INCLUDES]]) -if test "x$ac_cv_type_GLsizeiptr" = "xyes"; then - GST_GL_HAVE_GLSIZEIPTR=1 -fi - -AC_CHECK_TYPES(GLintptr, [], [], [[$GL_INCLUDES]]) -if test "x$ac_cv_type_GLintptr" = "xyes"; then - GST_GL_HAVE_GLINTPTR=1 -fi - -AC_CHECK_TYPES(GLsync, [], [], [[$GL_INCLUDES]]) -if test "x$ac_cv_type_GLsync" = "xyes"; then - GST_GL_HAVE_GLSYNC=1 -fi - -AC_CHECK_TYPES(GLuint64, [], [], [[$GL_INCLUDES]]) -if test "x$ac_cv_type_GLuint64" = "xyes"; then - GST_GL_HAVE_GLUINT64=1 -fi - -AC_CHECK_TYPES(GLint64, [], [], [[$GL_INCLUDES]]) -if test "x$ac_cv_type_GLint64" = "xyes"; then - GST_GL_HAVE_GLINT64=1 -fi - -if test "x$USE_EGL" = "xyes"; then - EGL_INCLUDES="$GL_INCLUDES - #include - #include - " - AC_CHECK_TYPES(EGLAttrib, [], [], [[$EGL_INCLUDES]]) - if test "x$ac_cv_type_EGLAttrib" = "xyes"; then - GST_GL_HAVE_EGLATTRIB=1 - fi - - AC_CHECK_TYPES(EGLuint64KHR, [], [], [[$EGL_INCLUDES]]) - if test "x$ac_cv_type_EGLuint64KHR" = "xyes"; then - GST_GL_HAVE_EGLUINT64KHR=1 - fi -fi - -CFLAGS=$old_CFLAGS - -GL_CONFIG_DEFINES="$GL_CONFIG_DEFINES -#define GST_GL_HAVE_GLEGLIMAGEOES $GST_GL_HAVE_GLEGLIMAGEOES -#define GST_GL_HAVE_GLCHAR $GST_GL_HAVE_GLCHAR -#define GST_GL_HAVE_GLSIZEIPTR $GST_GL_HAVE_GLSIZEIPTR -#define GST_GL_HAVE_GLINTPTR $GST_GL_HAVE_GLINTPTR -#define GST_GL_HAVE_GLSYNC $GST_GL_HAVE_GLSYNC -#define GST_GL_HAVE_GLUINT64 $GST_GL_HAVE_GLUINT64 -#define GST_GL_HAVE_GLINT64 $GST_GL_HAVE_GLINT64 -#define GST_GL_HAVE_EGLATTRIB $GST_GL_HAVE_EGLATTRIB -#define GST_GL_HAVE_EGLUINT64KHR $GST_GL_HAVE_EGLUINT64KHR -" - -AC_CONFIG_COMMANDS([gst-libs/gst/gl/gstglconfig.h], [ - outfile=gstglconfig.h-tmp - cat > $outfile <<\_______EOF -/* gstglconfig.h - * - * This is a generated file. Please modify `configure.ac' - */ - -#ifndef __GST_GL_CONFIG_H__ -#define __GST_GL_CONFIG_H__ - -#include - -G_BEGIN_DECLS - -_______EOF - - cat >>$outfile <<_______EOF -$gl_config_defines -_______EOF - - cat >>$outfile <<_______EOF - -G_END_DECLS - -#endif /* __GST_GL_CONFIG_H__ */ -_______EOF - - - if cmp -s $outfile gst-libs/gst/gl/gstglconfig.h; then - AC_MSG_NOTICE([gst-libs/gst/gl/gstglconfig.h is unchanged]) - rm -f $outfile - else - mv $outfile gst-libs/gst/gl/gstglconfig.h - fi -],[ -gl_config_defines='$GL_CONFIG_DEFINES' -]) - -]) - -dnl -------------------------------------------------------------------------- -dnl GStreamer OpenGL plugin-related checks (ext/opengl) -dnl -------------------------------------------------------------------------- -dnl FIXME: make these checks conditional to the opengl plugin being enabled - -AC_DEFUN([AG_GST_GL_PLUGIN_CHECKS], -[ - -dnl graphene-1.0 is optional and used in gltransformation -HAVE_GRAPHENE=NO -PKG_CHECK_MODULES(GRAPHENE, graphene-1.0 >= 1.4.0, HAVE_GRAPHENE=yes, HAVE_GRAPHENE=no) -if test "x$HAVE_GRAPHENE" = "xyes"; then - AC_DEFINE(HAVE_GRAPHENE, [1] , [Use graphene]) -fi -AC_SUBST(HAVE_GRAPHENE) -AC_SUBST(GRAPHENE_LIBS) -AC_SUBST(GRAPHENE_CFLAGS) - -dnl Needed by plugins that use g_module_*() API -PKG_CHECK_MODULES(GMODULE_NO_EXPORT, gmodule-no-export-2.0) - -dnl libpng is optional -if test "x$NEED_PNG" != "xno"; then - PKG_CHECK_MODULES(LIBPNG, libpng >= 1.0, HAVE_PNG=yes, HAVE_PNG=no) - if test "x$HAVE_PNG" = "xyes"; then - AC_DEFINE(HAVE_PNG, [1] , [Use libpng]) - elif test "x$NEED_PNG" = "xyes"; then - AC_MSG_ERROR([libpng support requested but libpng is not available]) - fi -fi -AC_SUBST(HAVE_PNG) -AC_SUBST(LIBPNG_LIBS) -AC_SUBST(LIBPNG_CFLAGS) - -dnl libjpeg is optional -AC_ARG_WITH(jpeg-mmx, [ --with-jpeg-mmx, path to MMX'ified JPEG library]) -if test "x$NEED_JPEG" != "xno"; then - 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 - JPEG_LIBS="-ljpeg" - AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no") - fi - - if test x$HAVE_JPEG = xyes; then - AC_DEFINE(HAVE_JPEG, [1], [Use libjpeg]) - elif test "x$NEED_JPEG" = "xyes"; then - AC_MSG_ERROR([libjpeg support requested but libjpeg is not available]) - else - JPEG_LIBS= - fi - AC_SUBST(JPEG_LIBS) - AC_SUBST(HAVE_JPEG) -fi -]) - -dnl -------------------------------------------------------------------------- -dnl GStreamer OpenGL examples-related checks (tests/examples/gl) -dnl -------------------------------------------------------------------------- - -AC_DEFUN([AG_GST_GL_EXAMPLES_CHECKS], -[ - -dnl sdl is optional and used in examples -HAVE_SDL=NO -if test "x$BUILD_EXAMPLES" = "xyes"; then - PKG_CHECK_MODULES(SDL, sdl2, HAVE_SDL=yes, HAVE_SDL=no) - AC_SUBST(SDL_LIBS) - AC_SUBST(SDL_CFLAGS) -fi -AM_CONDITIONAL(HAVE_SDL, test "x$HAVE_SDL" = "xyes") - -]) 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/lrint.m4 b/m4/lrint.m4 deleted file mode 100644 index 7d72c73fb9..0000000000 --- a/m4/lrint.m4 +++ /dev/null @@ -1,27 +0,0 @@ -dnl @synopsis AC_C99_FUNC_LRINT -dnl -dnl Check whether C99's lrint function is available. -dnl @version 1.1 -dnl @author Erik de Castro Lopo -dnl -dnl Permission to use, copy, modify, distribute, and sell this file for any -dnl purpose is hereby granted without fee, provided that the above copyright -dnl and this permission notice appear in all copies. No representations are -dnl made about the suitability of this software for any purpose. It is -dnl provided "as is" without express or implied warranty. -dnl -AC_DEFUN([AC_C99_FUNC_LRINT], -[AC_CACHE_CHECK(for lrint, - ac_cv_c99_lrint, -[AC_TRY_LINK([ -#define _ISOC9X_SOURCE 1 -#define _ISOC99_SOURCE 1 -#define __USE_ISOC99 1 -#define __USE_ISOC9X 1 -#include ], -[ int value = lrint (0.432) ; ], ac_cv_c99_lrint=yes, ac_cv_c99_lrint=no)]) -if test $ac_cv_c99_lrint = yes; then - AC_DEFINE(HAVE_LRINT, 1, - [Define if you have C99's lrint function.]) -fi -])# AC_C99_LRINT diff --git a/m4/lrintf.m4 b/m4/lrintf.m4 deleted file mode 100644 index f9b76e367f..0000000000 --- a/m4/lrintf.m4 +++ /dev/null @@ -1,27 +0,0 @@ -dnl @synopsis AC_C99_FUNC_LRINTF -dnl -dnl Check whether C99's lrintf function is available. -dnl @version 1.1 -dnl @author Erik de Castro Lopo -dnl -dnl Permission to use, copy, modify, distribute, and sell this file for any -dnl purpose is hereby granted without fee, provided that the above copyright -dnl and this permission notice appear in all copies. No representations are -dnl made about the suitability of this software for any purpose. It is -dnl provided "as is" without express or implied warranty. -dnl -AC_DEFUN([AC_C99_FUNC_LRINTF], -[AC_CACHE_CHECK(for lrintf, - ac_cv_c99_lrintf, -[AC_TRY_LINK([ -#define _ISOC9X_SOURCE 1 -#define _ISOC99_SOURCE 1 -#define __USE_ISOC99 1 -#define __USE_ISOC9X 1 -#include ], -[ int value = lrintf (0.432) ; ], ac_cv_c99_lrintf=yes, ac_cv_c99_lrintf=no)]) -if test $ac_cv_c99_lrintf = yes; then - AC_DEFINE(HAVE_LRINTF, 1, - [Define if you have C99's lrintf function.]) -fi -])# AC_C99_LRINTF 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 5be7145f67..0000000000 --- a/pkgconfig/Makefile.am +++ /dev/null @@ -1,81 +0,0 @@ -### all of the standard pc files we need to generate -pcverfiles = \ - gstreamer-allocators-@GST_API_VERSION@.pc \ - gstreamer-audio-@GST_API_VERSION@.pc \ - gstreamer-app-@GST_API_VERSION@.pc \ - gstreamer-fft-@GST_API_VERSION@.pc \ - gstreamer-pbutils-@GST_API_VERSION@.pc \ - gstreamer-riff-@GST_API_VERSION@.pc \ - gstreamer-rtp-@GST_API_VERSION@.pc \ - gstreamer-rtsp-@GST_API_VERSION@.pc \ - gstreamer-sdp-@GST_API_VERSION@.pc \ - gstreamer-tag-@GST_API_VERSION@.pc \ - gstreamer-video-@GST_API_VERSION@.pc \ - gstreamer-plugins-base-@GST_API_VERSION@.pc -pcverfiles_uninstalled = \ - gstreamer-allocators-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-audio-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-app-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-fft-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-pbutils-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-riff-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-rtp-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-rtsp-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-sdp-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-tag-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-video-@GST_API_VERSION@-uninstalled.pc \ - gstreamer-plugins-base-@GST_API_VERSION@-uninstalled.pc - -if HAVE_GST_GL -pcverfiles += gstreamer-gl-@GST_API_VERSION@.pc -pcverfiles_uninstalled += gstreamer-gl-@GST_API_VERSION@-uninstalled.pc -endif - -all-local: $(pcverfiles) $(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_0)cp $< $@ -%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc -### the uninstalled libdir is depend of the build system used so set it here -### rather than hardcoding it in the file directly. - $(AM_V_GEN) sed \ - -e "s|[@]allocatorslibdir[@]|$(abs_top_builddir)/gst-libs/gst/allocators/.libs|" \ - -e "s|[@]audiolibdir[@]|$(abs_top_builddir)/gst-libs/gst/audio/.libs|" \ - -e "s|[@]applibdir[@]|$(abs_top_builddir)/gst-libs/gst/app/.libs|" \ - -e "s|[@]fftlibdir[@]|$(abs_top_builddir)/gst-libs/gst/fft/.libs|" \ - -e "s|[@]pbutilslibdir[@]|$(abs_top_builddir)/gst-libs/gst/pbutils/.libs|" \ - -e "s|[@]rifflibdir[@]|$(abs_top_builddir)/gst-libs/gst/riff/.libs|" \ - -e "s|[@]rtplibdir[@]|$(abs_top_builddir)/gst-libs/gst/rtp/.libs|" \ - -e "s|[@]rtsplibdir[@]|$(abs_top_builddir)/gst-libs/gst/rtsp/.libs|" \ - -e "s|[@]sdplibdir[@]|$(abs_top_builddir)/gst-libs/gst/sdp/.libs|" \ - -e "s|[@]taglibdir[@]|$(abs_top_builddir)/gst-libs/gst/tag/.libs|" \ - -e "s|[@]videolibdir[@]|$(abs_top_builddir)/gst-libs/gst/video/.libs|" \ - -e "s|[@]gllibdir[@]|$(abs_top_builddir)/gst-libs/gst/gl/.libs|" \ - $< > $@.tmp && mv $@.tmp $@ - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = $(pcverfiles) - -CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled) -pcinfiles = \ - gstreamer-allocators.pc.in gstreamer-allocators-uninstalled.pc.in \ - gstreamer-audio.pc.in gstreamer-audio-uninstalled.pc.in \ - gstreamer-app.pc.in gstreamer-app-uninstalled.pc.in \ - gstreamer-fft.pc.in gstreamer-fft-uninstalled.pc.in \ - gstreamer-pbutils.pc.in gstreamer-pbutils-uninstalled.pc.in \ - gstreamer-riff.pc.in gstreamer-riff-uninstalled.pc.in \ - gstreamer-rtp.pc.in gstreamer-rtp-uninstalled.pc.in \ - gstreamer-rtsp.pc.in gstreamer-rtsp-uninstalled.pc.in \ - gstreamer-sdp.pc.in gstreamer-sdp-uninstalled.pc.in \ - gstreamer-tag.pc.in gstreamer-tag-uninstalled.pc.in \ - gstreamer-video.pc.in gstreamer-video-uninstalled.pc.in \ - gstreamer-gl.pc.in gstreamer-gl-uninstalled.pc.in \ - gstreamer-plugins-base.pc.in gstreamer-plugins-base-uninstalled.pc.in - -DISTCLEANFILES = $(pcinfiles:.in=) -EXTRA_DIST = $(pcinfiles) diff --git a/po/.gitignore b/po/.gitignore deleted file mode 100644 index cada389419..0000000000 --- a/po/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -*.gmo -remove-potcdate.sed -remove-potcdate.sin -stamp-po -POTFILES -cat-id-tbl.c -gst-plugins-*.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 7c6f9635ce..0000000000 --- a/po/Makevars +++ /dev/null @@ -1,47 +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-base-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 c3c22381c5..0000000000 --- a/sys/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -if USE_X -XIMAGE_DIR=ximage -else -XIMAGE_DIR= -endif - -if USE_XVIDEO -XVIMAGE_DIR=xvimage -else -XVIMAGE_DIR= -endif - -SUBDIRS = \ - $(XIMAGE_DIR) \ - $(XVIMAGE_DIR) - -DIST_SUBDIRS = \ - ximage \ - xvimage - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/sys/ximage/Makefile.am b/sys/ximage/Makefile.am deleted file mode 100644 index 16d4ec4159..0000000000 --- a/sys/ximage/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -plugin_LTLIBRARIES = libgstximagesink.la - -libgstximagesink_la_SOURCES = ximagesink.c ximage.c ximagepool.c -libgstximagesink_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) -libgstximagesink_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(X_LIBS) $(XSHM_LIBS) -libgstximagesink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstximagesink_la_DEPENDENCIES = $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la - -noinst_HEADERS = ximagesink.h ximagepool.h diff --git a/sys/xvimage/Makefile.am b/sys/xvimage/Makefile.am deleted file mode 100644 index 6ccc39edd7..0000000000 --- a/sys/xvimage/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -plugin_LTLIBRARIES = libgstxvimagesink.la - -libgstxvimagesink_la_SOURCES = xvimagesink.c xvimage.c xvimagepool.c xvimageallocator.c xvcontext.c -libgstxvimagesink_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) -libgstxvimagesink_la_LIBADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) \ - $(X_LIBS) $(XVIDEO_LIBS) $(XSHM_LIBS) $(LIBM) -libgstxvimagesink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -libgstxvimagesink_la_DEPENDENCIES = $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la - -noinst_HEADERS = xvimagesink.h xvimagepool.h xvimageallocator.h xvcontext.h diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index de36755bed..0000000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -if BUILD_EXAMPLES -SUBDIRS_EXAMPLES = examples -else -SUBDIRS_EXAMPLES = -endif - -if HAVE_GST_CHECK -SUBDIRS_CHECK = check -else -SUBDIRS_CHECK = -endif - -if USE_X -SUBDIRS_ICLES = icles -else -SUBDIRS_ICLES = -endif - -SUBDIRS = \ - $(SUBDIRS_CHECK) \ - $(SUBDIRS_EXAMPLES) \ - $(SUBDIRS_ICLES) - -DIST_SUBDIRS = \ - check \ - examples \ - files \ - icles diff --git a/tests/check/.gitignore b/tests/check/.gitignore deleted file mode 100644 index 9af31302e4..0000000000 --- a/tests/check/.gitignore +++ /dev/null @@ -1 +0,0 @@ -test-registry.* diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am deleted file mode 100644 index c6d640d134..0000000000 --- a/tests/check/Makefile.am +++ /dev/null @@ -1,998 +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 += \ - GST_STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)" \ - $(REGISTRY_ENVIRONMENT) \ - GST_PLUGIN_SYSTEM_PATH_1_0= \ - GST_PLUGIN_PATH_1_0=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GST_PLUGINS_DIR) \ - GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base@$(top_builddir)" \ - GST_TAG_LICENSE_TRANSLATIONS_DICT="$(top_srcdir)/gst-libs/gst/tag/license-translations.dict" - - -# the core dumps of some machines have PIDs appended -CLEANFILES = core.* test-registry.* - -clean-local: clean-local-check - -distclean-local: distclean-local-orc - -$(CHECK_REGISTRY): - $(AM_TESTS_ENVIRONMENT) - -# elements to ignore for the state tests -STATE_IGNORE_ELEMENTS = cdio cdparanoiasrc libvisual_ alsasrc alsasink - -TESTS = $(check_PROGRAMS) - -if USE_GL -check_gl=\ - libs/gstglcontext \ - libs/gstglmemory \ - libs/gstglupload \ - libs/gstglcolorconvert \ - libs/gstglmatrix \ - libs/gstglquery \ - libs/gstglsl \ - libs/gstglslstage \ - libs/gstglshader \ - libs/gstglheaders \ - libs/gstglformat \ - libs/gstglfeature \ - elements/glimagesink \ - elements/glbin \ - pipelines/gl-launch-lines -else -check_gl= -endif - -if USE_LIBVISUAL -check_libvisual = elements/libvisual -else -check_libvisual = -endif - -if USE_OGG -check_ogg = pipelines/oggmux -else -check_ogg = -endif - -if USE_OPUS -check_opus = elements/opus -else -check_opus = -endif - -if USE_PANGO -check_pango = elements/textoverlay -else -check_pango = -endif - -if USE_VORBIS -check_vorbis = elements/vorbisdec pipelines/vorbisenc pipelines/vorbisdec \ - elements/vorbistag -else -check_vorbis = -endif - -if USE_PLUGIN_AUDIOTESTSRC -check_audiotestsrc = elements/audiotestsrc -else -check_audiotestsrc = -endif - -if USE_PLUGIN_AUDIOCONVERT -check_audioconvert = elements/audioconvert -else -check_audioconvert = -endif - -if USE_PLUGIN_AUDIOMIXER -check_audiomixer = elements/audiointerleave elements/audiomixer -else -check_audiomixer = -endif - -if USE_PLUGIN_COMPOSITOR -check_compositor = elements/compositor -else -check_compositor = -endif - -if USE_PLUGIN_PLAYBACK -check_playback = elements/decodebin elements/playbin \ - elements/playbin-complex elements/streamsynchronizer \ - elements/playsink \ - elements/urisourcebin -else -check_playback = -endif - -if USE_THEORA -check_theora = pipelines/theoraenc -else -check_theora = -endif - -if USE_VORBIS -if USE_THEORA -check_encodebin = elements/encodebin -else -check_encodebin = -endif -else -check_encodebin = -endif - -if USE_PLUGIN_TYPEFIND -check_typefind = gst/typefindfunctions -else -check_typefind = -endif - -if USE_PLUGIN_RAWPARSE -check_rawparse = elements/rawaudioparse elements/rawvideoparse -else -check_rawparse = -endif - -if USE_PLUGIN_SUBPARSE -check_subparse = elements/subparse -else -check_subparse = -endif - -if USE_PLUGIN_VIDEOCONVERT -check_videoconvert = elements/videoconvert -else -check_videoconvert = -endif - -if USE_PLUGIN_VIDEORATE -check_videorate = elements/videorate -else -check_videorate = -endif - -if USE_PLUGIN_VIDEOSCALE -check_videoscale = elements/videoscale elements/videoscale-1 \ - elements/videoscale-2 elements/videoscale-3 elements/videoscale-4 \ - elements/videoscale-5 elements/videoscale-6 -else -check_videoscale = -endif - -if USE_PLUGIN_VIDEOTESTSRC -check_videotestsrc = elements/videotestsrc -else -check_videotestsrc = -endif - -if USE_PLUGIN_VOLUME -check_volume = elements/volume -else -check_volume = -endif - -if USE_PLUGIN_ADDER -check_adder = elements/adder -else -check_adder = -endif - -if HAVE_ORC -check_orc = orc/video orc/audio orc/audiomixer orc/adder orc/compositor orc/volume orc/videotestsrc -else -check_orc = -endif - -if USE_PLUGIN_GIO -check_gio = pipelines/gio -else -check_gio = -endif - -if USE_PLUGIN_APP -check_app = elements/appsink elements/appsrc -else -check_app = -endif - -if USE_PLUGIN_AUDIORATE -check_audiorate = elements/audiorate -else -check_audiorate = -endif - -if USE_PLUGIN_TCP -if USE_PLUGIN_APP -check_tcp = elements/multifdsink elements/multisocketsink pipelines/tcp -else -check_tcp = elements/multifdsink elements/multisocketsink -endif -else -check_tcp = -endif - -if USE_PLUGIN_AUDIORESAMPLE -check_audioresample = elements/audioresample -else -check_audioresample = -endif - -if USE_PLUGIN_OVERLAYCOMPOSITION -check_overlaycomposition = elements/overlaycomposition -else -check_overlaycomposition = -endif - -if HAVE_CXX -cxx_checks = libs/gstlibscpp -else -cxx_checks = -endif - -check_PROGRAMS = \ - generic/clock-selection \ - generic/states \ - libs/libsabi \ - libs/allocators \ - libs/audio \ - libs/audiocdsrc \ - libs/audiodecoder \ - libs/audioencoder \ - libs/baseaudiovisualizer \ - libs/discoverer \ - libs/fft \ - libs/navigation \ - libs/pbutils \ - libs/profile \ - libs/mikey \ - libs/rtp \ - libs/rtpbasedepayload \ - libs/rtpbasepayload \ - libs/rtpmeta \ - libs/rtsp \ - libs/rtspconnection \ - libs/sdp \ - libs/tag \ - libs/video \ - libs/videoanc \ - libs/videodecoder \ - libs/videoencoder \ - libs/videotimecode \ - libs/xmpwriter \ - pipelines/simple-launch-lines \ - pipelines/basetime \ - pipelines/capsfilter-renegotiation \ - pipelines/streamsynchronizer \ - $(check_adder) \ - $(check_app) \ - $(check_audioconvert) \ - $(check_audiomixer) \ - $(check_audiorate) \ - $(check_audioresample) \ - $(check_audiotestsrc) \ - $(check_compositor) \ - $(check_encodebin) \ - $(check_gio) \ - $(check_gl) \ - $(check_ogg) \ - $(check_opus) \ - $(check_overlaycomposition) \ - $(check_pango) \ - $(check_playback) \ - $(check_rawparse) \ - $(check_subparse) \ - $(check_tcp) \ - $(check_theora) \ - $(check_typefind) \ - $(check_videoconvert) \ - $(check_videorate) \ - $(check_videoscale) \ - $(check_videotestsrc) \ - $(check_volume) \ - $(check_vorbis) \ - $(cxx_checks) \ - $(check_orc) - -# TORTURE_TO_FIX = \ -# elements/adder - -# videoconvert takes too long, so disabled for now -VALGRIND_TO_FIX = \ - $(check_orc) - -# these tests don't even pass -noinst_PROGRAMS = $(check_libvisual) - -noinst_HEADERS = \ - libs/struct_arm.h \ - libs/struct_i386.h \ - libs/struct_i386_osx.h \ - libs/struct_ppc32.h \ - libs/struct_ppc64.h \ - libs/struct_x86_64.h - -AM_CFLAGS = -I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \ - $(GST_CFLAGS) $(GST_CHECK_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) -AM_CXXFLAGS = -I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \ - $(GST_CXXFLAGS) $(GST_CHECK_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_LIBS) $(GST_CHECK_LIBS) - -# valgrind testing -VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX) - -SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-base.supp - -libs_libsabi_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_libsabi_LDADD = \ - $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/fft/libgstfft-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_allocators_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_allocators_LDADD = \ - $(top_builddir)/gst-libs/gst/allocators/libgstallocators-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_audio_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_audio_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_audiodecoder_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_audiodecoder_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_audioencoder_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_audioencoder_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_audiocdsrc_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_audiocdsrc_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_baseaudiovisualizer_SOURCES = libs/baseaudiovisualizer.c -libs_baseaudiovisualizer_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) $(AM_CFLAGS) -libs_baseaudiovisualizer_LDADD = \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(GST_LIBS) $(LDADD) - -libs_discoverer_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) \ - -DGST_TEST_FILE="\"$(abs_top_srcdir)/tests/files/partialframe.mjpeg\"" -libs_discoverer_LDADD = \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_fft_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_fft_LDADD = \ - $(top_builddir)/gst-libs/gst/fft/libgstfft-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_gstglcontext_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglcontext_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglmemory_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglmemory_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglupload_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglupload_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglcolorconvert_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglcolorconvert_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglmatrix_CFLAGS = \ - $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \ - -DGST_USE_UNSTABLE_API \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS) - -libs_gstglmatrix_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglquery_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglquery_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglsl_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglsl_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglslstage_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglslstage_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglshader_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglshader_CFLAGS = \ - $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \ - -DGST_USE_UNSTABLE_API \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglheaders_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglheaders_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglformat_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglformat_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_gstglfeature_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -libs_gstglfeature_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -elements_glimagesink_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -elements_glimagesink_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -elements_glbin_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GL_CFLAGS) $(AM_CFLAGS) - -elements_glbin_LDADD = \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -libs_navigation_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_navigation_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_sdp_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_sdp_LDADD = \ - $(top_builddir)/gst-libs/gst/sdp/libgstsdp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_rtp_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_rtp_LDADD = \ - $(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_mikey_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_mikey_LDADD = \ - $(top_builddir)/gst-libs/gst/sdp/libgstsdp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_rtpbasepayload_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_rtpbasepayload_LDADD = \ - $(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_rtpbasedepayload_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_rtpbasedepayload_LDADD = \ - $(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_rtpmeta_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_rtpmeta_LDADD = \ - $(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_rtsp_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_rtsp_LDADD = \ - $(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_rtspconnection_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GIO_CFLAGS) \ - $(AM_CFLAGS) -libs_rtspconnection_LDADD = \ - $(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GIO_LIBS) $(LDADD) - -libs_tag_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_tag_LDADD = \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_pbutils_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_pbutils_LDADD = \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -libs_profile_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) -libs_profile_LDADD = \ - $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la $(LDADD) - -libs_xmpwriter_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_xmpwriter_LDADD = \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - - -libs_gstlibscpp_SOURCES = libs/gstlibscpp.cc - -elements_appsink_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) - -elements_appsink_LDADD = \ - $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \ - $(LDADD) - -elements_appsrc_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) - -elements_appsrc_LDADD = \ - $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \ - $(LDADD) - -elements_audioconvert_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -elements_audioconvert_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -elements_audiomixer_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) \ - $(LDADD) -elements_audiomixer_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) \ - $(AM_CFLAGS) - -elements_audiointerleave_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) -elements_audiointerleave_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_audiorate_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \ - $(LDADD) -elements_audiorate_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) - -elements_audiotestsrc_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) -elements_audiotestsrc_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -elements_compositor_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) -elements_compositor_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) - -elements_libvisual_LDADD = $(LDADD) -elements_libvisual_CFLAGS = $(CFLAGS) $(AM_CFLAGS) - -elements_playbin_LDADD = $(GST_BASE_LIBS) $(LDADD) -elements_playbin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_playbin_complex_LDADD = $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_BASE_LIBS) $(LDADD) -elements_playbin_complex_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_urisourcebin_LDADD = $(GST_BASE_LIBS) $(LDADD) -elements_urisourcebin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_decodebin_LDADD = $(GST_BASE_LIBS) $(LDADD) -elements_decodebin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_encodebin_LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la $(GST_BASE_LIBS) $(LDADD) -elements_encodebin_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_rawaudioparse_LDADD = $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la $(GST_BASE_LIBS) -lgstbase-@GST_API_VERSION@ $(LDADD) -elements_rawaudioparse_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_rawvideoparse_LDADD = $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_BASE_LIBS) -lgstbase-@GST_API_VERSION@ $(LDADD) -elements_rawvideoparse_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_subparse_LDADD = $(LDADD) -elements_subparse_CFLAGS = $(CFLAGS) $(AM_CFLAGS) - -elements_adder_LDADD = $(GST_BASE_LIBS) $(LDADD) -elements_adder_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_audioresample_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -elements_audioresample_LDADD = \ - $(top_builddir)/gst-libs/gst/fft/libgstfft-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -elements_textoverlay_LDADD = $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_BASE_LIBS) $(LDADD) -elements_textoverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) - -elements_volume_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_CONTROLLER_LIBS) \ - $(GST_BASE_LIBS) \ - $(LDADD) - -elements_volume_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CONTROLLER_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -elements_overlaycomposition_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -elements_overlaycomposition_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -elements_vorbisdec_LDADD = \ - $(LDADD) \ - $(VORBIS_LIBS) \ - $(VORBISENC_LIBS) - -elements_vorbisdec_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) \ - $(VORBIS_CFLAGS) \ - $(CFLAGS) - -elements_vorbistag_LDADD = \ - $(LDADD) \ - $(VORBIS_LIBS) \ - $(VORBISENC_LIBS) - -elements_vorbistag_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) \ - $(VORBIS_CFLAGS) \ - $(CFLAGS) - -elements_videoconvert_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) -elements_videoconvert_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -elements_videoscale_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) -elements_videoscale_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(LDADD) - -elements_videoscale_1_SOURCES = elements/videoscale.c -elements_videoscale_1_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=1 -elements_videoscale_1_LDADD = $(elements_videoscale_LDADD) -elements_videoscale_2_SOURCES = elements/videoscale.c -elements_videoscale_2_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=2 -elements_videoscale_2_LDADD = $(elements_videoscale_LDADD) -elements_videoscale_3_SOURCES = elements/videoscale.c -elements_videoscale_3_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=3 -elements_videoscale_3_LDADD = $(elements_videoscale_LDADD) -elements_videoscale_4_SOURCES = elements/videoscale.c -elements_videoscale_4_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=4 -elements_videoscale_4_LDADD = $(elements_videoscale_LDADD) -elements_videoscale_5_SOURCES = elements/videoscale.c -elements_videoscale_5_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=5 -elements_videoscale_5_LDADD = $(elements_videoscale_LDADD) -elements_videoscale_6_SOURCES = elements/videoscale.c -elements_videoscale_6_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=6 -elements_videoscale_6_LDADD = $(elements_videoscale_LDADD) - -generic_states_LDADD = $(GLIB_LIBS) $(LDADD) - -gst_typefindfunctions_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS) -gst_typefindfunctions_LDADD = $(GST_BASE_LIBS) $(LDADD) - -libs_video_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_video_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_videoanc_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_videoanc_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_videodecoder_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_videodecoder_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_videoencoder_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_videoencoder_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -libs_videotimecode_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -libs_videotimecode_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -elements_multisocketsink_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS) -elements_multisocketsink_LDADD = $(GIO_LIBS) $(LDADD) - -if USE_GIO_UNIX_2_0 -GIO_UNIX_2_0_DEFINED=-DHAVE_GIO_UNIX_2_0=1 -endif - -pipelines_tcp_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GIO_CFLAGS) $(GIO_UNIX_2_0_CFLAGS) $(GIO_UNIX_2_0_DEFINED) $(AM_CFLAGS) -pipelines_tcp_LDADD = $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \ - $(GST_NET_LIBS) $(GIO_LIBS) $(GIO_UNIX_2_0_LIBS) $(LDADD) - -pipelines_gio_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS) -pipelines_gio_LDADD = $(GIO_LIBS) $(LDADD) - -pipelines_gl_launch_lines_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS) - -pipelines_gl_launch_lines_LDADD = \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) - -pipelines_vorbisenc_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(AM_CFLAGS) - -# this seemingly useless CFLAGS line is here only to avoid -# vorbisdec.$(OBJEXT) by triggering creation of pipelines_vorbisdec.$(OBJEXT) -# instead -pipelines_vorbisdec_CFLAGS = $(AM_CFLAGS) - -pipelines_oggmux_LDADD = $(LDADD) $(OGG_LIBS) -pipelines_oggmux_CFLAGS = $(AM_CFLAGS) $(OGG_CFLAGS) - -pipelines_theoraenc_CFLAGS = $(AM_CFLAGS) $(THEORA_CFLAGS) -pipelines_theoraenc_LDADD = $(LDADD) $(THEORA_LIBS) - -pipelines_simple_launch_lines_CFLAGS = \ - $(GST_BASE_CFLAGS) \ - $(AM_CFLAGS) - -pipelines_simple_launch_lines_LDADD = \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(LDADD) - -orc_video_CFLAGS = $(ORC_CFLAGS) -orc_video_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_video_SOURCES = orc/video.c -orc_audio_CFLAGS = $(ORC_CFLAGS) -orc_audio_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_audio_SOURCES = orc/audio.c -orc_adder_CFLAGS = $(ORC_CFLAGS) -orc_adder_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_adder_SOURCES = orc/adder.c -orc_audiomixer_CFLAGS = $(ORC_CFLAGS) -orc_audiomixer_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_audiomixer_SOURCES = orc/audiomixer.c -orc_compositor_CFLAGS = $(ORC_CFLAGS) -orc_compositor_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_compositor_SOURCES = orc/compositor.c -orc_volume_CFLAGS = $(ORC_CFLAGS) -orc_volume_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_volume_SOURCES = orc/volume.c -orc_videotestsrc_CFLAGS = $(ORC_CFLAGS) -orc_videotestsrc_LDADD = $(ORC_LIBS) -lorc-test-0.4 -nodist_orc_videotestsrc_SOURCES = orc/videotestsrc.c - -orc/video.c: $(top_srcdir)/gst-libs/gst/video/video-orc.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - -orc/audio.c: $(top_srcdir)/gst-libs/gst/audio/gstaudiopack.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - -orc/audiomixer.c: $(top_srcdir)/gst/audiomixer/gstaudiomixerorc.orc - $(MKDIR_P) orc - $(ORCC) --test -o $@ $< - -orc/adder.c: $(top_srcdir)/gst/adder/gstadderorc.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - -orc/compositor.c: $(top_srcdir)/gst/compositor/compositororc.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - -orc/volume.c: $(top_srcdir)/gst/volume/gstvolumeorc.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - -orc/videotestsrc.c: $(top_srcdir)/gst/videotestsrc/gstvideotestsrcorc.orc - $(MKDIR_P) orc/ - $(ORCC) --test -o $@ $< - - -distclean-local-orc: - rm -rf orc - -EXTRA_DIST = gst-plugins-base.supp diff --git a/tests/check/elements/.gitignore b/tests/check/elements/.gitignore deleted file mode 100644 index 4fa55bbfb3..0000000000 --- a/tests/check/elements/.gitignore +++ /dev/null @@ -1,40 +0,0 @@ -.dirstamp -adder -alsa -appsink -appsrc -audioconvert -audiointerleave -audiomixer -audiorate -audioresample -audiotestsrc -compositor -decodebin -encodebin -glbin -glimagesink -libvisual -multifdsink -multisocketsink -opus -videorate -videotestsrc -volume -vorbisdec -typefindfunctions -textoverlay -videoconvert -videoscale -videoscale-[1-6] -vorbistag -overlaycomposition -playbin -playbin-compressed -playbin-complex -playsink -streamsynchronizer -subparse -rawaudioparse -rawvideoparse -urisourcebin diff --git a/tests/check/generic/.gitignore b/tests/check/generic/.gitignore deleted file mode 100644 index 0d69de1f3b..0000000000 --- a/tests/check/generic/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.dirstamp -clock-selection -states diff --git a/tests/check/gst/.gitignore b/tests/check/gst/.gitignore deleted file mode 100644 index b46904181b..0000000000 --- a/tests/check/gst/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -typefindfunctions -.dirstamp diff --git a/tests/check/libs/.gitignore b/tests/check/libs/.gitignore deleted file mode 100644 index 55a8d3aa9b..0000000000 --- a/tests/check/libs/.gitignore +++ /dev/null @@ -1,43 +0,0 @@ -.dirstamp -allocators -audio -audiocdsrc -audiodecoder -audioencoder -baseaudiovisualizer -discoverer -fft -gstglcolorconvert -gstglcontext -gstglheaders -gstglfeature -gstglformat -gstglmatrix -gstglmemory -gstglquery -gstglshader -gstglsl -gstglslstage -gstglupload -gstlibscpp -libsabi -mikey -mixer -navigation -pbutils -profile -rtp -rtpbasedepayload -rtpbasepayload -rtpmeta -rtsp -rtspconnection -sdp -tag -utils -video -videoanc -videodecoder -videoencoder -videotimecode -xmpwriter diff --git a/tests/check/pipelines/.gitignore b/tests/check/pipelines/.gitignore deleted file mode 100644 index 542b3f1808..0000000000 --- a/tests/check/pipelines/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -.dirstamp -basetime -capsfilter-renegotiation -gio -gl-launch-lines -simple-launch-lines -streamsynchronizer -tcp -theoraenc -vorbisdec -vorbisenc -oggmux diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am deleted file mode 100644 index 0eed5739f8..0000000000 --- a/tests/examples/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -if HAVE_GTK -GTK_SUBDIRS = playback seek snapshot -endif - -if USE_OPENGL -GL_DIR=gl -else -GL_DIR= -endif - -SUBDIRS = app audio compositor decodebin_next dynamic fft gio $(GL_DIR) $(GTK_SUBDIRS) overlay overlaycomposition playrec encoding -DIST_SUBDIRS = app audio compositor decodebin_next dynamic fft gio gl playback overlay overlaycomposition seek snapshot playrec encoding - -include $(top_srcdir)/common/parallel-subdirs.mak - diff --git a/tests/examples/app/.gitignore b/tests/examples/app/.gitignore deleted file mode 100644 index cce2be7386..0000000000 --- a/tests/examples/app/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -appsrc_ex -appsrc-ra -appsrc-seekable -appsrc-stream -appsrc-stream2 -appsink-src -appsink-src2 diff --git a/tests/examples/app/Makefile.am b/tests/examples/app/Makefile.am deleted file mode 100644 index 689ee2fd3e..0000000000 --- a/tests/examples/app/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ - -noinst_PROGRAMS = appsrc_ex appsrc-stream appsrc-stream2 appsrc-ra \ - appsrc-seekable appsink-src appsink-src2 - -appsrc_ex_SOURCES = appsrc_ex.c -appsrc_ex_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -appsrc_ex_LDADD = \ - $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) - -appsrc_stream_SOURCES = appsrc-stream.c -appsrc_stream_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -appsrc_stream_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) - -appsrc_stream2_SOURCES = appsrc-stream2.c -appsrc_stream2_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -appsrc_stream2_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) - -appsrc_ra_SOURCES = appsrc-ra.c -appsrc_ra_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -appsrc_ra_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) - -appsrc_seekable_SOURCES = appsrc-seekable.c -appsrc_seekable_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -appsrc_seekable_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) - -appsink_src_SOURCES = appsink-src.c -appsink_src_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -appsink_src_LDADD = \ - $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) - -appsink_src2_SOURCES = appsink-src2.c -appsink_src2_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -appsink_src2_LDADD = \ - $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) diff --git a/tests/examples/audio/.gitignore b/tests/examples/audio/.gitignore deleted file mode 100644 index 04fcc591b9..0000000000 --- a/tests/examples/audio/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -audiomix -testchannels -volume - diff --git a/tests/examples/audio/Makefile.am b/tests/examples/audio/Makefile.am deleted file mode 100644 index f98fd6a6c9..0000000000 --- a/tests/examples/audio/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -if HAVE_GTK -GTK_EXAMPLES = audiomix volume -else -GTK_EXAMPLES = -endif - -noinst_PROGRAMS = $(GTK_EXAMPLES) - -if HAVE_GTK -audiomix_SOURCES = audiomix.c -audiomix_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) -D_GNU_SOURCE -audiomix_LDADD = $(GST_LIBS) $(GTK_LIBS) $(LIBM) - -volume_SOURCES = volume.c -volume_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) -D_GNU_SOURCE -volume_LDADD = $(GST_LIBS) $(GTK_LIBS) $(LIBM) -endif diff --git a/tests/examples/compositor/Makefile.am b/tests/examples/compositor/Makefile.am deleted file mode 100644 index a3bb99aefc..0000000000 --- a/tests/examples/compositor/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -noinst_PROGRAMS = crossfade - -crossfade_SOURCES = crossfade.c -crossfade_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) -crossfade_LDADD = $(GST_CONTROLLER_LIBS) $(GST_LIBS) diff --git a/tests/examples/decodebin_next/.gitignore b/tests/examples/decodebin_next/.gitignore deleted file mode 100644 index 12d704bc32..0000000000 --- a/tests/examples/decodebin_next/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -decodebin3 -playbin-test diff --git a/tests/examples/decodebin_next/Makefile.am b/tests/examples/decodebin_next/Makefile.am deleted file mode 100644 index 5270bec9b3..0000000000 --- a/tests/examples/decodebin_next/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -noinst_PROGRAMS = decodebin3 playbin-test - -LDADD = $(GST_LIBS) - -AM_CFLAGS = -I$(top_builddir)/gst-libs $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) diff --git a/tests/examples/dynamic/.gitignore b/tests/examples/dynamic/.gitignore deleted file mode 100644 index 99b7654b4d..0000000000 --- a/tests/examples/dynamic/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -addstream -codec-select -sprinkle -sprinkle2 -sprinkle3 diff --git a/tests/examples/dynamic/Makefile.am b/tests/examples/dynamic/Makefile.am deleted file mode 100644 index 6cdb8ffca2..0000000000 --- a/tests/examples/dynamic/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -noinst_PROGRAMS = addstream codec-select sprinkle sprinkle2 sprinkle3 - -addstream_SOURCES = addstream.c -addstream_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE -addstream_LDADD = $(GST_LIBS) - -codec_select_SOURCES = codec-select.c -codec_select_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE -codec_select_LDADD = $(GST_LIBS) - -sprinkle_SOURCES = sprinkle.c -sprinkle_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE -sprinkle_LDADD = $(GST_LIBS) - -sprinkle2_SOURCES = sprinkle2.c -sprinkle2_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE -sprinkle2_LDADD = $(GST_LIBS) - -sprinkle3_SOURCES = sprinkle3.c -sprinkle3_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE -sprinkle3_LDADD = $(GST_LIBS) diff --git a/tests/examples/encoding/.gitignore b/tests/examples/encoding/.gitignore deleted file mode 100644 index c684c2e50a..0000000000 --- a/tests/examples/encoding/.gitignore +++ /dev/null @@ -1 +0,0 @@ -encoding diff --git a/tests/examples/encoding/Makefile.am b/tests/examples/encoding/Makefile.am deleted file mode 100644 index 705a9dbf89..0000000000 --- a/tests/examples/encoding/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -examples = encoding - -encoding_SOURCES = gstcapslist.c encoding.c -EXTRA_DIST = gstcapslist.h - -noinst_PROGRAMS = $(examples) - -LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) \ - $(GST_LIBS) -AM_CFLAGS = -I$(top_builddir)/gst-libs \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) diff --git a/tests/examples/fft/.gitignore b/tests/examples/fft/.gitignore deleted file mode 100644 index 74f063698b..0000000000 --- a/tests/examples/fft/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -fftrange - diff --git a/tests/examples/fft/Makefile.am b/tests/examples/fft/Makefile.am deleted file mode 100644 index ed5589e28e..0000000000 --- a/tests/examples/fft/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ - -noinst_PROGRAMS = fftrange -fftrange_SOURCES = fftrange.c -fftrange_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -fftrange_LDADD = \ - $(top_builddir)/gst-libs/gst/fft/libgstfft-$(GST_API_VERSION).la \ - $(GST_LIBS) - diff --git a/tests/examples/gio/.gitignore b/tests/examples/gio/.gitignore deleted file mode 100644 index 673c0788fe..0000000000 --- a/tests/examples/gio/.gitignore +++ /dev/null @@ -1 +0,0 @@ -giosrc-mounting diff --git a/tests/examples/gio/Makefile.am b/tests/examples/gio/Makefile.am deleted file mode 100644 index 457cf4fb9b..0000000000 --- a/tests/examples/gio/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -if HAVE_GTK -noinst_PROGRAMS = giosrc-mounting -giosrc_mounting_SOURCES = giosrc-mounting.c -giosrc_mounting_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) $(GIO_CFLAGS) -giosrc_mounting_LDADD = $(GST_LIBS) $(GTK_LIBS) $(GIO_LIBS) -endif diff --git a/tests/examples/gl/Makefile.am b/tests/examples/gl/Makefile.am deleted file mode 100644 index f2720f617c..0000000000 --- a/tests/examples/gl/Makefile.am +++ /dev/null @@ -1,26 +0,0 @@ - -SUBDIRS = - -if USE_OPENGL - -if HAVE_WINDOW_COCOA -SUBDIRS += cocoa -else - -SUBDIRS += generic qt - -if HAVE_SDL -SUBDIRS += sdl -endif - -if HAVE_GTK -SUBDIRS += gtk -endif - -endif - -endif - -DIST_SUBDIRS=cocoa generic qt sdl gtk - -include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/tests/examples/gl/cocoa/.gitignore b/tests/examples/gl/cocoa/.gitignore deleted file mode 100644 index 5cfb85ef2f..0000000000 --- a/tests/examples/gl/cocoa/.gitignore +++ /dev/null @@ -1 +0,0 @@ -cocoa-videooverlay diff --git a/tests/examples/gl/cocoa/Makefile.am b/tests/examples/gl/cocoa/Makefile.am deleted file mode 100755 index 539bece848..0000000000 --- a/tests/examples/gl/cocoa/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -if HAVE_WINDOW_COCOA - -noinst_PROGRAMS = cocoa-videooverlay - -cocoa_videooverlay_SOURCES = cocoa-videooverlay.m - -cocoa_videooverlay_OBJCFLAGS=-Wno-error=unused-command-line-argument \ - -fobjc-arc \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ - $(GL_CFLAGS) $(GL_OBJCFLAGS) - -cocoa_videooverlay_LDADD= \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) - -endif diff --git a/tests/examples/gl/generic/Makefile.am b/tests/examples/gl/generic/Makefile.am deleted file mode 100644 index a334e12e3f..0000000000 --- a/tests/examples/gl/generic/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ - -SUBDIRS = cube cubeyuv doublecube recordgraphic diff --git a/tests/examples/gl/generic/cube/.gitignore b/tests/examples/gl/generic/cube/.gitignore deleted file mode 100644 index 3c088ddc8f..0000000000 --- a/tests/examples/gl/generic/cube/.gitignore +++ /dev/null @@ -1 +0,0 @@ -cube diff --git a/tests/examples/gl/generic/cube/Makefile.am b/tests/examples/gl/generic/cube/Makefile.am deleted file mode 100644 index a715260bd6..0000000000 --- a/tests/examples/gl/generic/cube/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ - -noinst_PROGRAMS = cube - -cube_SOURCES = main.cpp - -cube_CXXFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(GL_CFLAGS) -cube_LDADD=\ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) - diff --git a/tests/examples/gl/generic/cubeyuv/.gitignore b/tests/examples/gl/generic/cubeyuv/.gitignore deleted file mode 100644 index bd5c0cee34..0000000000 --- a/tests/examples/gl/generic/cubeyuv/.gitignore +++ /dev/null @@ -1 +0,0 @@ -cubeyuv diff --git a/tests/examples/gl/generic/cubeyuv/Makefile.am b/tests/examples/gl/generic/cubeyuv/Makefile.am deleted file mode 100644 index 3b2de1d04c..0000000000 --- a/tests/examples/gl/generic/cubeyuv/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ - -noinst_PROGRAMS = cubeyuv - -cubeyuv_SOURCES = main.cpp - -cubeyuv_CXXFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(GL_CFLAGS) -cubeyuv_LDADD=\ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) diff --git a/tests/examples/gl/generic/doublecube/.gitignore b/tests/examples/gl/generic/doublecube/.gitignore deleted file mode 100644 index e9f4f133b1..0000000000 --- a/tests/examples/gl/generic/doublecube/.gitignore +++ /dev/null @@ -1 +0,0 @@ -doublecube diff --git a/tests/examples/gl/generic/doublecube/Makefile.am b/tests/examples/gl/generic/doublecube/Makefile.am deleted file mode 100644 index be888564ee..0000000000 --- a/tests/examples/gl/generic/doublecube/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ - -noinst_PROGRAMS = doublecube - -doublecube_SOURCES = main.cpp - -doublecube_CXXFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(GL_CFLAGS) -doublecube_LDADD=\ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) - diff --git a/tests/examples/gl/generic/recordgraphic/.gitignore b/tests/examples/gl/generic/recordgraphic/.gitignore deleted file mode 100644 index 8127d83606..0000000000 --- a/tests/examples/gl/generic/recordgraphic/.gitignore +++ /dev/null @@ -1 +0,0 @@ -recordgraphic diff --git a/tests/examples/gl/generic/recordgraphic/Makefile.am b/tests/examples/gl/generic/recordgraphic/Makefile.am deleted file mode 100644 index 23029b52a4..0000000000 --- a/tests/examples/gl/generic/recordgraphic/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ - -noinst_PROGRAMS = recordgraphic - -recordgraphic_SOURCES = main.cpp - -recordgraphic_CXXFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(GL_CFLAGS) -recordgraphic_LDADD=\ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) - diff --git a/tests/examples/gl/gtk/3dvideo/.gitignore b/tests/examples/gl/gtk/3dvideo/.gitignore deleted file mode 100644 index 7c46573b54..0000000000 --- a/tests/examples/gl/gtk/3dvideo/.gitignore +++ /dev/null @@ -1 +0,0 @@ -3dvideo diff --git a/tests/examples/gl/gtk/3dvideo/Makefile.am b/tests/examples/gl/gtk/3dvideo/Makefile.am deleted file mode 100644 index 81f88ee37f..0000000000 --- a/tests/examples/gl/gtk/3dvideo/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -noinst_PROGRAMS = 3dvideo - -noinst_HEADERS = mviewwidget.h - -3dvideo_SOURCES = mviewwidget.c main.cpp - -3dvideo_CXXFLAGS=$(GST_CXXFLAGS) -Wno-error=parentheses -3dvideo_CFLAGS=$(GST_CFLAGS) - -3dvideo_CPPFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GL_CFLAGS) $(GTK_CFLAGS) -3dvideo_LDADD=../libgstgtkhelper.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) $(GTK_LIBS) diff --git a/tests/examples/gl/gtk/Makefile.am b/tests/examples/gl/gtk/Makefile.am deleted file mode 100644 index 96c6619f43..0000000000 --- a/tests/examples/gl/gtk/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ - -SUBDIRS = . filternovideooverlay filtervideooverlay fxtest switchvideooverlay 3dvideo - -noinst_LTLIBRARIES = libgstgtkhelper.la - -libgstgtkhelper_la_SOURCES = gstgtk.c gstgtk.h -libgstgtkhelper_la_CFLAGS = -I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \ - $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS) - -if HAVE_WINDOW_COCOA -libgstgtkhelper_la_CFLAGS += -x objective-c -endif - diff --git a/tests/examples/gl/gtk/filternovideooverlay/.gitignore b/tests/examples/gl/gtk/filternovideooverlay/.gitignore deleted file mode 100644 index f6e41625b9..0000000000 --- a/tests/examples/gl/gtk/filternovideooverlay/.gitignore +++ /dev/null @@ -1 +0,0 @@ -filternovideooverlay diff --git a/tests/examples/gl/gtk/filternovideooverlay/Makefile.am b/tests/examples/gl/gtk/filternovideooverlay/Makefile.am deleted file mode 100644 index 08ab42d1df..0000000000 --- a/tests/examples/gl/gtk/filternovideooverlay/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -noinst_PROGRAMS = filternovideooverlay - -filternovideooverlay_SOURCES = main.cpp - -filternovideooverlay_CXXFLAGS= \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CXXFLAGS) \ - $(GL_CFLAGS) \ - $(GTK_CFLAGS) -Wno-error=parentheses - -filternovideooverlay_LDADD= \ - $(GST_LIBS) \ - $(GL_LIBS) \ - $(GTK_LIBS) - diff --git a/tests/examples/gl/gtk/filtervideooverlay/.gitignore b/tests/examples/gl/gtk/filtervideooverlay/.gitignore deleted file mode 100644 index c5e1611f6b..0000000000 --- a/tests/examples/gl/gtk/filtervideooverlay/.gitignore +++ /dev/null @@ -1 +0,0 @@ -filtervideooverlay diff --git a/tests/examples/gl/gtk/filtervideooverlay/Makefile.am b/tests/examples/gl/gtk/filtervideooverlay/Makefile.am deleted file mode 100644 index 2d1bbdb490..0000000000 --- a/tests/examples/gl/gtk/filtervideooverlay/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -noinst_PROGRAMS = filtervideooverlay - -filtervideooverlay_SOURCES = main.cpp - -filtervideooverlay_CXXFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) \ - $(GL_CFLAGS) $(GTK_CFLAGS) $(X11_CFLAGS) -Wno-error=parentheses -filtervideooverlay_LDADD=../libgstgtkhelper.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) $(GTK_LIBS) $(X11_LIBS) diff --git a/tests/examples/gl/gtk/fxtest/.gitignore b/tests/examples/gl/gtk/fxtest/.gitignore deleted file mode 100644 index c35569775e..0000000000 --- a/tests/examples/gl/gtk/fxtest/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -fxtest -pixbufdrop diff --git a/tests/examples/gl/gtk/fxtest/Makefile.am b/tests/examples/gl/gtk/fxtest/Makefile.am deleted file mode 100644 index ff0d3f6dec..0000000000 --- a/tests/examples/gl/gtk/fxtest/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -noinst_PROGRAMS = fxtest -noinst_PROGRAMS += pixbufdrop - -fxtest_SOURCES = fxtest.c - -fxtest_CFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ - $(GL_CFLAGS) $(GTK_CFLAGS) $(X11_CFLAGS) -fxtest_LDADD=../libgstgtkhelper.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) $(GTK_LIBS) $(X11_LIBS) - -pixbufdrop_SOURCES = pixbufdrop.c - -pixbufdrop_CFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ - $(GL_CFLAGS) $(GTK_CFLAGS) $(X11_CFLAGS) -pixbufdrop_LDADD=../libgstgtkhelper.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) $(GTK_LIBS) $(X11_LIBS) diff --git a/tests/examples/gl/gtk/switchvideooverlay/.gitignore b/tests/examples/gl/gtk/switchvideooverlay/.gitignore deleted file mode 100644 index 64c6de420a..0000000000 --- a/tests/examples/gl/gtk/switchvideooverlay/.gitignore +++ /dev/null @@ -1 +0,0 @@ -switchvideooverlay diff --git a/tests/examples/gl/gtk/switchvideooverlay/Makefile.am b/tests/examples/gl/gtk/switchvideooverlay/Makefile.am deleted file mode 100644 index ba59cae8b1..0000000000 --- a/tests/examples/gl/gtk/switchvideooverlay/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -noinst_PROGRAMS = switchvideooverlay - -switchvideooverlay_SOURCES = main.cpp - -switchvideooverlay_CXXFLAGS=\ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) \ - $(GL_CFLAGS) $(GTK_CFLAGS) $(X_CFLAGS) -Wno-error=parentheses -switchvideooverlay_LDADD=../libgstgtkhelper.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GL_LIBS) $(GTK_LIBS) $(X_LIBS) - diff --git a/tests/examples/gl/qt/.gitignore b/tests/examples/gl/qt/.gitignore deleted file mode 100644 index 6be72a2661..0000000000 --- a/tests/examples/gl/qt/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -GeneratedFiles/ -debug/ diff --git a/tests/examples/gl/qt/Makefile.am b/tests/examples/gl/qt/Makefile.am deleted file mode 100644 index 629415b294..0000000000 --- a/tests/examples/gl/qt/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ - -#SUBDIRS = videooverlay qglwidgetvideooverlay mousevideooverlay diff --git a/tests/examples/gl/qt/qglwtextureshare/.gitignore b/tests/examples/gl/qt/qglwtextureshare/.gitignore deleted file mode 100644 index 091c6f073c..0000000000 --- a/tests/examples/gl/qt/qglwtextureshare/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -moc_*.cpp -qglwtextureshare diff --git a/tests/examples/gl/sdl/.gitignore b/tests/examples/gl/sdl/.gitignore deleted file mode 100644 index f476096d66..0000000000 --- a/tests/examples/gl/sdl/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -sdlshare -sdlshare2 diff --git a/tests/examples/gl/sdl/Makefile.am b/tests/examples/gl/sdl/Makefile.am deleted file mode 100644 index 7600c076e4..0000000000 --- a/tests/examples/gl/sdl/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -noinst_PROGRAMS = ## - -#works on win32 and X -if HAVE_SDL - -noinst_PROGRAMS += sdlshare sdlshare2 - -sdlshare_SOURCES = sdlshare.c - -sdlshare_CFLAGS= \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(GL_CFLAGS) \ - $(SDL_CFLAGS) -sdlshare_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la - -sdlshare2_SOURCES = sdlshare2.c - -sdlshare2_CFLAGS= \ - -I$(top_srcdir)/gst-libs \ - -I$(top_builddir)/gst-libs \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) \ - $(GL_CFLAGS) \ - $(SDL_CFLAGS) -sdlshare2_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \ - $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la - -endif diff --git a/tests/examples/overlay/.gitignore b/tests/examples/overlay/.gitignore deleted file mode 100644 index 8857100118..0000000000 --- a/tests/examples/overlay/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -gtk-videooverlay -qt-videooverlay -qtgv-videooverlay -moc_*.cpp - diff --git a/tests/examples/overlay/Makefile.am b/tests/examples/overlay/Makefile.am deleted file mode 100644 index 3af53bd06b..0000000000 --- a/tests/examples/overlay/Makefile.am +++ /dev/null @@ -1,48 +0,0 @@ -EXAMPLES = - -if USE_X - -if HAVE_GTK_X11 -EXAMPLES += gtk-videooverlay - -gtk_videooverlay_SOURCES = gtk-videooverlay.c -gtk_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS) -gtk_videooverlay_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS) -endif - -if HAVE_QT -EXAMPLES += qt-videooverlay - -qt_videooverlay_SOURCES = qt-videooverlay.cpp -qt_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS) -fPIC -std=c++11 -qt_videooverlay_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS) -endif - -if HAVE_QT_MOC -EXAMPLES += qtgv-videooverlay - -qtgv_videooverlay_SOURCES = qtgv-videooverlay.cpp qtgv-videooverlay.h -qtgv_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS) -fPIC -qtgv_videooverlay_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS) - -# qt moc support, according to http://qtnode.net/wiki/Qt_with_autotools - -nodist_qtgv_videooverlay_SOURCES = moc_qtgv-videooverlay.cpp - -moc_%.cpp:%.h - $(AM_V_GEN)$(QT_MOC) $< -o $@ - -EXTRA_DIST = $(nodist_qtgv_videooverlay_SOURCES:moc_%.cpp=%.h) -CLEANFILES = $(nodist_qtgv_videooverlay_SOURCES) -endif - -endif - -noinst_PROGRAMS = $(EXAMPLES) - diff --git a/tests/examples/overlaycomposition/.gitignore b/tests/examples/overlaycomposition/.gitignore deleted file mode 100644 index 61a47abc5a..0000000000 --- a/tests/examples/overlaycomposition/.gitignore +++ /dev/null @@ -1 +0,0 @@ -overlaycomposition diff --git a/tests/examples/overlaycomposition/Makefile.am b/tests/examples/overlaycomposition/Makefile.am deleted file mode 100644 index e4e3e6fdad..0000000000 --- a/tests/examples/overlaycomposition/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -noinst_PROGRAMS = overlaycomposition - -overlaycomposition_SOURCES = overlaycomposition.c -overlaycomposition_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -overlaycomposition_LDADD = $(GST_PLUGINS_BASE_LIBS) $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_LIBS) $(GIO_LIBS) $(LIBM) diff --git a/tests/examples/playback/Makefile.am b/tests/examples/playback/Makefile.am deleted file mode 100644 index 4bc4e443d7..0000000000 --- a/tests/examples/playback/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -noinst_PROGRAMS = playback-test - -LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GTK_LIBS) $(LIBM) - -if HAVE_GTK_QUARTZ - AM_CPPFLAGS = '-xobjective-c' -endif - -AM_CFLAGS = -I$(top_builddir)/gst-libs $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS) diff --git a/tests/examples/playrec/.gitignore b/tests/examples/playrec/.gitignore deleted file mode 100644 index ad309aaba3..0000000000 --- a/tests/examples/playrec/.gitignore +++ /dev/null @@ -1 +0,0 @@ -playrec diff --git a/tests/examples/playrec/Makefile.am b/tests/examples/playrec/Makefile.am deleted file mode 100644 index f7548b5778..0000000000 --- a/tests/examples/playrec/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -noinst_PROGRAMS = playrec -playrec_SOURCES = playrec.c -playrec_CFLAGS = $(GST_CFLAGS) -playrec_LDADD = $(GST_LIBS) diff --git a/tests/examples/seek/.gitignore b/tests/examples/seek/.gitignore deleted file mode 100644 index 6315cd3579..0000000000 --- a/tests/examples/seek/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -jsseek -scrubby -seek -stepping -stepping2 diff --git a/tests/examples/seek/Makefile.am b/tests/examples/seek/Makefile.am deleted file mode 100644 index bea6f8eedb..0000000000 --- a/tests/examples/seek/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -if HAVE_GTK_X11 -if HAVE_LINUX_JOYSTICK_HEADERS -GTK_EXAMPLES=scrubby jsseek -else -GTK_EXAMPLES=scrubby -endif -endif - -examples = $(GTK_EXAMPLES) stepping stepping2 - -noinst_PROGRAMS = $(examples) - -LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_LIBS) $(GTK_LIBS) $(LIBM) - -AM_CFLAGS = -I$(top_builddir)/gst-libs $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS) diff --git a/tests/examples/snapshot/.gitignore b/tests/examples/snapshot/.gitignore deleted file mode 100644 index a701b4cb03..0000000000 --- a/tests/examples/snapshot/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -snapshot -snapshot.png diff --git a/tests/examples/snapshot/Makefile.am b/tests/examples/snapshot/Makefile.am deleted file mode 100644 index 2e2e5cdfad..0000000000 --- a/tests/examples/snapshot/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -if HAVE_GDK_PIXBUF -GDK_PIXBUF_EXAMPLES=snapshot -endif - -examples = $(GDK_PIXBUF_EXAMPLES) - -noinst_PROGRAMS = $(examples) - -LIBS = $(GST_LIBS) $(GDK_PIXBUF_LIBS) -AM_CFLAGS = $(GST_CFLAGS) $(GDK_PIXBUF_CFLAGS) diff --git a/tests/files/Makefile.am b/tests/files/Makefile.am deleted file mode 100644 index 1370c39b8a..0000000000 --- a/tests/files/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -EXTRA_DIST = \ - 623663.mts \ - hls.m3u8 \ - license-uris \ - partialframe.mjpeg \ - test.mkv \ - test.mp3 \ - theora-vorbis.ogg diff --git a/tests/icles/.gitignore b/tests/icles/.gitignore deleted file mode 100644 index 5eb9d9a7a3..0000000000 --- a/tests/icles/.gitignore +++ /dev/null @@ -1,20 +0,0 @@ -audio-trickplay -benchmark-appsink -benchmark-appsrc -benchmark-video-conversion -input-selector-test -output-selector-test -playbin-text -position-formats -stress-playbin -stress-videooverlay -test-effect-switch -test-overlay-blending -test-reverseplay -test-textoverlay -test-scale -test-box -test-colorkey -test-videooverlay -test-resample - diff --git a/tests/icles/Makefile.am b/tests/icles/Makefile.am deleted file mode 100644 index 74b575c255..0000000000 --- a/tests/icles/Makefile.am +++ /dev/null @@ -1,129 +0,0 @@ -SUBDIRS = playback -DIST_SUBDIRS = playback - -benchmark_appsink_SOURCES = benchmark-appsink.c -benchmark_appsink_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) -benchmark_appsink_LDADD = \ - $(top_builddir)/gst-libs/gst/app/libgstapp-$(GST_API_VERSION).la \ - $(GST_LIBS) - -benchmark_appsrc_SOURCES = benchmark-appsrc.c -benchmark_appsrc_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) -benchmark_appsrc_LDADD = \ - $(top_builddir)/gst-libs/gst/app/libgstapp-$(GST_API_VERSION).la \ - $(GST_LIBS) - -benchmark_video_conversion_SOURCES = benchmark-video-conversion.c -benchmark_video_conversion_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) -benchmark_video_conversion_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_LIBS) $(LIBM) - -if USE_X -X_TESTS = stress-videooverlay - -stress_videooverlay_SOURCES = stress-videooverlay.c -stress_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) -stress_videooverlay_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_LIBS) $(X_LIBS) $(LIBM) - -if HAVE_GTK_X11 -X_TESTS += test-colorkey test-videooverlay - -test_colorkey_SOURCES = test-colorkey.c -test_colorkey_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS) -test_colorkey_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS) - -test_videooverlay_SOURCES = test-videooverlay.c -test_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS) -test_videooverlay_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS) -endif - -output_selector_test_SOURCES = output-selector-test.c -output_selector_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -output_selector_test_LDADD = $(GST_LIBS) -output_selector_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -input_selector_test_SOURCES = input-selector-test.c -input_selector_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -input_selector_test_LDADD = $(GST_LIBS) -input_selector_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS) - -X_TESTS += output-selector-test input-selector-test - -else -X_TESTS = -endif - -if USE_PANGO -PANGO_TESTS = test-textoverlay - -test_textoverlay_SOURCES = test-textoverlay.c -test_textoverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -test_textoverlay_LDADD = $(GST_LIBS) $(LIBM) - -else -PANGO_TESTS = -endif - -audio_trickplay_SOURCES = audio-trickplay.c -audio_trickplay_CFLAGS = $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) -audio_trickplay_LDADD = $(GST_CONTROLLER_LIBS) $(GST_LIBS) $(LIBM) - -playbin_text_SOURCES = playbin-text.c -playbin_text_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -playbin_text_LDADD = $(GST_LIBS) $(LIBM) - -position_formats_SOURCES = position-formats.c -position_formats_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -position_formats_LDADD = $(GST_LIBS) $(LIBM) - -stress_playbin_SOURCES = stress-playbin.c -stress_playbin_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -stress_playbin_LDADD = $(GST_LIBS) $(LIBM) - -test_effect_switch_SOURCES = test-effect-switch.c -test_effect_switch_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -test_effect_switch_LDADD = $(GST_LIBS) - -test_overlay_blending_SOURCES = test-overlay-blending.c -test_overlay_blending_CFLAGS = \ - $(GST_PLUGINS_BASE_CFLAGS) \ - $(GST_CFLAGS) $(GIO_CFLAGS) -test_overlay_blending_LDADD = \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ - $(GST_LIBS) $(GIO_LIBS) $(LIBM) - -test_scale_SOURCES = test-scale.c -test_scale_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -test_scale_LDADD = $(GST_LIBS) $(LIBM) - -test_resample_SOURCES = test-resample.c -test_resample_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -test_resample_LDADD = $(GST_LIBS) $(LIBM) - -test_box_SOURCES = test-box.c -test_box_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -test_box_LDADD = $(GST_LIBS) $(LIBM) - -test_reverseplay_SOURCES = test-reverseplay.c -test_reverseplay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -test_reverseplay_LDADD = $(GST_LIBS) $(LIBM) - -noinst_PROGRAMS = $(X_TESTS) $(PANGO_TESTS) \ - audio-trickplay playbin-text position-formats stress-playbin \ - test-scale test-box test-effect-switch test-overlay-blending test-reverseplay \ - test-resample benchmark-appsink benchmark-appsrc benchmark-video-conversion diff --git a/tests/icles/playback/.gitignore b/tests/icles/playback/.gitignore deleted file mode 100644 index 4fdb026376..0000000000 --- a/tests/icles/playback/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -decodetest -test -test2 -test3 -test4 -test5 -test6 -test7 diff --git a/tests/icles/playback/Makefile.am b/tests/icles/playback/Makefile.am deleted file mode 100644 index b1d7f945d2..0000000000 --- a/tests/icles/playback/Makefile.am +++ /dev/null @@ -1,26 +0,0 @@ -noinst_PROGRAMS = test decodetest test2 test3 test4 test5 test6 test7 - -test_LDADD = $(GST_LIBS) -test_CFLAGS = $(GST_CFLAGS) - -test2_LDADD = $(GST_LIBS) -test2_CFLAGS = $(GST_CFLAGS) - -test3_LDADD = $(GST_LIBS) -test3_CFLAGS = $(GST_CFLAGS) - -test4_LDADD = $(GST_LIBS) -test4_CFLAGS = $(GST_CFLAGS) - -test5_LDADD = $(GST_LIBS) -test5_CFLAGS = $(GST_CFLAGS) - -test6_LDADD = $(GST_LIBS) -test6_CFLAGS = $(GST_CFLAGS) - -test7_LDADD = $(GST_LIBS) -test7_CFLAGS = $(GST_CFLAGS) - -decodetest_LDADD = $(GST_LIBS) -decodetest_CFLAGS = $(GST_CFLAGS) - diff --git a/tools/.gitignore b/tools/.gitignore deleted file mode 100644 index 2a374d3f9f..0000000000 --- a/tools/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -gst-device-monitor-?.0 -gst-discoverer-?.0 -gst-play-?.0 diff --git a/tools/Makefile.am b/tools/Makefile.am deleted file mode 100644 index d6da6e2efb..0000000000 --- a/tools/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -man_MANS = \ - gst-device-monitor-@GST_API_VERSION@.1 \ - gst-discoverer-@GST_API_VERSION@.1 \ - gst-play-@GST_API_VERSION@.1 - -bin_PROGRAMS = \ - gst-device-monitor-@GST_API_VERSION@ \ - gst-discoverer-@GST_API_VERSION@ \ - gst-play-@GST_API_VERSION@ - -gst_device_monitor_@GST_API_VERSION@_SOURCES = gst-device-monitor.c - -gst_discoverer_@GST_API_VERSION@_SOURCES = gst-discoverer.c - -gst_play_@GST_API_VERSION@_SOURCES = gst-play.c gst-play-kb.c gst-play-kb.h - -noinst_HEADERS = gst-play-kb.h - -CLEANFILES = $(bin_SCRIPTS) $(bin_PROGRAMS) - -EXTRA_DIST = $(man_MANS) - - -LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ - $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) - -AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)