mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tools: moving applications from gst/validate to tools
Keeps the CLI applications separate from the libs files
This commit is contained in:
parent
aa814d0189
commit
41e0bf1e91
8 changed files with 22 additions and 15 deletions
|
@ -4,6 +4,7 @@ SUBDIRS = \
|
|||
common \
|
||||
data \
|
||||
gst \
|
||||
tools \
|
||||
po
|
||||
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
DIE=0
|
||||
package=gst-validate
|
||||
srcfile=gst/validate/gst-validate.c
|
||||
srcfile=tools/gst-validate.c
|
||||
|
||||
# Make sure we have common
|
||||
if test ! -f common/gst-autogen.sh;
|
||||
|
|
|
@ -17,7 +17,7 @@ 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/validate/gst-validate.c])
|
||||
AC_CONFIG_SRCDIR([tools/gst-validate.c])
|
||||
|
||||
dnl define the output header for config
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
@ -244,6 +244,7 @@ common/Makefile
|
|||
common/m4/Makefile
|
||||
gst/Makefile
|
||||
gst/validate/Makefile
|
||||
tools/Makefile
|
||||
data/Makefile
|
||||
po/Makefile.in
|
||||
])
|
||||
|
|
|
@ -71,16 +71,7 @@ libgstvalidate_preload_@GST_API_VERSION@_la_LIBADD = \
|
|||
libgstvalidate_preload_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/validate
|
||||
libgstvalidate_preload_@GST_API_VERSION@include_HEADERS =
|
||||
|
||||
bin_PROGRAMS = \
|
||||
gst-validate-@GST_API_VERSION@ \
|
||||
gst-validate-transcoding-@GST_API_VERSION@ \
|
||||
gst-validate-media-check-@GST_API_VERSION@
|
||||
|
||||
AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS)
|
||||
LDADD = $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS)
|
||||
|
||||
gst_validate_@GST_API_VERSION@_SOURCES = gst-validate.c
|
||||
gst_validate_transcoding_@GST_API_VERSION@_SOURCES = gst-validate-transcoding.c
|
||||
gst_validate_media_check_@GST_API_VERSION@_SOURCES = gst-validate-media-check.c
|
||||
#AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS)
|
||||
#LDADD = $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS)
|
||||
|
||||
CLEANFILES =
|
||||
|
|
14
validate/tools/Makefile.am
Normal file
14
validate/tools/Makefile.am
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
bin_PROGRAMS = \
|
||||
gst-validate-@GST_API_VERSION@ \
|
||||
gst-validate-transcoding-@GST_API_VERSION@ \
|
||||
gst-validate-media-check-@GST_API_VERSION@
|
||||
|
||||
AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS)
|
||||
LDADD = $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS)
|
||||
|
||||
gst_validate_@GST_API_VERSION@_SOURCES = gst-validate.c
|
||||
gst_validate_transcoding_@GST_API_VERSION@_SOURCES = gst-validate-transcoding.c
|
||||
gst_validate_media_check_@GST_API_VERSION@_SOURCES = gst-validate-media-check.c
|
||||
|
||||
CLEANFILES =
|
|
@ -17,7 +17,7 @@
|
|||
#include <glib-unix.h>
|
||||
#endif
|
||||
|
||||
#include "gst-validate-scenario.h"
|
||||
#include <gst/validate/gst-validate-scenario.h>
|
||||
|
||||
static gint ret = 0;
|
||||
static GMainLoop *mainloop;
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/validate/validate.h>
|
||||
#include "gst-validate-scenario.h"
|
||||
#include <gst/validate/gst-validate-scenario.h>
|
||||
|
||||
#ifdef G_OS_UNIX
|
||||
#include <glib-unix.h>
|
Loading…
Reference in a new issue