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,43 @@
From 466d04a57b32417dbf2d5e818af1b7593af5f802 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 3 May 2020 10:29:36 +0200
Subject: [PATCH] meson: add tests option
Add tests option to allow the user to build at-spi2-atk without tests,
it is especially useful as one of the test requires libxml-2.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status:
https://gitlab.gnome.org/GNOME/at-spi2-atk/-/merge_requests/22]
---
meson.build | 4 +++-
meson_options.txt | 4 ++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 9fce5d6..61bc93d 100644
--- a/meson.build
+++ b/meson.build
@@ -61,4 +61,6 @@ install_data('at-spi2-atk.desktop',
subdir('droute')
subdir('atk-adaptor')
-subdir('tests')
+if get_option('tests')
+ subdir('tests')
+endif
diff --git a/meson_options.txt b/meson_options.txt
index 24c9228..a4abdc2 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,3 +2,7 @@ option('disable_p2p',
description: 'Disable peer-to-peer DBus connections',
type: 'boolean',
value: false)
+option('tests',
+ description: 'Whether to build tests',
+ type: 'boolean',
+ value: true)
--
2.26.2
+22
View File
@@ -0,0 +1,22 @@
config BR2_PACKAGE_AT_SPI2_ATK
bool "at-spi2-atk"
depends on BR2_PACKAGE_XORG7 # at-spi2-core
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
depends on BR2_USE_WCHAR # glib2
select BR2_PACKAGE_ATK
select BR2_PACKAGE_AT_SPI2_CORE
select BR2_PACKAGE_LIBGLIB2
help
The At-Spi2 Atk package contains a library that bridges
ATK to At-Spi2 D-Bus service.
https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/
comment "at-spi2-atk needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
comment "at-spi2-atk depends on X.org"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_XORG7
+5
View File
@@ -0,0 +1,5 @@
# From http://ftp.acc.umu.se/pub/gnome/sources/at-spi2-atk/2.34/at-spi2-atk-2.34.2.sha256sum
sha256 901323cee0eef05c01ec4dee06c701aeeca81a314a7d60216fa363005e27f4f0 at-spi2-atk-2.34.2.tar.xz
# locally calculated
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
+19
View File
@@ -0,0 +1,19 @@
################################################################################
#
# at-spi2-atk
#
################################################################################
AT_SPI2_ATK_VERSION_MAJOR = 2.34
AT_SPI2_ATK_VERSION = $(AT_SPI2_ATK_VERSION_MAJOR).2
AT_SPI2_ATK_SOURCE = at-spi2-atk-$(AT_SPI2_ATK_VERSION).tar.xz
AT_SPI2_ATK_SITE = \
http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/$(AT_SPI2_ATK_VERSION_MAJOR)
AT_SPI2_ATK_LICENSE = LGPL-2.1+
AT_SPI2_ATK_LICENSE_FILES = COPYING
AT_SPI2_ATK_CPE_ID_VENDOR = gnome
AT_SPI2_ATK_INSTALL_STAGING = YES
AT_SPI2_ATK_DEPENDENCIES = atk at-spi2-core libglib2 host-pkgconf
AT_SPI2_ATK_CONF_OPTS = -Dtests=false
$(eval $(meson-package))