Add Chromium-only Blender WebEngine parity work
This commit is contained in:
17
blender-5.2.0/release/freedesktop/snap/README.md
Normal file
17
blender-5.2.0/release/freedesktop/snap/README.md
Normal 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
|
||||
```
|
||||
@@ -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
|
||||
21
blender-5.2.0/release/freedesktop/snap/blender-wrapper
Executable file
21
blender-5.2.0/release/freedesktop/snap/blender-wrapper
Executable 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 "$@"
|
||||
Reference in New Issue
Block a user