Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnome-dvb-daemon
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnome-dvb-daemon
Commits
d0bcf715
Commit
d0bcf715
authored
Nov 03, 2008
by
Sebastian Pölsterl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check if required gstreamer modules are available in configure step
parent
032fbb31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
0 deletions
+46
-0
configure.ac
configure.ac
+5
-0
m4/gstreamer.m4
m4/gstreamer.m4
+41
-0
No files found.
configure.ac
View file @
d0bcf715
...
...
@@ -59,6 +59,11 @@ PKG_CHECK_MODULES(GNOME_DVB_DAEMON, glib-2.0 >= $GLIB_REQUIRED
AC_SUBST(GNOME_DVB_DAEMON_CFLAGS)
AC_SUBST(GNOME_DVB_DAEMON_LIBS)
AG_GST_CHECK_GST_INSPECT
AG_GST_CHECK_MODULE_BAD([mpegtsparse])
AG_GST_CHECK_MODULE_BAD([dvbbasebin])
AG_GST_CHECK_MODULE_BAD([dvbsrc])
dnl **************
dnl * Expansions
dnl **************
...
...
m4/gstreamer.m4
0 → 100644
View file @
d0bcf715
dnl Checks for gstreamer modules (code from Totem)
dnl AG_GST_CHECK_GST_INSPECT
dnl check for gst-inspect-0.10
dnl
dnl AG_GST_CHECK_MODULE_BAD([MODULE])
dnl check for module from gst-plugins-bad
AC_DEFUN([AG_GST_CHECK_GST_INSPECT],
[
gst010_toolsdir=`$PKG_CONFIG --variable=toolsdir gstreamer-0.10`
GST_INSPECT="$gst010_toolsdir/gst-inspect-0.10"
dnl Give error and exit if we don't have the gst_inspect tool
AC_MSG_CHECKING([GStreamer 0.10 inspection tool])
if test -r "$GST_INSPECT"; then
AC_MSG_RESULT([yes])
AC_SUBST(GST_INSPECT)
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([
Cannot find required GStreamer-0.10 tool 'gst-inspect-0.10'.
It should be part of gstreamer-0_10-utils. Please install it.
])
fi
])
AC_DEFUN([AG_GST_CHECK_MODULE_BAD],
[
base_element="[$1]"
AC_MSG_CHECKING([GStreamer 0.10 $base_element plugin])
if $GST_INSPECT $base_element >/dev/null 2>/dev/null; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([
Cannot find required GStreamer-0.10 plugin '$base_element'.
It should be part of gst-plugins-bad. Please install it.
])
fi
])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment