mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Remove multimedia subdirectory
Unless it was a group of sub-packages, packages was never regrouped by category. multimedia/ was an exception to this rule. This patch move packages/multimedia/ sub-directories to packages/. It keeps two subdirectories for gstream 0.10 and gstreamer 1.X. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
bafa8fcc6c
commit
adf6511013
11
package/gstreamer/Config.in
Normal file
11
package/gstreamer/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
# Gstreamer 0.10.x & Plugins
|
||||
source "package/gstreamer/gstreamer/Config.in"
|
||||
source "package/gstreamer/gst-plugins-base/Config.in"
|
||||
source "package/gstreamer/gst-plugins-good/Config.in"
|
||||
source "package/gstreamer/gst-plugins-bad/Config.in"
|
||||
source "package/gstreamer/gst-plugins-ugly/Config.in"
|
||||
source "package/gstreamer/gst-ffmpeg/Config.in"
|
||||
source "package/gstreamer/gst-dsp/Config.in"
|
||||
source "package/gstreamer/gst-fsl-plugins/Config.in"
|
||||
source "package/gstreamer/gst-omapfb/Config.in"
|
||||
source "package/gstreamer/gst-plugin-x170/Config.in"
|
||||
8
package/gstreamer/gst-dsp/Config.in
Normal file
8
package/gstreamer/gst-dsp/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_GST_DSP
|
||||
bool "gst-dsp"
|
||||
depends on BR2_PACKAGE_GSTREAMER && BR2_cortex_a8
|
||||
select BR2_PACKAGE_TIDSP_BINARIES
|
||||
help
|
||||
GStreamer plug-in to access TI OMAP3 DSP algorithms.
|
||||
|
||||
http://code.google.com/p/gst-dsp/
|
||||
24
package/gstreamer/gst-dsp/gst-dsp.mk
Normal file
24
package/gstreamer/gst-dsp/gst-dsp.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-dsp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_DSP_VERSION = 0.10.2
|
||||
GST_DSP_SITE = http://gst-dsp.googlecode.com/files/
|
||||
|
||||
define GST_DSP_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
|
||||
endef
|
||||
|
||||
define GST_DSP_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define GST_DSP_UNINSTALL_TARGET_CMDS
|
||||
$(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstdsp.so
|
||||
endef
|
||||
|
||||
GST_DSP_DEPENDENCIES = gstreamer tidsp-binaries host-pkgconf
|
||||
|
||||
$(eval $(generic-package))
|
||||
17
package/gstreamer/gst-ffmpeg/Config.in
Normal file
17
package/gstreamer/gst-ffmpeg/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_GST_FFMPEG
|
||||
bool "gst-ffmpeg"
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
select BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_FFMPEG_GPL
|
||||
select BR2_PACKAGE_FFMPEG_POSTPROC
|
||||
select BR2_PACKAGE_FFMPEG_SWSCALE
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_INET_IPV6
|
||||
help
|
||||
GStreamer plugin using FFmpeg.
|
||||
|
||||
http://gstreamer.freedesktop.org/
|
||||
|
||||
comment "gst-ffmpeg requires a toolchain with LARGEFILE and IPV6 support"
|
||||
depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
|
||||
18
package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk
Normal file
18
package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-ffmpeg
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_FFMPEG_VERSION = 0.10.13
|
||||
GST_FFMPEG_SOURCE = gst-ffmpeg-$(GST_FFMPEG_VERSION).tar.bz2
|
||||
GST_FFMPEG_SITE = http://gstreamer.freedesktop.org/src/gst-ffmpeg
|
||||
GST_FFMPEG_INSTALL_STAGING = YES
|
||||
GST_FFMPEG_DEPENDENCIES = host-pkgconf gstreamer gst-plugins-base ffmpeg
|
||||
GST_FFMPEG_CONF_OPT = --with-system-ffmpeg
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
GST_FFMPEG_DEPENDENCIES += bzip2
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
92
package/gstreamer/gst-fsl-plugins/Config.in
Normal file
92
package/gstreamer/gst-fsl-plugins/Config.in
Normal file
@@ -0,0 +1,92 @@
|
||||
comment "gst-fsl-plugins requires an imx-specific kernel to be built"
|
||||
depends on BR2_arm && BR2_PACKAGE_GSTREAMER && !BR2_LINUX_KERNEL
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS
|
||||
bool "gst-fsl-plugins"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
depends on BR2_arm # Only relevant for i.MX
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
select BR2_PACKAGE_LIBFSLVPUWRAP
|
||||
select BR2_PACKAGE_IMX_LIB
|
||||
select BR2_PACKAGE_LIBFSLPARSER
|
||||
select BR2_PACKAGE_LIBFSLCODEC
|
||||
help
|
||||
GStreamer plugins for hardware-accelerated audio and video
|
||||
parsers and codecs on i.MX platforms. It requires a kernel that
|
||||
includes the i.MX specific headers to be built.
|
||||
|
||||
To use the VPU, its firmware blob must be installed as well. This
|
||||
can be found in the firmware-imx package in the "Hardware handling"
|
||||
menu.
|
||||
|
||||
This library is provided by Freescale as-is and doesn't have
|
||||
an upstream. Pengutronix maintains gst-fsl-plugins at
|
||||
git://git.pengutronix.de/git/imx/gst-plugins-fsl-vpu.git
|
||||
but it diverges heavily from Freescale's original implementation.
|
||||
|
||||
if BR2_PACKAGE_GST_FSL_PLUGINS
|
||||
choice
|
||||
prompt "i.MX platform"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX233
|
||||
bool "imx233"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX25
|
||||
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX25_3STACK
|
||||
bool "imx25"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX27
|
||||
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX27ADS
|
||||
bool "imx27"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX28
|
||||
bool "imx28"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX31
|
||||
bool "imx31"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX35
|
||||
bool "imx35"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX37
|
||||
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX37_3STACK
|
||||
bool "imx37"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX50
|
||||
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX50
|
||||
bool "imx50"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX51
|
||||
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX51
|
||||
bool "imx51"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX53
|
||||
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX53
|
||||
bool "imx53"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX5X
|
||||
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX5X
|
||||
bool "imx5X"
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX6
|
||||
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX6Q
|
||||
bool "imx6"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM
|
||||
string
|
||||
default "MX233" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX233
|
||||
default "MX25" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX25
|
||||
default "MX27" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX27
|
||||
default "MX28" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX28
|
||||
default "MX31" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX31
|
||||
default "MX35" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX35
|
||||
default "MX37" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX37
|
||||
default "MX50" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX50
|
||||
default "MX51" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX51
|
||||
default "MX53" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX53
|
||||
default "MX5X" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX5X
|
||||
default "MX6" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX6
|
||||
endif
|
||||
@@ -0,0 +1,23 @@
|
||||
From ed649ccb8ddc724546172d329fca39b23c49b804 Mon Sep 17 00:00:00 2001
|
||||
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
|
||||
Date: Mon, 17 Dec 2012 17:58:28 +0100
|
||||
Subject: [PATCH] gplay: add missing include
|
||||
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
---
|
||||
tools/gplay/gst_snapshot.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tools/gplay/gst_snapshot.c b/tools/gplay/gst_snapshot.c
|
||||
index 40dbb6f..596f399 100755
|
||||
--- a/tools/gplay/gst_snapshot.c
|
||||
+++ b/tools/gplay/gst_snapshot.c
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <string.h>
|
||||
+#include <stdio.h>
|
||||
#include "gst_snapshot.h"
|
||||
|
||||
static void
|
||||
--
|
||||
@@ -0,0 +1,65 @@
|
||||
From 83b4f84b1c490b9bb816e1ecbc743d80d48cc06d Mon Sep 17 00:00:00 2001
|
||||
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
|
||||
Date: Tue, 18 Dec 2012 12:05:22 +0100
|
||||
Subject: [PATCH] Fix bashism in configure script.
|
||||
|
||||
The configure script uses +=, which is not POSIX. Debians that
|
||||
have the default dash as /bin/sh define a variable ending with
|
||||
+ instead of appending to it.
|
||||
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
---
|
||||
configure.ac | 22 +++++++++++-----------
|
||||
1 file changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5968eb6..1a31a06 100755
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -60,10 +60,10 @@ AC_DEFUN([CHECK_DISABLE_FEATURE],
|
||||
[use_[$1]=yes])
|
||||
if test "$use_[$1]" = "yes"; then
|
||||
SAVE_CPPFLAGS="$CPPFLAGS"
|
||||
- CPPFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec`
|
||||
- CPPFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec`
|
||||
- CPPFLAGS+=`$PKG_CONFIG --cflags libfslparser`
|
||||
- CPPFLAGS+=`$PKG_CONFIG --cflags libfslvpuwrap`
|
||||
+ CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libfslaudiocodec`"
|
||||
+ CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libfslvideocodec`"
|
||||
+ CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libfslparser`"
|
||||
+ CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libfslvpuwrap`"
|
||||
AC_CHECK_HEADERS([$4], HAVE_[$3]=yes, HAVE_[$3]=no && break)
|
||||
CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
if test "x$HAVE_[$3]" = "xyes"; then
|
||||
@@ -157,7 +157,7 @@ AC_SUBST(GST_PLUGINS_BASE_LIBS)
|
||||
AC_CHECK_HEADERS([vpu_lib.h], [HAVE_VPU_LIB=yes], [HAVE_VPU_LIB=no])
|
||||
if test "x$HAVE_VPU_LIB" = "xyes"; then
|
||||
VPU_LIBS=`$PKG_CONFIG --libs libfslvpuwrap 2>/dev/null`
|
||||
- VPU_LIBS+=" -lvpu"
|
||||
+ VPU_LIBS="$VPU_LIBS -lvpu"
|
||||
fi
|
||||
AC_SUBST(VPU_LIBS)
|
||||
|
||||
@@ -173,15 +173,15 @@ AC_SUBST(IPU_CFLAGS)
|
||||
AC_SUBST(IPU_LIBS)
|
||||
|
||||
FSL_MM_CORE_CFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null`
|
||||
-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`
|
||||
-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslparser 2>/dev/null`
|
||||
-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`
|
||||
+FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`"
|
||||
+FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslparser 2>/dev/null`"
|
||||
+FSL_MM_CORE_CFLAGS="$FSL_MM_CORE_CFLAGS `$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`"
|
||||
AC_SUBST(FSL_MM_CORE_CFLAGS)
|
||||
|
||||
FSL_MM_CORE_LIBS=`$PKG_CONFIG --libs libfslaudiocodec 2>/dev/null`
|
||||
-FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslvideocodec 2>/dev/null`
|
||||
-FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslparser 2>/dev/null`
|
||||
-FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslvpuwrap 2>/dev/null`
|
||||
+FSL_MM_CORE_LIBS="$FSL_MM_CORE_LIBS `$PKG_CONFIG --libs libfslvideocodec 2>/dev/null`"
|
||||
+FSL_MM_CORE_LIBS="$FSL_MM_CORE_LIBS `$PKG_CONFIG --libs libfslparser 2>/dev/null`"
|
||||
+FSL_MM_CORE_LIBS="$FSL_MM_CORE_LIBS `$PKG_CONFIG --libs libfslvpuwrap 2>/dev/null`"
|
||||
AC_SUBST(FSL_MM_CORE_LIBS)
|
||||
|
||||
EXTRAPLATFORMCFLAGS="-DARM -D_GNUC_"
|
||||
--
|
||||
@@ -0,0 +1,36 @@
|
||||
From c58b658a93b1b6d6e94ba0306d58de845012cef6 Mon Sep 17 00:00:00 2001
|
||||
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
|
||||
Date: Tue, 18 Dec 2012 12:22:52 +0100
|
||||
Subject: [PATCH] Use proper objdump
|
||||
|
||||
If the OBJDUMP environment variable is set, that should be used rather
|
||||
than the objdump in PATH.
|
||||
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1a31a06..cc7557d 100755
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -17,7 +17,7 @@ AC_DEFUN([FIND_PARSER_SONAME],
|
||||
AC_MSG_CHECKING([for lib_$1_parser_$2_elinux.3.0.so soname])
|
||||
path=`$PKG_CONFIG --variable=libdir libfslparser`
|
||||
SONAME=$( $CC -print-file-name=$path/lib_$1_parser_$2_elinux.so | \
|
||||
- while read output; do objdump -p $output | \
|
||||
+ while read output; do $OBJDUMP -p $output | \
|
||||
grep "SONAME" | \
|
||||
sed -e 's/ \+SONAME \+//'; done 2> /dev/null )
|
||||
if [[ -z "$SONAME" ]]; then
|
||||
@@ -37,7 +37,7 @@ AC_DEFUN([FIND_ACODEC_SONAME],
|
||||
AC_MSG_CHECKING([for lib_$1_wrap_$2_elinux.so soname])
|
||||
path=`$PKG_CONFIG --variable=libdir libfslaudiocodec`
|
||||
SONAME=$( $CC -print-file-name=$path/wrap/lib_$1_wrap_$2_elinux.so | \
|
||||
- while read output; do objdump -p $output | \
|
||||
+ while read output; do $OBJDUMP -p $output | \
|
||||
grep "SONAME" | \
|
||||
sed -e 's/ \+SONAME \+//'; done 2> /dev/null )
|
||||
if [[ -z "$SONAME" ]]; then
|
||||
--
|
||||
42
package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk
Normal file
42
package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk
Normal file
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-fsl-plugins
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_FSL_PLUGINS_VERSION = 3.0.1
|
||||
# No official download site from freescale, just this mirror
|
||||
GST_FSL_PLUGINS_SITE = http://download.ossystems.com.br/bsp/freescale/source
|
||||
|
||||
# Most is LGPLv2+, but some sources are copied from upstream and are
|
||||
# LGPLv2.1+, which essentially makes it LGPLv2.1+
|
||||
GST_FSL_PLUGINS_LICENSE = LGPLv2+, LGPLv2.1+, PROPRIETARY (asf.h)
|
||||
GST_FSL_PLUGINS_LICENSE_FILES = COPYING-LGPL-2.1 COPYING-LGPL-2
|
||||
|
||||
GST_FSL_PLUGINS_INSTALL_STAGING = YES
|
||||
GST_FSL_PLUGINS_AUTORECONF = YES
|
||||
|
||||
GST_FSL_PLUGINS_DEPENDENCIES += host-pkgconf gstreamer gst-plugins-base \
|
||||
libfslvpuwrap imx-lib libfslparser libfslcodec
|
||||
|
||||
GST_FSL_PLUGINS_CONF_ENV = PLATFORM=$(BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM)
|
||||
|
||||
# needs access to imx-specific kernel headers
|
||||
GST_FSL_PLUGINS_DEPENDENCIES += linux
|
||||
GST_FSL_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||
GST_FSL_PLUGINS_DEPENDENCIES += xlib_libX11
|
||||
GST_FSL_PLUGINS_CONF_OPT += --enable-x11
|
||||
else
|
||||
GST_FSL_PLUGINS_CONF_OPT += --disable-x11
|
||||
endif
|
||||
|
||||
# Autoreconf requires an m4 directory to exist
|
||||
define GST_FSL_PLUGINS_PATCH_M4
|
||||
mkdir -p $(@D)/m4
|
||||
endef
|
||||
|
||||
GST_FSL_PLUGINS_POST_PATCH_HOOKS += GST_FSL_PLUGINS_PATCH_M4
|
||||
|
||||
$(eval $(autotools-package))
|
||||
7
package/gstreamer/gst-omapfb/Config.in
Normal file
7
package/gstreamer/gst-omapfb/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_GST_OMAPFB
|
||||
bool "gst-omapfb"
|
||||
depends on BR2_PACKAGE_GSTREAMER && BR2_cortex_a8
|
||||
help
|
||||
GStreamer plug-in to use OMAP framebuffer.
|
||||
|
||||
http://github.com/felipec/gst-omapfb
|
||||
25
package/gstreamer/gst-omapfb/gst-omapfb.mk
Normal file
25
package/gstreamer/gst-omapfb/gst-omapfb.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-omapfb
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_OMAPFB_VERSION = 1.0
|
||||
GST_OMAPFB_SOURCE = gst-omapfb-$(GST_OMAPFB_VERSION).tar.gz
|
||||
GST_OMAPFB_SITE = http://gst-dsp.googlecode.com/files/
|
||||
|
||||
define GST_OMAPFB_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
|
||||
endef
|
||||
|
||||
define GST_OMAPFB_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define GST_OMAPFB_UNINSTALL_TARGET_CMDS
|
||||
$(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstomapfb.so
|
||||
endef
|
||||
|
||||
GST_OMAPFB_DEPENDENCIES = gstreamer
|
||||
|
||||
$(eval $(generic-package))
|
||||
15
package/gstreamer/gst-plugin-x170/Config.in
Normal file
15
package/gstreamer/gst-plugin-x170/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_GST_PLUGIN_X170
|
||||
bool "gst-plugin-x170"
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
depends on BR2_arm926t
|
||||
# glibc toolchain includes WCHAR and threading for libglib2
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # on2-8170-libs
|
||||
select BR2_PACKAGE_ON2_8170_LIBS
|
||||
help
|
||||
GStreamer plug-in to use the Hantro X170 video decoder present on
|
||||
ATMEL AT91SAM9M10 SoC.
|
||||
|
||||
http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer
|
||||
|
||||
comment "gst-plugin-x170 requires a toolchain which uses eglibc/glibc"
|
||||
depends on BR2_PACKAGE_GSTREAMER && BR2_arm926t && !BR2_TOOLCHAIN_USES_GLIBC
|
||||
@@ -0,0 +1,28 @@
|
||||
The configure script is correctly getting the CFLAGS needed to compile a plugin
|
||||
for gstreamer and storing them in GST_BASE_CFLAGS but the Makefiles are never
|
||||
making use of those.
|
||||
|
||||
We actually have to use AM_CPPFLAGS as AM_CFLAGS is used everywhere but on the
|
||||
real compiling rule...
|
||||
|
||||
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
|
||||
---
|
||||
src/Makefile.am | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 8cb51d1..6af5d91 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -5,6 +5,8 @@
|
||||
##############################################################################
|
||||
plugin_LTLIBRARIES = libgstx170.la
|
||||
|
||||
+AM_CPPFLAGS = @GST_BASE_CFLAGS@
|
||||
+
|
||||
##############################################################################
|
||||
# for the next set of variables, rename the prefix if you renamed the .la, #
|
||||
# e.g. libgstplugin_la_SOURCES => libmysomething_la_SOURCES #
|
||||
--
|
||||
1.8.1.2
|
||||
|
||||
18
package/gstreamer/gst-plugin-x170/gst-plugin-x170.mk
Normal file
18
package/gstreamer/gst-plugin-x170/gst-plugin-x170.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-plugin-x170
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_PLUGIN_X170_VERSION = 1.0
|
||||
GST_PLUGIN_X170_SITE = ftp://ftp.linux4sam.org/pub/demo/linux4sam_1.9/codec/
|
||||
|
||||
GST_PLUGIN_X170_LICENSE = BSD-1c
|
||||
#A license file is included but it is just a placeholder
|
||||
|
||||
# There is no generated configure script in the tarball.
|
||||
GST_PLUGIN_X170_AUTORECONF = YES
|
||||
GST_PLUGIN_X170_AUTORECONF_OPT = -Im4/
|
||||
GST_PLUGIN_X170_DEPENDENCIES = gstreamer libglib2 on2-8170-libs
|
||||
|
||||
$(eval $(autotools-package))
|
||||
326
package/gstreamer/gst-plugins-bad/Config.in
Normal file
326
package/gstreamer/gst-plugins-bad/Config.in
Normal file
@@ -0,0 +1,326 @@
|
||||
menuconfig BR2_PACKAGE_GST_PLUGINS_BAD
|
||||
bool "gst-plugins-bad"
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
help
|
||||
A set of plug-ins for GStreamer that may be of poor quality or
|
||||
lacking some features.
|
||||
|
||||
http://gstreamer.freedesktop.org/
|
||||
|
||||
if BR2_PACKAGE_GST_PLUGINS_BAD
|
||||
|
||||
comment "dependency-less plugins"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ADPCMDEC
|
||||
bool "adpcmdec"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ADPCMENC
|
||||
bool "adpcmenc"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AIFF
|
||||
bool "aiff"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ASFMUX
|
||||
bool "asfmux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AUTOCONVERT
|
||||
bool "autoconvert"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS
|
||||
bool "audiovisualizers"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_BAYER
|
||||
bool "bayer"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CAMERABIN
|
||||
bool "camerabin"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CAMERABIN2
|
||||
bool "camerabin2"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDXAPARSE
|
||||
bool "cdxaparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_COLOREFFECTS
|
||||
bool "coloreffects"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_COLORSPACE
|
||||
bool "colorspace"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DATAURISRC
|
||||
bool "dataurisrc"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DCCP
|
||||
bool "dccp"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DEBUGUTILS
|
||||
bool "debugutils"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DECKLINK
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
bool "decklink"
|
||||
|
||||
comment "decklink requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DTMF
|
||||
bool "dtmf"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY
|
||||
bool "dvdsuboverlay"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVDSPU
|
||||
bool "dvdspu"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FACEOVERLAY
|
||||
bool "faceoverlay"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FESTIVAL
|
||||
bool "festival"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FIELDANALYSIS
|
||||
bool "fieldanalysis"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FREEVERB
|
||||
bool "freeverb"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FREEZE
|
||||
bool "freeze"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FREI0R
|
||||
bool "frei0r"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS
|
||||
bool "gaudieffects"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM
|
||||
bool "geometrictransform"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_GSETTINGS
|
||||
bool "gsettings"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_H264PARSE
|
||||
bool "h264parse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_HDVPARSE
|
||||
bool "hdvparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_HLS
|
||||
bool "hls"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ID3TAG
|
||||
bool "id3tag"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_INTER
|
||||
bool "inter"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_INTERLACE
|
||||
bool "interlace"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_IVFPARSE
|
||||
bool "ivfparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR
|
||||
bool "jp2kdecimator"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_JPEGFORMAT
|
||||
bool "jpegformat"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LEGACYRESAMPLE
|
||||
bool "legacyresample"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIBRFB
|
||||
bool "librfb"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LINSYS
|
||||
bool "linsys"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIVEADDER
|
||||
bool "liveadder"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGDEMUX
|
||||
bool "mpegdemux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGPSMUX
|
||||
bool "mpegpsmux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX
|
||||
bool "mpegtsdemux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGTSMUX
|
||||
bool "mpegtsmux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGVIDEOPARSE
|
||||
bool "mpegvideoparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MVE
|
||||
bool "mve"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MXF
|
||||
bool "mxf"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_NSF
|
||||
bool "nsf"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_NUVDEMUX
|
||||
bool "nuvdemux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_PATCHDETECT
|
||||
bool "patchdetect"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_PCAPPARSE
|
||||
bool "pcapparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_PNM
|
||||
bool "pnm"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RAWPARSE
|
||||
bool "rawparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_REAL
|
||||
bool "real"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_REMOVESILENCE
|
||||
bool "removesilence"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RTPMUX
|
||||
bool "rtpmux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RTPVP8
|
||||
bool "rtpvp8"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SCALETEMPO
|
||||
bool "scaletempo"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDI
|
||||
bool "sdi"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDP
|
||||
bool "sdp"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SEGMENTCLIP
|
||||
bool "segmentclip"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SIREN
|
||||
bool "siren"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SMOOTH
|
||||
bool "smooth"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SPEED
|
||||
bool "speed"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_STEREO
|
||||
bool "stereo"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SUBENC
|
||||
bool "subenc"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_TTA
|
||||
bool "tta"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOFILTERS
|
||||
bool "videofilters"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOMAXRATE
|
||||
bool "videomaxrate"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOMEASURE
|
||||
bool "videomeasure"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOPARSERS
|
||||
bool "videoparsers"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL
|
||||
bool "videosignal"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VMNC
|
||||
bool "vmnc"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_Y4M
|
||||
bool "y4m"
|
||||
|
||||
comment "plugins with external dependencies (there may be more available)"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_APEXSINK
|
||||
bool "apexsink"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_BZ2
|
||||
bool "bz2"
|
||||
select BR2_PACKAGE_BZIP2
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDAUDIO
|
||||
bool "cdaudio"
|
||||
select BR2_PACKAGE_LIBCDAUDIO
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CURL
|
||||
bool "curl"
|
||||
select BR2_PACKAGE_LIBCURL
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DIRECTFB
|
||||
bool "directfb"
|
||||
select BR2_PACKAGE_DIRECTFB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVB
|
||||
bool "dvb"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FBDEV
|
||||
bool "fbdev"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FAAD
|
||||
bool "faad"
|
||||
select BR2_PACKAGE_FAAD2
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIBMMS
|
||||
bool "libmms"
|
||||
depends on BR2_USE_WCHAR # libmms -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libmms -> libglib2
|
||||
select BR2_PACKAGE_LIBMMS
|
||||
|
||||
comment "libmms requires a toolchain with WCHAR and threading support"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MUSEPACK
|
||||
bool "musepack"
|
||||
select BR2_PACKAGE_MUSEPACK
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_NEON
|
||||
bool "neon"
|
||||
select BR2_PACKAGE_NEON
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_OPUS
|
||||
bool "opus"
|
||||
select BR2_PACKAGE_OPUS
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RSVG
|
||||
bool "rsvg"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR # librsvg -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # librsvg -> libglib2
|
||||
select BR2_PACKAGE_LIBRSVG
|
||||
|
||||
comment "rsvg plugin requires a toolchain with C++, WCHAR, and threading support"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDL
|
||||
bool "sdl"
|
||||
select BR2_PACKAGE_SDL
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SNDFILE
|
||||
bool "sndfile"
|
||||
select BR2_PACKAGE_LIBSNDFILE
|
||||
depends on BR2_LARGEFILE
|
||||
|
||||
comment "gst-plugins-bad-plugin-sndfile requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VCD
|
||||
bool "vcd"
|
||||
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
Fix dfb-example
|
||||
|
||||
Order of inclusion gives a strange effect on the definition of
|
||||
gst_debug_log. Swapping the include statements solve it.
|
||||
|
||||
Not upstreamed since there will be no more updates to this version
|
||||
of gst-plugins-bad.
|
||||
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
---
|
||||
diff -rup gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c gst-plugins-bad-0.10.23.fixed/ext/directfb/dfb-example.c
|
||||
--- gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c 2011-12-11 19:49:11.000000000 +0100
|
||||
+++ gst-plugins-bad-0.10.23.fixed/ext/directfb/dfb-example.c 2013-05-13 00:32:00.507469138 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
-#include <directfb.h>
|
||||
#include <stdio.h>
|
||||
#include <gst/gst.h>
|
||||
+#include <directfb.h>
|
||||
|
||||
static IDirectFB *dfb = NULL;
|
||||
static IDirectFBSurface *primary = NULL;
|
||||
@@ -0,0 +1,78 @@
|
||||
From 1725e702a3622cb45c8142622dd419fa0c410ac9 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
Date: Wed, 12 Sep 2012 09:10:35 +0200
|
||||
Subject: [PATCH] gst-plugins-bad: opus + jpegformat: unbreak non-debug build
|
||||
|
||||
opus + jpegformat plugin builds fail when gstreamer is configured with
|
||||
--disable-gst-debug as they are checking the GST_DISABLE_DEBUG symbol
|
||||
instead of GST_DISABLE_GST_DEBUG.
|
||||
|
||||
Submitted upstream as https://bugzilla.gnome.org/show_bug.cgi?id=683850
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
ext/opus/gstopusdec.c | 2 +-
|
||||
ext/opus/gstopusenc.c | 4 ++--
|
||||
gst/jpegformat/gstjpegparse.c | 4 ++--
|
||||
3 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c
|
||||
index 0e2805c..ab7221d 100644
|
||||
--- a/ext/opus/gstopusdec.c
|
||||
+++ b/ext/opus/gstopusdec.c
|
||||
@@ -357,7 +357,7 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buffer)
|
||||
|
||||
GST_DEBUG_OBJECT (dec, "Creating decoder with %d channels, %d Hz",
|
||||
dec->n_channels, dec->sample_rate);
|
||||
-#ifndef GST_DISABLE_DEBUG
|
||||
+#ifndef GST_DISABLE_GST_DEBUG
|
||||
gst_opus_common_log_channel_mapping_table (GST_ELEMENT (dec), opusdec_debug,
|
||||
"Mapping table", dec->n_channels, dec->channel_mapping);
|
||||
#endif
|
||||
diff --git a/ext/opus/gstopusenc.c b/ext/opus/gstopusenc.c
|
||||
index 240a2cb..d991795 100644
|
||||
--- a/ext/opus/gstopusenc.c
|
||||
+++ b/ext/opus/gstopusenc.c
|
||||
@@ -589,7 +589,7 @@ gst_opus_enc_setup_channel_mappings (GstOpusEnc * enc,
|
||||
}
|
||||
}
|
||||
|
||||
-#ifndef GST_DISABLE_DEBUG
|
||||
+#ifndef GST_DISABLE_GST_DEBUG
|
||||
GST_INFO_OBJECT (enc,
|
||||
"Mapping tables built: %d channels, %d stereo streams", enc->n_channels,
|
||||
enc->n_stereo_streams);
|
||||
@@ -654,7 +654,7 @@ gst_opus_enc_setup (GstOpusEnc * enc)
|
||||
{
|
||||
int error = OPUS_OK;
|
||||
|
||||
-#ifndef GST_DISABLE_DEBUG
|
||||
+#ifndef GST_DISABLE_GST_DEBUG
|
||||
GST_DEBUG_OBJECT (enc,
|
||||
"setup: %d Hz, %d channels, %d stereo streams, family %d",
|
||||
enc->sample_rate, enc->n_channels, enc->n_stereo_streams,
|
||||
diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c
|
||||
index f984a52..b4af9ed 100644
|
||||
--- a/gst/jpegformat/gstjpegparse.c
|
||||
+++ b/gst/jpegformat/gstjpegparse.c
|
||||
@@ -545,7 +545,7 @@ gst_jpeg_parse_skip_marker (GstJpegParse * parse,
|
||||
if (!gst_byte_reader_get_uint16_be (reader, &size))
|
||||
return FALSE;
|
||||
|
||||
-#ifndef GST_DISABLE_DEBUG
|
||||
+#ifndef GST_DISABLE_GST_DEBUG
|
||||
/* We'd pry the id of the skipped application segment */
|
||||
if (marker >= APP0 && marker <= APP15) {
|
||||
const gchar *id_str = NULL;
|
||||
@@ -561,7 +561,7 @@ gst_jpeg_parse_skip_marker (GstJpegParse * parse,
|
||||
#else
|
||||
GST_DEBUG_OBJECT (parse, "unhandled marker %x skiping %u bytes", marker,
|
||||
size);
|
||||
-#endif // GST_DISABLE_DEBUG
|
||||
+#endif // GST_DISABLE_GST_DEBUG
|
||||
|
||||
if (!gst_byte_reader_skip (reader, size - 2))
|
||||
return FALSE;
|
||||
--
|
||||
1.7.10
|
||||
|
||||
581
package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk
Normal file
581
package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk
Normal file
@@ -0,0 +1,581 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-plugins-bad
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_PLUGINS_BAD_VERSION = 0.10.23
|
||||
GST_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST_PLUGINS_BAD_VERSION).tar.bz2
|
||||
GST_PLUGINS_BAD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-bad
|
||||
|
||||
GST_PLUGINS_BAD_CONF_OPT = \
|
||||
--disable-examples
|
||||
|
||||
GST_PLUGINS_BAD_DEPENDENCIES = gst-plugins-base gstreamer
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ORC),y)
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += orc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ADPCMDEC),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-adpcmdec
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-adpcmdec
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ADPCMENC),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-adpcmenc
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-adpcmenc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AIFF),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-aiff
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-aiff
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ASFMUX),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-asfmux
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-asfmux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-audiovisualizers
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-audiovisualizers
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AUTOCONVERT),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-autoconvert
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-autoconvert
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_BAYER),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-bayer
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-bayer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CAMERABIN),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-camerabin
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-camerabin
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CAMERABIN2),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-camerabin2
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-camerabin2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDXAPARSE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-cdxaparse
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-cdxaparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_COLOREFFECTS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-coloreffects
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-coloreffects
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_COLORSPACE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-colorspace
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-colorspace
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DATAURISRC),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-dataurisrc
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-dataurisrc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DCCP),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-dccp
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-dccp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DEBUGUTILS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-debugutils
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-debugutils
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DECKLINK),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-decklink
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-decklink
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DTMF),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-dtmf
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-dtmf
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-dvbsuboverlay
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-dvbsuboverlay
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVDSPU),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-dvdspu
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-dvdspu
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FACEOVERLAY),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-faceoverlay
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-faceoverlay
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FESTIVAL),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-festival
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-festival
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FIELDANALYSIS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-fieldanalysis
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-fieldanalysis
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FREEZE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-freeze
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-freeze
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FREEVERB),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-freeverb
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-freeverb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FREI0R),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-frei0r
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-frei0r
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-gaudieffects
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-gaudieffects
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-geometrictransform
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-geometrictransform
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_GSETTINGS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-gsettings
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-gsettings
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_H264PARSE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-h264parse
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-h264parse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_HDVPARSE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-hdvparse
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-hdvparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_HLS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-hls
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-hls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ID3TAG),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-id3tag
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-id3tag
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_INTER),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-inter
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-inter
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_INTERLACE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-interlace
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-interlace
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_IVFPARSE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-ivfparse
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-ivfparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-jp2kdecimator
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-jp2kdecimator
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_JPEGFORMAT),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-jpegformat
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-jpegformat
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LEGACYRESAMPLE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-legacyresample
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-legacyresample
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIBRFB),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-librfb
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-librfb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LINSYS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-linsys
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-linsys
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIVEADDER),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-liveadder
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-liveadder
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGDEMUX),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-mpegdemux
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-mpegdemux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGPSMUX),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-mpegpsmux
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-mpegpsmux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-mpegtsdemux
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-mpegtsdemux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGTSMUX),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-mpegtsmux
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-mpegtsmux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MPEGVIDEOPARSE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-mpegvideoparse
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-mpegvideoparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MVE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-mve
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-mve
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MXF),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-mxf
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-mxf
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_NSF),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-nsf
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-nsf
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_NUVDEMUX),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-nuvdemux
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-nuvdemux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_PATCHDETECT),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-patchdetect
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-patchdetect
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_PCAPPARSE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-pcapparse
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-pcapparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_PNM),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-pnm
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-pnm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RAWPARSE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-rawparse
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-rawparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_REAL),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-real
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-real
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_REMOVESILENCE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-removesilence
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-removesilence
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RTPMUX),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-rtpmux
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-rtpmux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RTPVP8),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-rtpvp8
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-rtpvp8
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SCALETEMPO),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-scaletempo
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-scaletempo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDI),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-sdi
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-sdi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDP),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-sdp
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-sdp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SEGMENTCLIP),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-segmentclip
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-segmentclip
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SIREN),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-siren
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-siren
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SMOOTH),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-smooth
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-smooth
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SPEED),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-speed
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-speed
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SUBENC),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-subenc
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-subenc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_STEREO),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-stereo
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-stereo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_TTA),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-tta
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-tta
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOFILTERS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-videofilters
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-videofilters
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOMAXRATE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-videomaxrate
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-videomaxrate
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOMEASURE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-videomeasure
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-videomeasure
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOPARSERS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-videoparsers
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-videoparsers
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-videosignal
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-videosignal
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VMNC),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-vmnc
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-vmnc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_Y4M),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-y4m
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-y4m
|
||||
endif
|
||||
|
||||
# plugins with deps
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_APEXSINK),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-apexsink
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += openssl
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-apexsink
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_BZ2),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-bz2
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += bzip2
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-bz2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDAUDIO),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-cdaudio
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += libcdaudio
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-cdaudio
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CURL),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-curl
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += libcurl
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-curl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DIRECTFB),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-directfb
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += directfb
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-directfb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVB),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-dvb
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-dvb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FAAD),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-faad
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += faad2
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-faad
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FBDEV),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-fbdev
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-fbdev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIBMMS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-libmms
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += libmms
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-libmms
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MUSEPACK),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-musepack
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += musepack
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-musepack
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_NEON),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-neon
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += neon
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-neon
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_OPUS),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-opus
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += opus
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-opus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RSVG),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-rsvg
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += librsvg
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-rsvg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDL),y)
|
||||
GST_PLUGINS_BAD_CONF_ENV += ac_cv_path_SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-sdl
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += sdl
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-sdl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SNDFILE),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-sndfile
|
||||
GST_PLUGINS_BAD_DEPENDENCIES += libsndfile
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-sndfile
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VCD),y)
|
||||
GST_PLUGINS_BAD_CONF_OPT += --enable-vcd
|
||||
else
|
||||
GST_PLUGINS_BAD_CONF_OPT += --disable-vcd
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
110
package/gstreamer/gst-plugins-base/Config.in
Normal file
110
package/gstreamer/gst-plugins-base/Config.in
Normal file
@@ -0,0 +1,110 @@
|
||||
menuconfig BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
bool "gst-plugins-base"
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXV if BR2_PACKAGE_XORG7
|
||||
help
|
||||
A basic set of well-supported plug-ins for GStreamer.
|
||||
|
||||
http://gstreamer.freedesktop.org/
|
||||
|
||||
if BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
|
||||
comment "dependency-less plugins"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER
|
||||
bool "adder"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
|
||||
bool "app"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
|
||||
bool "audioconvert (mandatory for audio playback)"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE
|
||||
bool "audiorate"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
|
||||
bool "audioresample (mandatory for audio playback)"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC
|
||||
bool "audiotestsrc"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING
|
||||
bool "encoding"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE
|
||||
bool "ffmpegcolorspace (mandatory for video playback)"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP
|
||||
bool "gdp"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK
|
||||
bool "playback (mandatory)"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE
|
||||
bool "subparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP
|
||||
bool "tcp"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND
|
||||
bool "typefind (mandatory)"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC
|
||||
bool "videotestsrc"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE
|
||||
bool "videorate"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE
|
||||
bool "videoscale (mandatory for video playback)"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME
|
||||
bool "volume (mandatory for audio playback)"
|
||||
default y
|
||||
|
||||
comment "plugins with external dependencies (there may be more available)"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA
|
||||
bool "alsa (mandatory for audio playback)"
|
||||
select BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
select BR2_PACKAGE_ALSA_LIB_PCM
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG
|
||||
bool "ogg (*.ogg audio/video)"
|
||||
select BR2_PACKAGE_LIBOGG
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO
|
||||
bool "pango font renderer"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR # pango -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
|
||||
select BR2_PACKAGE_PANGO
|
||||
|
||||
comment "pango plugin requires a toolchain with C++, WCHAR and threading support "
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA
|
||||
bool "theora (*.ogg video)"
|
||||
select BR2_PACKAGE_LIBTHEORA
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TREMOR
|
||||
bool "tremor"
|
||||
select BR2_PACKAGE_TREMOR
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS
|
||||
bool "vorbis (*.ogg audio)"
|
||||
select BR2_PACKAGE_LIBVORBIS
|
||||
|
||||
endif
|
||||
|
||||
139
package/gstreamer/gst-plugins-base/gst-plugins-base-tremor.patch
Normal file
139
package/gstreamer/gst-plugins-base/gst-plugins-base-tremor.patch
Normal file
@@ -0,0 +1,139 @@
|
||||
From 0088753651350de3060ece22c1be4153b6009515 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
Date: Wed, 25 Jan 2012 23:53:04 +0100
|
||||
Subject: [PATCH] base: vorbisdeclib: support modern Tremor versions
|
||||
|
||||
Reported upstream as https://bugzilla.gnome.org/show_bug.cgi?id=668726
|
||||
|
||||
Tremor changed to use standard libogg rather than its own incompatible
|
||||
copy back in Aug 2010 (r17375), causing gst-plugin-base build to fail.
|
||||
|
||||
Tremolo so far unfortunately hasn't been updated. Restructure
|
||||
vorbisdeclib.h so the legacy _ogg_packet_wrapper code is only used for
|
||||
Tremolo.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
ext/vorbis/gstvorbisdeclib.h | 77 ++++++++++++++++++++++-------------------
|
||||
1 files changed, 41 insertions(+), 36 deletions(-)
|
||||
|
||||
diff --git a/ext/vorbis/gstvorbisdeclib.h b/ext/vorbis/gstvorbisdeclib.h
|
||||
index ca00af9..e147591 100644
|
||||
--- a/ext/vorbis/gstvorbisdeclib.h
|
||||
+++ b/ext/vorbis/gstvorbisdeclib.h
|
||||
@@ -29,11 +29,6 @@
|
||||
|
||||
#ifndef TREMOR
|
||||
|
||||
-#include <vorbis/codec.h>
|
||||
-
|
||||
-typedef float vorbis_sample_t;
|
||||
-typedef ogg_packet ogg_packet_wrapper;
|
||||
-
|
||||
#define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to float audio"
|
||||
|
||||
#define GST_VORBIS_DEC_SRC_CAPS \
|
||||
@@ -47,6 +42,42 @@ typedef ogg_packet ogg_packet_wrapper;
|
||||
|
||||
#define GST_VORBIS_DEC_GLIB_TYPE_NAME GstVorbisDec
|
||||
|
||||
+#else /* TREMOR */
|
||||
+
|
||||
+#define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to integer audio"
|
||||
+
|
||||
+#define GST_VORBIS_DEC_SRC_CAPS \
|
||||
+ GST_STATIC_CAPS ("audio/x-raw-int, " \
|
||||
+ "rate = (int) [ 1, MAX ], " \
|
||||
+ "channels = (int) [ 1, 6 ], " \
|
||||
+ "endianness = (int) BYTE_ORDER, " \
|
||||
+ "width = (int) { 16, 32 }, " \
|
||||
+ "depth = (int) 16, " \
|
||||
+ "signed = (boolean) true")
|
||||
+
|
||||
+#define GST_VORBIS_DEC_DEFAULT_SAMPLE_WIDTH (16)
|
||||
+
|
||||
+/* we need a different type name here */
|
||||
+#define GST_VORBIS_DEC_GLIB_TYPE_NAME GstIVorbisDec
|
||||
+
|
||||
+/* and still have it compile */
|
||||
+typedef struct _GstVorbisDec GstIVorbisDec;
|
||||
+typedef struct _GstVorbisDecClass GstIVorbisDecClass;
|
||||
+
|
||||
+#endif /* TREMOR */
|
||||
+
|
||||
+#ifndef USE_TREMOLO
|
||||
+
|
||||
+#ifdef TREMOR
|
||||
+ #include <tremor/ivorbiscodec.h>
|
||||
+ typedef ogg_int32_t vorbis_sample_t;
|
||||
+#else
|
||||
+ #include <vorbis/codec.h>
|
||||
+ typedef float vorbis_sample_t;
|
||||
+#endif
|
||||
+
|
||||
+typedef ogg_packet ogg_packet_wrapper;
|
||||
+
|
||||
static inline guint8 *
|
||||
gst_ogg_packet_data (ogg_packet * p)
|
||||
{
|
||||
@@ -72,17 +103,11 @@ gst_ogg_packet_from_wrapper (ogg_packet_wrapper * packet)
|
||||
return packet;
|
||||
}
|
||||
|
||||
-#else
|
||||
-
|
||||
-#ifdef USE_TREMOLO
|
||||
- #include <Tremolo/ivorbiscodec.h>
|
||||
- #include <Tremolo/codec_internal.h>
|
||||
- typedef ogg_int16_t vorbis_sample_t;
|
||||
-#else
|
||||
- #include <tremor/ivorbiscodec.h>
|
||||
- typedef ogg_int32_t vorbis_sample_t;
|
||||
-#endif
|
||||
+#else /* USE_TREMOLO */
|
||||
|
||||
+#include <Tremolo/ivorbiscodec.h>
|
||||
+#include <Tremolo/codec_internal.h>
|
||||
+typedef ogg_int16_t vorbis_sample_t;
|
||||
typedef struct _ogg_packet_wrapper ogg_packet_wrapper;
|
||||
|
||||
struct _ogg_packet_wrapper {
|
||||
@@ -91,26 +116,6 @@ struct _ogg_packet_wrapper {
|
||||
ogg_buffer buf;
|
||||
};
|
||||
|
||||
-#define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to integer audio"
|
||||
-
|
||||
-#define GST_VORBIS_DEC_SRC_CAPS \
|
||||
- GST_STATIC_CAPS ("audio/x-raw-int, " \
|
||||
- "rate = (int) [ 1, MAX ], " \
|
||||
- "channels = (int) [ 1, 6 ], " \
|
||||
- "endianness = (int) BYTE_ORDER, " \
|
||||
- "width = (int) { 16, 32 }, " \
|
||||
- "depth = (int) 16, " \
|
||||
- "signed = (boolean) true")
|
||||
-
|
||||
-#define GST_VORBIS_DEC_DEFAULT_SAMPLE_WIDTH (16)
|
||||
-
|
||||
-/* we need a different type name here */
|
||||
-#define GST_VORBIS_DEC_GLIB_TYPE_NAME GstIVorbisDec
|
||||
-
|
||||
-/* and still have it compile */
|
||||
-typedef struct _GstVorbisDec GstIVorbisDec;
|
||||
-typedef struct _GstVorbisDecClass GstIVorbisDecClass;
|
||||
-
|
||||
/* compensate minor variation */
|
||||
#define vorbis_synthesis(a, b) vorbis_synthesis (a, b, 1)
|
||||
|
||||
@@ -154,7 +159,7 @@ gst_ogg_packet_from_wrapper (ogg_packet_wrapper * packet)
|
||||
return &(packet->packet);
|
||||
}
|
||||
|
||||
-#endif
|
||||
+#endif /* USE_TREMOLO */
|
||||
|
||||
typedef void (*CopySampleFunc)(vorbis_sample_t *out, vorbis_sample_t **in,
|
||||
guint samples, gint channels, gint width);
|
||||
--
|
||||
1.7.8.3
|
||||
|
||||
193
package/gstreamer/gst-plugins-base/gst-plugins-base.mk
Normal file
193
package/gstreamer/gst-plugins-base/gst-plugins-base.mk
Normal file
@@ -0,0 +1,193 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-plugins-base
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_PLUGINS_BASE_VERSION = 0.10.36
|
||||
GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.bz2
|
||||
GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
|
||||
GST_PLUGINS_BASE_INSTALL_STAGING = YES
|
||||
|
||||
# freetype is only used by examples, but if it is not found
|
||||
# and the host has a freetype-config script, then the host
|
||||
# include dirs are added to the search path causing trouble
|
||||
GST_PLUGINS_BASE_CONF_ENV =
|
||||
FT2_CONFIG=/bin/false \
|
||||
ac_cv_header_stdint_t="stdint.h"
|
||||
|
||||
GST_PLUGINS_BASE_CONF_OPT = \
|
||||
--disable-examples \
|
||||
--disable-oggtest \
|
||||
--disable-vorbistest \
|
||||
--disable-freetypetest
|
||||
|
||||
GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
|
||||
GST_PLUGINS_BASE_CONF_OPT += \
|
||||
--enable-x \
|
||||
--enable-xshm \
|
||||
--enable-xvideo
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += \
|
||||
--disable-x \
|
||||
--disable-xshm \
|
||||
--disable-xvideo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ORC),y)
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += orc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA),y)
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-alsa
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-adder
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-adder
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-app
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-app
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-audioconvert
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-audioconvert
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-audiorate
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-audiorate
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-audioresample
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-audioresample
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-audiotestsrc
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-audiotestsrc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-encoding
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-encoding
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-ffmpegcolorspace
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-ffmpegcolorspace
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-gdp
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-gdp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-playback
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-playback
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-subparse
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-subparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-tcp
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-tcp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-typefind
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-typefind
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-videotestsrc
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-videotestsrc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-videorate
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-videorate
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-videoscale
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-videoscale
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-volume
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-volume
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-ogg
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += libogg
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-ogg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-pango
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += pango
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-pango
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-theora
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += libtheora
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-theora
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TREMOR),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-ivorbis
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += tremor
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-ivorbis
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
|
||||
GST_PLUGINS_BASE_CONF_OPT += --enable-vorbis
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-vorbis
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
GST_PLUGINS_BASE_DEPENDENCIES += zlib
|
||||
else
|
||||
GST_PLUGINS_BASE_CONF_OPT += --disable-zlib
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
227
package/gstreamer/gst-plugins-good/Config.in
Normal file
227
package/gstreamer/gst-plugins-good/Config.in
Normal file
@@ -0,0 +1,227 @@
|
||||
menuconfig BR2_PACKAGE_GST_PLUGINS_GOOD
|
||||
bool "gst-plugins-good"
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
help
|
||||
A set of well-supported plug-ins for GStreamer under the preferred
|
||||
license.
|
||||
|
||||
http://gstreamer.freedesktop.org/
|
||||
|
||||
if BR2_PACKAGE_GST_PLUGINS_GOOD
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG
|
||||
bool "jpeg (JPEG support)"
|
||||
select BR2_PACKAGE_JPEG
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PNG
|
||||
bool "png (PNG support)"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2
|
||||
bool "bz2 support"
|
||||
depends on BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
|
||||
select BR2_PACKAGE_BZIP2
|
||||
help
|
||||
Enable bz2 support for the following plugins:
|
||||
matroska
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB
|
||||
bool "zlib support"
|
||||
depends on BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_QTDEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Enable zlib support for the following plugins:
|
||||
id3demux, qtdemux, matroska
|
||||
|
||||
comment "dependency-less plugins"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ALPHA
|
||||
bool "alpha"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_APETAG
|
||||
bool "apetag"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOFX
|
||||
bool "audiofx"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS
|
||||
bool "audioparsers"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUPARSE
|
||||
bool "auparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUTODETECT
|
||||
bool "autodetect"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AVI
|
||||
bool "avi (*.avi video)"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CUTTER
|
||||
bool "cutter"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEBUGUTILS
|
||||
bool "debugutils"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEINTERLACE
|
||||
bool "deinterlace"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EFFECTV
|
||||
bool "effectv"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EQUALIZER
|
||||
bool "equalizer"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLV
|
||||
bool "flv"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLX
|
||||
bool "flx"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM
|
||||
bool "goom"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM2K1
|
||||
bool "goom2k1"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX
|
||||
bool "id3demux (*.mp3 audio)"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ICYDEMUX
|
||||
bool "icydemux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE
|
||||
bool "imagefreeze"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_INTERLEAVE
|
||||
bool "interleave"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ISOMP4
|
||||
bool "isomp4"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LAW
|
||||
bool "law"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LEVEL
|
||||
bool "level"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
|
||||
bool "matroska"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MONOSCOPE
|
||||
bool "monoscope"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIFILE
|
||||
bool "multifile"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIPART
|
||||
bool "multipart"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_REPLAYGAIN
|
||||
bool "replaygain"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTP
|
||||
bool "rtp"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTPMANAGER
|
||||
bool "rtpmanager"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTSP
|
||||
bool "rtsp"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SHAPEWIPE
|
||||
bool "shapewipe"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SMPTE
|
||||
bool "smpte"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPECTRUM
|
||||
bool "spectrum"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_UDP
|
||||
depends on BR2_INET_IPV6
|
||||
bool "udp"
|
||||
|
||||
comment "udp requires a toolchain with IPv6 support"
|
||||
depends on !BR2_INET_IPV6
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOBOX
|
||||
bool "videobox"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOCROP
|
||||
bool "videocrop"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER
|
||||
bool "videofilter"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOMIXER
|
||||
bool "videomixer"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVENC
|
||||
bool "wavenc"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE
|
||||
bool "wavparse (*.wav audio)"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M
|
||||
bool "y4m"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2
|
||||
bool "v4l2"
|
||||
|
||||
comment "plugins with external dependencies"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX
|
||||
bool "annodex (XML Library)"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CAIRO
|
||||
bool "cairo"
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_CAIRO_PNG
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC
|
||||
bool "flac (libFLAC)"
|
||||
select BR2_PACKAGE_FLAC
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GDKPIXBUF
|
||||
bool "gdkpixbuf"
|
||||
depends on BR2_USE_WCHAR # gdk-pixbuf -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> libglib2
|
||||
select BR2_PACKAGE_GDK_PIXBUF
|
||||
|
||||
comment "gdkpixbuf requires a toolchain with WCHAR and threading support"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
|
||||
bool "ossaudio (OSS audio)"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4
|
||||
bool "oss4 (Open Sound System 4)"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
|
||||
depends on BR2_LARGEFILE # pulseaudio -> libsndfile
|
||||
select BR2_PACKAGE_PULSEAUDIO
|
||||
bool "pulseaudio"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
|
||||
bool "souphttpsrc (http client)"
|
||||
depends on BR2_USE_WCHAR # libsoup -> glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libsoup -> glib2
|
||||
select BR2_PACKAGE_LIBSOUP
|
||||
|
||||
comment "souphttpsrc requires a toolchain with WCHAR and threading support"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREAD
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX
|
||||
bool "speex"
|
||||
select BR2_PACKAGE_SPEEX
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPACK
|
||||
bool "wavpack (*.wv audio)"
|
||||
select BR2_PACKAGE_WAVPACK
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,37 @@
|
||||
Fix building with Linux headers 3.6
|
||||
|
||||
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
|
||||
|
||||
From bfb1ac952b4c3caaba0297bbe7dc73ea92f9b292 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Clasen <mclasen@redhat.com>
|
||||
Date: Thu, 09 Aug 2012 07:35:23 +0000
|
||||
Subject: v4l2: fix build with recent kernels, the v4l2_buffer input field was removed
|
||||
|
||||
This was unused apparently and removed in the kernel in commit:
|
||||
|
||||
From 2b719d7baf490e24ce7d817c6337b7c87fda84c1 Mon Sep 17 00:00:00 2001
|
||||
From: Sakari Ailus <sakari.ailus@iki.fi>
|
||||
Date: Wed, 2 May 2012 09:40:03 -0300
|
||||
Subject: [PATCH] [media] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT
|
||||
|
||||
Remove input field in struct v4l2_buffer and flag V4L2_BUF_FLAG_INPUT which
|
||||
tells the former is valid. The flag is used by no driver currently.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=681491
|
||||
---
|
||||
(limited to 'sys/v4l2/gstv4l2bufferpool.c')
|
||||
|
||||
diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
|
||||
index 2e3a563..5aaed5a 100644
|
||||
--- a/sys/v4l2/gstv4l2bufferpool.c
|
||||
+++ b/sys/v4l2/gstv4l2bufferpool.c
|
||||
@@ -182,7 +182,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps)
|
||||
GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u",
|
||||
ret->vbuffer.m.offset);
|
||||
GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length);
|
||||
- GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input);
|
||||
|
||||
ret->mmap_length = ret->vbuffer.length;
|
||||
data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
||||
@@ -0,0 +1,30 @@
|
||||
From 8e633d2059cb835448021cf79becb487aff10975 Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
Date: Mon, 18 Mar 2013 14:59:35 +0000
|
||||
Subject: [PATCH] v4l2: fix compilation against newer kernel headers as on
|
||||
FC19
|
||||
|
||||
---
|
||||
sys/v4l2/v4l2_calls.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
|
||||
index 07d390a..4c10f4f 100644
|
||||
--- a/sys/v4l2/v4l2_calls.c
|
||||
+++ b/sys/v4l2/v4l2_calls.c
|
||||
@@ -291,8 +291,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
|
||||
break;
|
||||
case V4L2_CID_HFLIP:
|
||||
case V4L2_CID_VFLIP:
|
||||
+#ifndef V4L2_CID_PAN_RESET
|
||||
case V4L2_CID_HCENTER:
|
||||
+#endif
|
||||
+#ifndef V4L2_CID_TILT_RESET
|
||||
case V4L2_CID_VCENTER:
|
||||
+#endif
|
||||
#ifdef V4L2_CID_PAN_RESET
|
||||
case V4L2_CID_PAN_RESET:
|
||||
#endif
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
393
package/gstreamer/gst-plugins-good/gst-plugins-good.mk
Normal file
393
package/gstreamer/gst-plugins-good/gst-plugins-good.mk
Normal file
@@ -0,0 +1,393 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-plugins-good
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_PLUGINS_GOOD_VERSION = 0.10.31
|
||||
GST_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST_PLUGINS_GOOD_VERSION).tar.bz2
|
||||
GST_PLUGINS_GOOD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-good
|
||||
|
||||
GST_PLUGINS_GOOD_CONF_OPT = \
|
||||
--disable-debug \
|
||||
--disable-examples \
|
||||
--disable-directsound \
|
||||
--disable-sunaudio \
|
||||
--disable-osx_audio \
|
||||
--disable-osx_video \
|
||||
--disable-aalib \
|
||||
--disable-aalibtest \
|
||||
--disable-esd \
|
||||
--disable-esdtest \
|
||||
--disable-shout2
|
||||
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES = gstreamer gst-plugins-base
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
|
||||
GST_PLUGINS_GOOD_CONF_OPT += \
|
||||
--enable-x \
|
||||
--enable-xshm \
|
||||
--enable-xvideo
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += \
|
||||
--disable-x \
|
||||
--disable-xshm \
|
||||
--disable-xvideo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-jpeg
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += jpeg
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-jpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PNG),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-libpng
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += libpng
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-libpng
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-bz2
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += bzip2
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-bz2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-zlib
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += zlib
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ALPHA),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-alpha
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-alpha
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_APETAG),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-apetag
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-apetag
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOFX),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-audiofx
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-audiofx
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-audioparsers
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-audioparsers
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUPARSE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-auparse
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-auparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUTODETECT),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-autodetect
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-autodetect
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AVI),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-avi
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-avi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CUTTER),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-cutter
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-cutter
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-debugutils
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-debugutils
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-deinterlace
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-deinterlace
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EFFECTV),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-effectv
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-effectv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EQUALIZER),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-equalizer
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-equalizer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLV),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-flv
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-flv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLX),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-flx
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-flx
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-goom
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-goom
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM2K1),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-goom2k1
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-goom2k1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-id3demux
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-id3demux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-icydemux
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-icydemux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-imagefreeze
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-imagefreeze
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-interleave
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-interleave
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ISOMP4),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-isomp4
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-isomp4
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LAW),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-law
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-law
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LEVEL),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-level
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-level
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-matroska
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-matroska
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-monoscope
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-monoscope
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIFILE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-multifile
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-multifile
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIPART),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-multipart
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-multipart
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-replaygain
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-replaygain
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTP),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-rtp
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-rtp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-rtpmanager
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-rtpmanager
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTSP),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-rtsp
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-rtsp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-shapewipe
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-shapewipe
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SMPTE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-smpte
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-smpte
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPECTRUM),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-spectrum
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-spectrum
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_UDP),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-udp
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-udp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-videobox
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-videobox
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-videocrop
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-videocrop
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-videofilter
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-videofilter
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-videomixer
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-videomixer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVENC),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-wavenc
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-wavenc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-wavparse
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-wavparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-y4m
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-y4m
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-gst_v4l2
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-gst_v4l2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-annodex
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += libxml2
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-annodex
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CAIRO),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-cairo
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += cairo
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-cairo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-flac
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += flac
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-flac
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-gdk_pixbuf
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-gdk_pixbuf
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-oss
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-oss
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-oss4
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-oss4
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-pulse
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += pulseaudio
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-pulse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-soup
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += libsoup
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-soup
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-speex
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += speex
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-speex
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPACK),y)
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --enable-wavpack
|
||||
GST_PLUGINS_GOOD_DEPENDENCIES += wavpack
|
||||
else
|
||||
GST_PLUGINS_GOOD_CONF_OPT += --disable-wavpack
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
54
package/gstreamer/gst-plugins-ugly/Config.in
Normal file
54
package/gstreamer/gst-plugins-ugly/Config.in
Normal file
@@ -0,0 +1,54 @@
|
||||
menuconfig BR2_PACKAGE_GST_PLUGINS_UGLY
|
||||
bool "gst-plugins-ugly"
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
help
|
||||
A set of well-supported plug-ins for GStreamer, but might pose
|
||||
problems for distributors.
|
||||
|
||||
http://gstreamer.freedesktop.org/
|
||||
|
||||
if BR2_PACKAGE_GST_PLUGINS_UGLY
|
||||
|
||||
comment "dependency-less plugins"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_ASFDEMUX
|
||||
bool "asfdemux"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC
|
||||
bool "dvdlpcmdec"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_DVDSUB
|
||||
bool "dvdsub"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_IEC958
|
||||
bool "iec958"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEGAUDIOPARSE
|
||||
bool "mpegaudioparse"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEGSTREAM
|
||||
bool "mpegstream"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_REALMEDIA
|
||||
bool "realmedia"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_SYNAESTHESIA
|
||||
bool "synaesthesia"
|
||||
|
||||
comment "plugins with external dependencies (there may be more available)"
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_LAME
|
||||
bool "lame (*.mp3 audio encoder)"
|
||||
select BR2_PACKAGE_LAME
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD
|
||||
bool "mad (*.mp3 audio)"
|
||||
select BR2_PACKAGE_LIBID3TAG
|
||||
select BR2_PACKAGE_LIBMAD
|
||||
|
||||
config BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEG2DEC
|
||||
bool "mpeg2dec"
|
||||
select BR2_PACKAGE_LIBMPEG2
|
||||
|
||||
endif
|
||||
85
package/gstreamer/gst-plugins-ugly/gst-plugins-ugly.mk
Normal file
85
package/gstreamer/gst-plugins-ugly/gst-plugins-ugly.mk
Normal file
@@ -0,0 +1,85 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst-plugins-ugly
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST_PLUGINS_UGLY_VERSION = 0.10.19
|
||||
GST_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST_PLUGINS_UGLY_VERSION).tar.bz2
|
||||
GST_PLUGINS_UGLY_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-ugly
|
||||
|
||||
GST_PLUGINS_UGLY_CONF_OPT = \
|
||||
--disable-examples
|
||||
|
||||
GST_PLUGINS_UGLY_DEPENDENCIES = gstreamer gst-plugins-base
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-asfdemux
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-asfdemux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-dvdlpcmdec
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-dvdlpcmdec
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_DVDSUB),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-dvdsub
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-dvdsub
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_IEC958),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-iec958
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-iec958
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEGAUDIOPARSE),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-mpegaudioparse
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-mpegaudioparse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEGSTREAM),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-mpegstream
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-mpegstream
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_REALMEDIA),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-realmedia
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-realmedia
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_SYNAESTHESIA),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-synaesthesia
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-synaesthesia
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_LAME),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-lame
|
||||
GST_PLUGINS_UGLY_DEPENDENCIES += lame
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-lame
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-mad
|
||||
GST_PLUGINS_UGLY_DEPENDENCIES += libid3tag libmad
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-mad
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --enable-mpeg2dec
|
||||
GST_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
|
||||
else
|
||||
GST_PLUGINS_UGLY_CONF_OPT += --disable-mpeg2dec
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
1
package/gstreamer/gstreamer.mk
Normal file
1
package/gstreamer/gstreamer.mk
Normal file
@@ -0,0 +1 @@
|
||||
include package/gstreamer/*/*.mk
|
||||
32
package/gstreamer/gstreamer/Config.in
Normal file
32
package/gstreamer/gstreamer/Config.in
Normal file
@@ -0,0 +1,32 @@
|
||||
config BR2_PACKAGE_GSTREAMER
|
||||
bool "gstreamer"
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
GStreamer is an open source multimedia framework.
|
||||
|
||||
This 0.10.x version of GStreamer is incompatible with
|
||||
GStreamer 1.X.
|
||||
|
||||
http://gstreamer.freedesktop.org/
|
||||
|
||||
config BR2_PACKAGE_GSTREAMER_GST_DEBUG
|
||||
bool "enable gst-debug trace support"
|
||||
default y
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
help
|
||||
Enable support for the gst-debug tracing functionality in gstreamer.
|
||||
This has limited CPU overhead, but does increase the rootfs size
|
||||
somewhat.
|
||||
|
||||
config BR2_PACKAGE_GSTREAMER_PLUGIN_REGISTRY
|
||||
bool "enable plugin registry"
|
||||
default y
|
||||
depends on BR2_PACKAGE_GSTREAMER
|
||||
help
|
||||
Enable support for the GStreamer plugin registry. This may increase
|
||||
the launch-time for a GStreamer application.
|
||||
|
||||
comment "gstreamer requires a toolchain with WCHAR and threads support"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
32
package/gstreamer/gstreamer/gstreamer.mk
Normal file
32
package/gstreamer/gstreamer/gstreamer.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# gstreamer
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GSTREAMER_VERSION = 0.10.36
|
||||
GSTREAMER_SOURCE = gstreamer-$(GSTREAMER_VERSION).tar.bz2
|
||||
GSTREAMER_SITE = http://gstreamer.freedesktop.org/src/gstreamer
|
||||
GSTREAMER_INSTALL_STAGING = YES
|
||||
|
||||
# Checking if unaligned memory access works correctly cannot be done when cross
|
||||
# compiling. For the following architectures there is no information available
|
||||
# in the configure script.
|
||||
ifeq ($(BR2_avr32),y)
|
||||
GSTREAMER_CONF_ENV = as_cv_unaligned_access=no
|
||||
endif
|
||||
ifeq ($(BR2_aarch64),y)
|
||||
GSTREAMER_CONF_ENV = as_cv_unaligned_access=yes
|
||||
endif
|
||||
|
||||
GSTREAMER_CONF_OPT = \
|
||||
--disable-examples \
|
||||
--disable-tests \
|
||||
--disable-failing-tests \
|
||||
--disable-loadsave \
|
||||
$(if $(BR2_PACKAGE_GSTREAMER_GST_DEBUG),,--disable-gst-debug) \
|
||||
$(if $(BR2_PACKAGE_GSTREAMER_PLUGIN_REGISTRY),,--disable-registry)
|
||||
|
||||
GSTREAMER_DEPENDENCIES = libglib2 host-pkgconf host-bison host-flex
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user