Move buildroot to bsp directory.
This commit is contained in:
24
bsp/buildroot/package/gstreamer/gstreamer/0001-bison3.patch
Normal file
24
bsp/buildroot/package/gstreamer/gstreamer/0001-bison3.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
Fix deprecation from bison 3.0+
|
||||
From http://comments.gmane.org/gmane.linux.lfs.beyond.devel/24620
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura gstreamer-0.10.36.orig/gst/parse/grammar.y gstreamer-0.10.36/gst/parse/grammar.y
|
||||
--- gstreamer-0.10.36.orig/gst/parse/grammar.y 2013-10-04 09:52:21.685282055 -0300
|
||||
+++ gstreamer-0.10.36/gst/parse/grammar.y 2013-10-04 10:21:54.800211238 -0300
|
||||
@@ -26,7 +26,6 @@
|
||||
*/
|
||||
|
||||
#define YYERROR_VERBOSE 1
|
||||
-#define YYLEX_PARAM scanner
|
||||
|
||||
#define YYENABLE_NLS 0
|
||||
|
||||
@@ -648,6 +647,7 @@
|
||||
%right '.'
|
||||
%left '!' '='
|
||||
|
||||
+%lex-param { void *scanner }
|
||||
%parse-param { void *scanner }
|
||||
%parse-param { graph_t *graph }
|
||||
%pure-parser
|
||||
36
bsp/buildroot/package/gstreamer/gstreamer/Config.in
Normal file
36
bsp/buildroot/package/gstreamer/gstreamer/Config.in
Normal file
@@ -0,0 +1,36 @@
|
||||
comment "gstreamer 0.10 needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_GSTREAMER
|
||||
bool "gstreamer 0.10"
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # 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/
|
||||
|
||||
if BR2_PACKAGE_GSTREAMER
|
||||
|
||||
config BR2_PACKAGE_GSTREAMER_GST_DEBUG
|
||||
bool "enable gst-debug trace support"
|
||||
default y
|
||||
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
|
||||
help
|
||||
Enable support for the GStreamer plugin registry. This may increase
|
||||
the launch-time for a GStreamer application.
|
||||
|
||||
endif
|
||||
2
bsp/buildroot/package/gstreamer/gstreamer/gstreamer.hash
Normal file
2
bsp/buildroot/package/gstreamer/gstreamer/gstreamer.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.36.tar.xz.md5
|
||||
md5 15389c73e091b1dda915279c388b9cb2 gstreamer-0.10.36.tar.xz
|
||||
36
bsp/buildroot/package/gstreamer/gstreamer/gstreamer.mk
Normal file
36
bsp/buildroot/package/gstreamer/gstreamer/gstreamer.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# gstreamer
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GSTREAMER_VERSION = 0.10.36
|
||||
GSTREAMER_SOURCE = gstreamer-$(GSTREAMER_VERSION).tar.xz
|
||||
GSTREAMER_SITE = http://gstreamer.freedesktop.org/src/gstreamer
|
||||
GSTREAMER_INSTALL_STAGING = YES
|
||||
# COPYING is in fact v2, but most of the code is v2.1+
|
||||
GSTREAMER_LICENSE = LGPLv2.1+
|
||||
GSTREAMER_LICENSE_FILES = COPYING
|
||||
|
||||
# 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_arc)$(BR2_xtensa)$(BR2_microblaze)$(BR2_nios2),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_OPTS = \
|
||||
--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 \
|
||||
$(if $(BR2_PACKAGE_LIBXML2),libxml2)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user