blender/release/freedesktop/snap/blender-snapcraft-template.yaml
Brecht Van Lommel 45f7e2b6ba Fix Snap package error on startup in older Linux version
With the new glibc requirement, the core version needs to be increased.
2023-04-03 17:32:35 +02:00

50 lines
1.3 KiB
YAML

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
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