Add Chromium-only Blender WebEngine parity work

This commit is contained in:
mes123456
2026-08-12 04:47:48 -04:00
commit 9fd26010f6
18225 changed files with 11622124 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
Snap Configuration
===================
Files used by Buildbot's `package-code-store-snap` and `deliver-code-store-snap` steps.
Build pipeline snap tracks and channels
```
<track>/stable
- Latest stable release for the specified track
<track>/candidate
- Test builds for the upcoming stable release - *not used for now*
<track>/beta
- Nightly automated builds provided by a release branch
<track>/edge/<branch>
- Nightly or on demand builds - will also make use of branch
```

View File

@@ -0,0 +1,50 @@
name: blender
summary: Blender is the free and open source 3D creation suite.
description: |
Blender is the free and open source 3D creation suite. It supports the
entirety of the 3D pipeline—modeling, rigging, animation, simulation,
rendering, compositing and motion tracking, and video editing.
Blender is a public project, made by hundreds of people from around the
world; by studios and individual artists, professionals and hobbyists,
scientists, students, VFX experts, animators, game artists, modders, and
the list goes on.
icon: @ICON_PATH@
passthrough:
license: GPL-3.0
confinement: classic
apps:
blender:
command: ./blender-wrapper
desktop: ./blender.desktop
common-id: org.blender.Blender
base: core20
version: '@VERSION@'
grade: @GRADE@
parts:
blender:
plugin: dump
source: @PACKAGE_PATH@
build-attributes: [keep-execstack, no-patchelf]
override-build: |
snapcraftctl build
sed -i 's|Icon=blender|Icon=${SNAP}/blender.svg|' ${SNAPCRAFT_PART_INSTALL}/blender.desktop
stage-packages:
- libxcb1
- libxext6
- libx11-6
- libxi6
- libxfixes3
- libxrender1
- libxxf86vm1
wrapper:
plugin: dump
source: .
stage:
- ./blender-wrapper

View File

@@ -0,0 +1,21 @@
#!/bin/sh
# Disable ALSA and OSS as they are not available, and trying to initialize them
# breaks sound in other apps. Use PulseAudio instead.
export ALSOFT_DRIVERS=-oss,-alsa,
export SDL_AUDIODRIVER=pulseaudio
# Make PulseAudio socket available inside the snap-specific $XDG_RUNTIME_DIR
# This is adapted from https://github.com/ubuntu/snapcraft-desktop-helpers,
# in common/desktop-exports.
mkdir -p $XDG_RUNTIME_DIR -m 700
if [ -n "$XDG_RUNTIME_DIR" ]; then
pulsenative="pulse/native"
pulseaudio_sockpath="$XDG_RUNTIME_DIR/../$pulsenative"
if [ -S "$pulseaudio_sockpath" ]; then
export PULSE_SERVER="unix:${pulseaudio_sockpath}"
fi
fi
# Run Blender
exec $SNAP/blender-launcher "$@"