initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
From 0c0b5f8cef3b1f0a06f56c34340e210e0f23d1b0 Mon Sep 17 00:00:00 2001
|
||||
From: Dominique Leuenberger <dimstar@opensuse.org>
|
||||
Date: Tue, 13 Jul 2021 10:32:30 +0000
|
||||
Subject: [PATCH] Fix build against glib 2.68
|
||||
|
||||
volatile has been misused in the past
|
||||
|
||||
[Retrieved from:
|
||||
https://gitlab.gnome.org/GNOME/gstreamermm/-/merge_requests/4]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
gstreamer/gstreamermm/register.h | 2 +-
|
||||
tests/integration/test-integration-seekonstartup.cc | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gstreamer/gstreamermm/register.h b/gstreamer/gstreamermm/register.h
|
||||
index db66d172..a7ab3a63 100644
|
||||
--- a/gstreamer/gstreamermm/register.h
|
||||
+++ b/gstreamer/gstreamermm/register.h
|
||||
@@ -110,7 +110,7 @@ register_mm_type(const gchar * type_name)
|
||||
/* The typedef for GType may be gulong or gsize, depending on the
|
||||
* system and whether the compiler is c++ or not. The g_once_init_*
|
||||
* functions always take a gsize * though ... */
|
||||
- static volatile gsize gonce_data = 0;
|
||||
+ static gsize gonce_data = 0;
|
||||
if (g_once_init_enter (&gonce_data)) {
|
||||
GTypeInfo info;
|
||||
|
||||
diff --git a/tests/integration/test-integration-seekonstartup.cc b/tests/integration/test-integration-seekonstartup.cc
|
||||
index 247ac499..cd43a125 100644
|
||||
--- a/tests/integration/test-integration-seekonstartup.cc
|
||||
+++ b/tests/integration/test-integration-seekonstartup.cc
|
||||
@@ -18,7 +18,7 @@ RefPtr<Glib::MainLoop> mainloop;
|
||||
RefPtr<Bus> bus;
|
||||
RefPtr<Pipeline> pipeline;
|
||||
RefPtr<Pad> sink_pad;
|
||||
-static volatile gint counter;
|
||||
+static gint counter;
|
||||
bool prerolled = false;
|
||||
gboolean was_check = 0;
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
config BR2_PACKAGE_GSTREAMER1_MM
|
||||
bool "gstreamer1-mm"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm
|
||||
depends on BR2_INSTALL_LIBSTDCPP # glibmm
|
||||
depends on BR2_USE_WCHAR # glibmm -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # glibmm -> libglib2
|
||||
select BR2_PACKAGE_GLIBMM
|
||||
select BR2_PACKAGE_GSTREAMER1_CHECK
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
help
|
||||
gstreamermm provides C++ bindings for the GStreamer streaming
|
||||
multimedia library (http://gstreamer.freedesktop.org). With
|
||||
gstreamermm it is possible to develop applications that work
|
||||
with multimedia in C++.
|
||||
|
||||
gstreamermm is developed over glibmm, libsigc++ and libxml++
|
||||
and the functionalities they provide. This means that, among
|
||||
other things, referencing and unreferencing of GObjects is
|
||||
handled automatically via glibmm's automatic pointer class,
|
||||
Glib::RefPtr, and libsigc++'s slots are used for callbacks and
|
||||
signals.
|
||||
|
||||
https://gstreamer.freedesktop.org/bindings/cplusplus.html
|
||||
|
||||
comment "gstreamer1-mm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
|
||||
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,6 @@
|
||||
# From http://ftp.gnome.org/pub/gnome/sources/gstreamermm/1.10/gstreamermm-1.10.0.sha256sum
|
||||
sha256 be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60 gstreamermm-1.10.0.tar.xz
|
||||
|
||||
# Locally computed
|
||||
sha256 7c78a8d7fc6781d51402d5a6036bedda9cffb0e5d28757e25d54d6eacbb1949f COPYING
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.examples
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# gstreamer1-mm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GSTREAMER1_MM_VERSION_MAJOR = 1.10
|
||||
GSTREAMER1_MM_VERSION = $(GSTREAMER1_MM_VERSION_MAJOR).0
|
||||
GSTREAMER1_MM_SITE = http://ftp.gnome.org/pub/gnome/sources/gstreamermm/$(GSTREAMER1_MM_VERSION_MAJOR)
|
||||
GSTREAMER1_MM_SOURCE = gstreamermm-$(GSTREAMER1_MM_VERSION).tar.xz
|
||||
GSTREAMER1_MM_LICENSE = LGPL-2.1+ (library), GPL-2.0 (examples)
|
||||
GSTREAMER1_MM_LICENSE_FILES = COPYING COPYING.examples
|
||||
GSTREAMER1_MM_INSTALL_STAGING = YES
|
||||
GSTREAMER1_MM_DEPENDENCIES += \
|
||||
glibmm \
|
||||
gstreamer1 \
|
||||
gst1-plugins-base
|
||||
|
||||
GSTREAMER1_MM_CONF_OPTS += \
|
||||
--disable-gl \
|
||||
--enable-unittests=no \
|
||||
--disable-deprecated-api
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user