concat-git: build with skia, wgpu feature is gone

This commit is contained in:
Felitendo committed 2026-09-27 15:54:43 +02:00
1 parent d22f987b20
commit 9d9a350947
2 files changed
+13 -17

No files matched your search

+6 -11
View File
@@ -70,20 +70,15 @@ build() {
# for kernels nobody measured. Off, it compiles to the portable baseline. # for kernels nobody measured. Off, it compiles to the portable baseline.
export GGML_NATIVE=OFF export GGML_NATIVE=OFF
# --features wgpu: FemtoVG over wgpu instead of the default Skia renderer.
# skia-bindings downloads prebuilt binaries from its build script, which a
# package cannot do; the wgpu renderer is pure Rust. This is the same
# choice, for the same reason, that upstream's flake.nix makes.
#
# --profile app: upstream's shipping profile - fat LTO, panic=abort, # --profile app: upstream's shipping profile - fat LTO, panic=abort,
# stripped. See src/Cargo.toml for what each knob is for. # stripped. See src/Cargo.toml for what each knob is for.
# #
# sherpa-onnx-sys, the text-to-speech backend, ships no C++ build: its build # Two build scripts download prebuilt static libraries from their own
# script downloads a prebuilt static-lib archive from its own release page. # release pages: sherpa-onnx-sys (text to speech) and skia-bindings (Skia,
# concat pins that archive as a checksummed source; here the version moves # the window's renderer; main dropped the FemtoVG-over-wgpu option after
# with main, so the build script fetches it - build() needs the network. # 0.2.4). Their versions move with main, so they are not pinned as sources
cargo build --profile app -p concat --frozen \ # here, and build() needs the network.
--no-default-features --features wgpu cargo build --profile app -p concat --frozen
} }
package() { package() {
+7 -6
View File
@@ -1,12 +1,13 @@
# concat-git - Concat (https://github.com/jub0t/Concat) built from the main # concat-git - Concat (https://github.com/jub0t/Concat) built from the main
# branch. Same build as concat, see that package for why the editor needs # branch. Same build as concat, see that package for why the editor needs
# cargo, cmake and clang and nothing else, and why the FemtoVG-over-wgpu # cargo, cmake and clang.
# renderer is the one a distribution package can build.
# #
# The one difference: concat pins the prebuilt sherpa-onnx static-lib archive # The differences: main dropped the FemtoVG-over-wgpu renderer after 0.2.4,
# as a checksummed source, which it can because the version comes from a # so this builds upstream's default, Skia. And concat pins the prebuilt
# tagged Cargo.lock. Here it moves with main, so sherpa-onnx-sys' build # sherpa-onnx static-lib archive as a checksummed source, which it can
# script downloads it and build() needs the network. # because the version comes from a tagged Cargo.lock. Here the versions move
# with main, so the build scripts of sherpa-onnx-sys and skia-bindings
# download their archives and build() needs the network.
# #
# VCS packages are not version-tracked here on purpose. The AUR copy of a -git # VCS packages are not version-tracked here on purpose. The AUR copy of a -git
# PKGBUILD carries only a snapshot of pkgver; the real version comes from # PKGBUILD carries only a snapshot of pkgver; the real version comes from