forked from LibreSprite/LibreSprite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.snapcraft.yaml
40 lines (37 loc) · 1.1 KB
/
.snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: libresprite
version: '1.0+git' # just for humans, typically '1.2+git' or '1.3.2'
summary: Animated sprite editor & pixel art tool
description: |
LibreSprite is a free and open source program to create animated sprites.
It is a fork of the last GPLv2 commit of Aseprite.
icon: prime/share/aseprite/data/icons/ase48.png
grade: stable
confinement: strict
apps:
libresprite:
command: bin/aseprite
desktop: src/desktop/libresprite.desktop
plugs:
- home
- unity7
- x11
parts:
libresprite:
source: https://github.com/LibreSprite/LibreSprite.git
plugin: cmake
build-packages:
- build-essential
- libx11-dev
- libxcursor-dev
- ninja-build
stage-packages:
- libx11-6
- libxrender1
- libxfixes3
- libxcursor1
override-stage: |
snapcraftctl stage
# Copy the .desktop over.
mkdir -p "${SNAPCRAFT_PRIME}/src/desktop/"
cp "${SNAPCRAFT_PART_SRC}/desktop/libresprite.desktop" "${SNAPCRAFT_PRIME}/src/desktop/"
sed -i 's|Icon=libresprite|Icon=icon|' "${SNAPCRAFT_PRIME}/src/desktop/libresprite.desktop"