initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
@@ -0,0 +1,36 @@
From 1923c97fbd0b3d8cacdb72386886f860c818bccf Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Wed, 10 Nov 2021 08:54:06 -0700
Subject: [PATCH] meson: remove session-managers option check.
This option no longer exists and causes a build failure if building
with the systemd system service enabled.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Upstream status:
https://gitlab.freedesktop.org/pipewire/media-session/-/merge_requests/24]
---
systemd/system/meson.build | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/systemd/system/meson.build b/systemd/system/meson.build
index ab0d49064..0e9885b0f 100644
--- a/systemd/system/meson.build
+++ b/systemd/system/meson.build
@@ -4,9 +4,7 @@ systemd_system_services_dir = systemd.get_variable(pkgconfig: 'systemdsystemunit
systemd_config = configuration_data()
systemd_config.set('PW_MEDIA_SESSION_BINARY', media_session_bindir / 'pipewire-media-session')
-if get_option('session-managers').contains('media-session')
- configure_file(input : 'pipewire-media-session.service.in',
- output : 'pipewire-media-session.service',
- configuration : systemd_config,
- install_dir : systemd_system_services_dir)
-endif
+configure_file(input : 'pipewire-media-session.service.in',
+ output : 'pipewire-media-session.service',
+ configuration : systemd_config,
+ install_dir : systemd_system_services_dir)
--
2.25.1
+10
View File
@@ -0,0 +1,10 @@
config BR2_PACKAGE_PIPEWIRE_MEDIA_SESSION
bool "pipewire media-session"
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, dbus
depends on BR2_USE_MMU # dbus
depends on BR2_PACKAGE_PIPEWIRE
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_ALSA_LIB_UCM
select BR2_PACKAGE_DBUS
help
Build pipewire media-session support
@@ -0,0 +1,4 @@
# Locally calculated
sha256 ebdf9f8e389896fdc4b58da5f909afce18441b4b53d5b4f2104dd53586ea8681 media-session-0.4.1.tar.bz2
sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING
sha256 77b9c867237ef919e33c0fdbcf22ab84b1cf24a63f9431ec68759026b658c994 LICENSE
@@ -0,0 +1,49 @@
################################################################################
#
# pipewire-media-session
#
################################################################################
PIPEWIRE_MEDIA_SESSION_VERSION = 0.4.1
PIPEWIRE_MEDIA_SESSION_SOURCE = media-session-$(PIPEWIRE_MEDIA_SESSION_VERSION).tar.bz2
PIPEWIRE_MEDIA_SESSION_SITE = https://gitlab.freedesktop.org/pipewire/media-session/-/archive/$(PIPEWIRE_MEDIA_SESSION_VERSION)
PIPEWIRE_MEDIA_SESSION_LICENSE = MIT
PIPEWIRE_MEDIA_SESSION_LICENSE_FILES = COPYING LICENSE
PIPEWIRE_MEDIA_SESSION_INSTALL_STAGING = YES
PIPEWIRE_MEDIA_SESSION_DEPENDENCIES = \
host-pkgconf \
alsa-lib \
dbus \
pipewire \
$(TARGET_NLS_DEPENDENCIES)
PIPEWIRE_MEDIA_SESSION_CONF_OPTS = -Ddocs=disabled -Dtests=disabled
PIPEWIRE_MEDIA_SESSION_MODULE_SETS_LIST = alsa
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
PIPEWIRE_MEDIA_SESSION_DEPENDENCIES += systemd
PIPEWIRE_MEDIA_SESSION_CONF_OPTS += \
-Dsystemd=enabled \
-Dsystemd-system-service=enabled \
-Dsystemd-user-service=enabled
else
PIPEWIRE_MEDIA_SESSION_CONF_OPTS += \
-Dsystemd=disabled \
-Dsystemd-system-service=disabled \
-Dsystemd-user-service=disabled
endif
ifeq ($(BR2_PACKAGE_JACK2),y)
PIPEWIRE_MEDIA_SESSION_DEPENDENCIES += jack2
PIPEWIRE_MEDIA_SESSION_MODULE_SETS_LIST += jack
endif
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
PIPEWIRE_MEDIA_SESSION_DEPENDENCIES += pulseaudio
PIPEWIRE_MEDIA_SESSION_MODULE_SETS_LIST += pulseaudio
endif
PIPEWIRE_MEDIA_SESSION_CONF_OPTS += -Dwith-module-sets='$(subst $(space),$(comma),$(PIPEWIRE_MEDIA_SESSION_MODULE_SETS_LIST))'
$(eval $(meson-package))