Commit e8a4500d authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

Remove autotools build

parent a5a22f03
Pipeline #70311 passed with stages
in 24 minutes and 23 seconds
aclocal.m4
autom4te.cache
config.h*
config.h.in
config.log
config.status
config.guess
config.sub
config.rpath
configure
/config/tizonia/gstomx.conf
libtool
stamp-h
stamp-h.in
stamp-h1
ltmain.sh
missing
mkinstalldirs
compile
install-sh
depcomp
autoregen.sh
ABOUT-NLS
_stdint.h
gst-omx-*.tar*
.deps
.libs
*.lo
*.la
*.o
*~
*.bak
*.swp
*.orig
*.rej
tools/listcomponents
/m4/libtool.m4
/m4/ltoptions.m4
/m4/ltsugar.m4
/m4/ltversion.m4
/m4/lt~obsolete.m4
Makefile.in
Makefile
test-driver
*.log
*.trs
[submodule "common"]
path = common
url = https://gitlab.freedesktop.org/gstreamer/common.git
SUBDIRS = common omx tools config m4 tests
if BUILD_EXAMPLES
SUBDIRS += examples
endif
ACLOCAL_AMFLAGS = -I m4 -I common/m4
DISTCLEANFILES = _stdint.h
EXTRA_DIST = autogen.sh gst-omx.doap RELEASE \
$(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \
meson_options.txt
-include $(top_srcdir)/common/release.mak
#!/bin/sh
#
# gst-omx 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-omx
srcfile=gst-omx.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-omx-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."
Subproject commit 59cb678164719ff59dcf6c8b93df4617a1075d11
SUBDIRS = bellagio rpi tizonia zynqultrascaleplus
EXTRA_DIST = gstomx.conf
if USE_OMX_TARGET_BELLAGIO
configdir = $(sysconfdir)/xdg
config_DATA = gstomx.conf
endif
EXTRA_DIST = gstomx.conf
if USE_OMX_TARGET_RPI
configdir = $(sysconfdir)/xdg
config_DATA = gstomx.conf
endif
EXTRA_DIST = gstomx.conf.in
if USE_OMX_TARGET_TIZONIA
configdir = $(sysconfdir)/xdg
config_DATA = gstomx.conf
endif
CLEANFILES = gstomx.conf
EXTRA_DIST = gstomx.conf
if USE_OMX_TARGET_ZYNQ_USCALE_PLUS
configdir = $(sysconfdir)/xdg
config_DATA = gstomx.conf
endif
This diff is collapsed.
if HAVE_GST_GL
SUBDIRS = egl
endif
DIST_SUBDIRS = egl
noinst_PROGRAMS =
if USE_OMX_TARGET_RPI
noinst_PROGRAMS += testegl
else
if HAVE_X11
noinst_PROGRAMS += testegl
endif
endif
testegl_SOURCES = testegl.c
noinst_HEADERS = cube_texture_and_coords.h
testegl_LDADD = \
$(GST_PLUGINS_BASE_LIBS) \
-lgstvideo-@GST_API_VERSION@ \
$(GST_BASE_LIBS) \
$(GST_LIBS) \
$(GST_GL_LIBS) \
$(BRCMEGL_LIBS) \
-lm
if HAVE_GLES2
testegl_LDADD += $(GLES2_LIBS)
endif
if HAVE_EGL
testegl_LDADD += $(EGL_LIBS)
endif
if HAVE_X11
testegl_LDADD += $(X11_LIBS)
endif
testegl_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
$(GST_GL_CFLAGS) \
$(BRCMEGL_CFLAGS)
plugin_LTLIBRARIES = libgstomx.la
if HAVE_VP8
VP8_C_FILES=gstomxvp8dec.c
VP8_H_FILES=gstomxvp8dec.h
endif
if HAVE_THEORA
THEORA_C_FILES=gstomxtheoradec.c
THEORA_H_FILES=gstomxtheoradec.h
endif
if HAVE_HEVC
H265_C_FILES = \
gstomxh265dec.c \
gstomxh265enc.c \
gstomxh265utils.c
H265_H_FILES = \
gstomxh265dec.h \
gstomxh265enc.h \
gstomxh265utils.h
endif
libgstomx_la_SOURCES = \
gstomx.c \
gstomxallocator.c \
gstomxbufferpool.c \
gstomxvideo.c \
gstomxvideodec.c \
gstomxvideoenc.c \
gstomxaudiodec.c \
gstomxaudioenc.c \
gstomxmjpegdec.c \
gstomxmpeg4videodec.c \
gstomxmpeg2videodec.c \
gstomxh264dec.c \
gstomxh264utils.c \
gstomxh263dec.c \
gstomxwmvdec.c \
$(VP8_C_FILES) \
$(THEORA_C_FILES) \
$(H265_C_FILES) \
gstomxmpeg4videoenc.c \
gstomxh264enc.c \
gstomxh263enc.c \
gstomxaacdec.c \
gstomxmp3dec.c \
gstomxmp3enc.c \
gstomxaacenc.c \
gstomxamrdec.c \
gstomxaudiosink.c \
gstomxanalogaudiosink.c \
gstomxhdmiaudiosink.c
noinst_HEADERS = \
gstomx.h \
gstomxallocator.h \
gstomxbufferpool.h \
gstomxvideo.h \
gstomxvideodec.h \
gstomxvideoenc.h \
gstomxaudiodec.h \
gstomxaudioenc.h \
gstomxmjpegdec.h \
gstomxmpeg2videodec.h \
gstomxmpeg4videodec.h \
gstomxh264dec.h \
gstomxh264utils.h \
gstomxh263dec.h \
gstomxwmvdec.h \
$(VP8_H_FILES) \
$(THEORA_H_FILES) \
$(H265_H_FILES) \
gstomxmpeg4videoenc.h \
gstomxh264enc.h \
gstomxh263enc.h \
gstomxaacdec.h \
gstomxmp3dec.h \
gstomxmp3enc.h \
gstomxaacenc.h \
gstomxamrdec.h \
gstomxaudiosink.h \
gstomxanalogaudiosink.h \
gstomxhdmiaudiosink.h
if !HAVE_EXTERNAL_OMX
OMX_INCLUDEPATH = -I$(abs_srcdir)/openmax
endif
libgstomx_la_CFLAGS = \
-DGST_USE_UNSTABLE_API=1 \
$(OMX_INCLUDEPATH) \
$(GST_GL_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
$(GST_ALLOCATORS_CFLAGS) \
$(GMODULE_NO_EXPORT_CFLAGS)
libgstomx_la_LIBADD = \
$(GST_GL_LIBS) \
$(GST_PLUGINS_BASE_LIBS) \
-lgstaudio-@GST_API_VERSION@ \
-lgstpbutils-@GST_API_VERSION@ \
-lgstvideo-@GST_API_VERSION@ \
$(GST_BASE_LIBS) \
$(GST_LIBS) \
$(GST_ALLOCATORS_LIBS) \
$(GMODULE_NO_EXPORT_LIBS)
libgstomx_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
EXTRA_DIST = \
openmax \
gstomxvp8dec.c \
gstomxvp8dec.h \
gstomxtheoradec.c \
gstomxtheoradec.h
if HAVE_GST_CHECK
SUBDIRS_CHECK = check
else
SUBDIRS_CHECK =
endif
SUBDIRS = $(SUBDIRS_CHECK)
DIST_SUBDIRS = check
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)
if USE_OMX_TARGET_BELLAGIO
OMX_CONFIG_DIR = $(top_srcdir)/config/bellagio
endif
if USE_OMX_TARGET_RPI
OMX_CONFIG_DIR = $(top_srcdir)/config/rpi
endif
if USE_OMX_TARGET_ZYNQ_USCALE_PLUS
OMX_CONFIG_DIR = $(top_srcdir)/config/zynqultrascaleplus
endif
if USE_OMX_TARGET_TIZONIA
OMX_CONFIG_DIR = $(top_srcdir)/config/tizonia
endif
AM_TESTS_ENVIRONMENT += \
$(REGISTRY_ENVIRONMENT) \
GST_PLUGIN_SYSTEM_PATH_1_0= \
GST_PLUGIN_PATH_1_0=$(top_builddir)/omx:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
GST_PLUGIN_LOADING_WHITELIST="gstreamer@$(GST_PLUGINS_DIR):gst-plugins-base@$(GSTPB_PLUGINS_DIR):gst-omx@$(top_builddir)" \
GST_STATE_IGNORE_ELEMENTS="" \
GST_OMX_CONFIG_DIR=$(OMX_CONFIG_DIR)
# the core dumps of some machines have PIDs appended
CLEANFILES = core.* test-registry.*
clean-local: clean-local-check
distclean-local: distclean-local-orc
check_PROGRAMS = \
generic/states
TESTS = $(check_PROGRAMS)
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
$(GST_OPTION_CFLAGS) $(GST_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
-DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS)
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
noinst_PROGRAMS = listcomponents
listcomponents_SOURCES = listcomponents.c
listcomponents_LDADD = $(GLIB_LIBS)
listcomponents_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)/omx/openmax $(GST_OPTION_CFLAGS)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment