mirror of
https://github.com/KDE/kde-linux.git
synced 2026-08-01 01:37:17 -04:00
This is a first step towards the adoption of BuildStream as a technology to produce the binaries needed for KDE Linux.
77 lines
1.7 KiB
Plaintext
77 lines
1.7 KiB
Plaintext
# SPDX-FileCopyrightText: 2025 Aleix Pol Gonzalez <aleix.pol@codethink.co.uk>
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
# Unique project name
|
|
name: kde-linux
|
|
|
|
# Required BuildStream version
|
|
min-version: 2.5
|
|
|
|
# Subdirectory where elements are stored
|
|
element-path: elements
|
|
|
|
(@):
|
|
- kde-linux-packages.bst:freedesktop-sdk.bst:include/runtime.yml
|
|
- kde-linux-packages.bst:freedesktop-sdk.bst:include/arch.yml
|
|
- include/aliases.yml
|
|
|
|
# Options to specify for the project, these provide
|
|
# command line switches which control the behavior of
|
|
# conditional directives in the element.bst files.
|
|
#
|
|
options:
|
|
arch:
|
|
type: arch
|
|
description: Machine architecture
|
|
variable: arch
|
|
values:
|
|
- aarch64
|
|
- x86_64
|
|
- riscv64
|
|
minimal_vm:
|
|
type: flags
|
|
description: Parts to include in minimal vm builds (firmware, locale).
|
|
values:
|
|
- firmware
|
|
- locale
|
|
default:
|
|
- firmware
|
|
- locale
|
|
|
|
sandbox:
|
|
build-arch: '%{arch}'
|
|
|
|
variables:
|
|
branch: 'qt6.11'
|
|
fsdk-branch: master
|
|
runstatedir: "/run"
|
|
|
|
environment:
|
|
# These need getting set so that projects can run tools and not get weird warnings.
|
|
# trigger to adding this was qca's usage of qmake -query (which in turn comes from Qt upstream)
|
|
LANG: C.UTF-8
|
|
LC_ALL: C.UTF-8
|
|
|
|
plugins:
|
|
- origin: junction
|
|
junction: plugins/buildstream-plugins-community.bst
|
|
sources:
|
|
- git_repo
|
|
|
|
- origin: junction
|
|
junction: kde-linux-packages.bst:kde-buildstream.bst:freedesktop-sdk.bst
|
|
elements:
|
|
- collect_initial_scripts
|
|
- uki_builder
|
|
|
|
sources:
|
|
git_repo:
|
|
config:
|
|
ref-format: git-describe
|
|
|
|
artifacts:
|
|
- url: https://buildstream.cache.kde-linux.haraldsitter.eu:11001
|
|
|
|
source-caches:
|
|
- url: https://buildstream.cache.kde-linux.haraldsitter.eu:11001
|