mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
updates to make this closer to compile
Original commit message from CVS: updates to make this closer to compile
This commit is contained in:
parent
9e07c0ac3c
commit
886110240a
8 changed files with 65 additions and 10 deletions
|
@ -14,7 +14,7 @@ then
|
|||
fi
|
||||
|
||||
# ensure that we have the dirs we put ext libs in to appease automake
|
||||
mkdir -p gst-libs/ext/ffmpeg/ffmpeg
|
||||
#mkdir -p gst-libs/ext/ffmpeg/ffmpeg
|
||||
|
||||
# source helper functions
|
||||
if test ! -f common/gst-autogen.sh;
|
||||
|
|
21
configure.ac
21
configure.ac
|
@ -223,6 +223,27 @@ fi
|
|||
|
||||
AC_SUBST(GST_CONTROL_LIBS)
|
||||
|
||||
dnl check for gstreamer-base; uninstalled is selected preferentially
|
||||
PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
|
||||
HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
|
||||
|
||||
if test "x$HAVE_GST_BASE" = "xno"; then
|
||||
AC_MSG_ERROR(no GStreamer Base Libs found)
|
||||
fi
|
||||
|
||||
AC_SUBST(GST_BASE_LIBS)
|
||||
|
||||
dnl check for gstreamer-interfaces; uinstalled is selected preferentially
|
||||
PKG_CHECK_MODULES(GST_INTERFACES, gstreamer-interfaces-$GST_MAJORMINOR >= $GST_REQ,
|
||||
HAVE_GST_INTERFACES="yes", HAVE_GST_INTERFACES="no")
|
||||
|
||||
if test "x$HAVE_GST_INTERFACES" = "xno"; then
|
||||
AC_MSG_ERROR(no GStreamer Interfaces Libs found)
|
||||
fi
|
||||
|
||||
AC_SUBST(GST_INTERFACES_LIBS)
|
||||
|
||||
|
||||
dnl Determine endianness
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
|
|
|
@ -37,9 +37,6 @@ BuildRequires: gstreamer-tools >= %{gst_minver}
|
|||
BuildRequires: gcc-c++
|
||||
BuildRequires: XFree86-devel
|
||||
|
||||
@USE_ARTS_TRUE@Requires: arts >= 1.1.4
|
||||
@USE_ARTS_TRUE@BuildRequires: arts-devel >= 1.1.4
|
||||
@USE_ARTS_TRUE@BuildRequires: gcc-c++
|
||||
@USE_AUDIOFILE_TRUE@Requires: audiofile >= 0.2.1
|
||||
@USE_AUDIOFILE_TRUE@BuildRequires: audiofile-devel >= 0.2.1
|
||||
@USE_CDPARANOIA_TRUE@Requires: cdparanoia-libs >= alpha9.7
|
||||
|
|
|
@ -13,7 +13,8 @@ libgstossaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|||
noinst_HEADERS = gstosssink.h \
|
||||
gstosssrc.h \
|
||||
gstosselement.h\
|
||||
gstossmixer.h
|
||||
gstossmixer.h \
|
||||
gst-i18n-plugin.h
|
||||
|
||||
noinst_PROGRAMS = oss_probe
|
||||
|
||||
|
|
37
sys/oss/gst-i18n-plugin.h
Normal file
37
sys/oss/gst-i18n-plugin.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) 2004 Thomas Vander Stichele <thomas@apestaart.org>
|
||||
*
|
||||
* gst-i18n-plugins.h: internationalization macros for the GStreamer plugins
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __GST_I18N_PLUGIN_H__
|
||||
#define __GST_I18N_PLUGIN_H__
|
||||
|
||||
#include <locale.h> /* some people need it and some people don't */
|
||||
#include "gettext.h" /* included with gettext distribution and copied */
|
||||
|
||||
#ifndef GETTEXT_PACKAGE
|
||||
#error You must define GETTEXT_PACKAGE before including this header.
|
||||
#endif
|
||||
|
||||
/* we want to use shorthand _() for translating and N_() for marking */
|
||||
#define _(String) dgettext (GETTEXT_PACKAGE, String)
|
||||
#define N_(String) gettext_noop (String)
|
||||
/* FIXME: if we need it, we can add Q_ as well, like in glib */
|
||||
|
||||
#endif /* __GST_I18N_PLUGIN_H__ */
|
|
@ -21,7 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gst/gst-i18n-plugin.h"
|
||||
#include "gst-i18n-plugin.h"
|
||||
|
||||
#include "gstosselement.h"
|
||||
#include "gstosssink.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gst/gst-i18n-plugin.h"
|
||||
#include "gst-i18n-plugin.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
#endif /* HAVE_OSS_INCLUDE_IN_SYS */
|
||||
|
||||
#include <gst/gst-i18n-plugin.h>
|
||||
#include <gst-i18n-plugin.h>
|
||||
|
||||
#include "gstossmixer.h"
|
||||
|
||||
|
@ -88,8 +88,7 @@ fill_labels (void)
|
|||
{
|
||||
gchar *given, *wanted;
|
||||
}
|
||||
cases[] =
|
||||
{
|
||||
cases[] = {
|
||||
/* Note: this list is simply ripped from soundcard.h. For
|
||||
* some people, some values might be missing (3D surround,
|
||||
* etc.) - feel free to add them. That's the reason why
|
||||
|
|
Loading…
Reference in a new issue