blender/release/freedesktop/snap/blender-snapcraft-template.yaml
Brecht Van Lommel 633dbe0292 Snap: Add appstream common-id
This makes it easier to query Blender through the snapcraft API.

Fix #123473
2024-06-20 13:59:57 +02:00

50 lines
1.4 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
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