AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
+dnl check for tv profile
+
+AC_ARG_ENABLE(tv, AC_HELP_STRING([--enable-tv], [enable tv profile]),
+ [
+ case "${enableval}" in
+ yes) TV_PROFILE=yes ;;
+ no) TV_PROFILE=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-tv) ;;
+ esac
+ ],
+ [TV_PROFILE=no])
+AM_CONDITIONAL([TV_PROFILE], [test "x$TV_PROFILE" = "xyes"])
+
dnl check for tbm buffer
AC_ARG_ENABLE(tbmbuf, AC_HELP_STRING([--enable-use-tbmbuf], [use tbm buf]),
Name: gst-plugins-base
Version: 1.6.1
-Release: 4
+Release: 5
License: LGPL-2.0+
Summary: GStreamer Streaming-Media Framework Plug-Ins
Url: http://gstreamer.freedesktop.org/
--enable-introspection\
--disable-encoding\
--disable-examples\
+ --disable-adder\
+%if "%{?profile}" == "tv"
+ --enable-tv\
+%endif
--enable-use-tbmbuf
make %{?_smp_mflags}
%defattr(-, root, root)
%license COPYING.LIB
+%if "%{?profile}" != "tv"
%{_bindir}/gst-device-monitor-%{gst_branch}
%{_bindir}/gst-discoverer-%{gst_branch}
%{_bindir}/gst-play-%{gst_branch}
+%endif
%define _lib_gstreamer_dir %{_libdir}/gstreamer-%{gst_branch}
%define _libdebug_dir %{_libdir}/debug/usr/lib
-%{_lib_gstreamer_dir}/libgstadder.so
+#%{_lib_gstreamer_dir}/libgstadder.so
%{_lib_gstreamer_dir}/libgstalsa.so
%{_lib_gstreamer_dir}/libgstapp.so
%{_lib_gstreamer_dir}/libgstaudioconvert.so
%{_lib_gstreamer_dir}/libgstvolume.so
%{_lib_gstreamer_dir}/libgstvorbis.so
+%if "%{?profile}" != "tv"
%doc %{_mandir}/man1/gst-device-monitor-*
%doc %{_mandir}/man1/gst-discoverer-*
%doc %{_mandir}/man1/gst-play-*
+%endif
%if %{with x}
%{_libdir}/gstreamer-%{gst_branch}/libgstximagesink.so