-
Notifications
You must be signed in to change notification settings - Fork 17
/
snapcraft.yaml
90 lines (85 loc) · 2.17 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: dspatcher
version: "1.0"
summary: Cross-Platform Graphical Tool for DSPatch
description: http://flowbasedprogramming.com
grade: devel
confinement: strict
base: core18
apps:
dspatcher:
command: desktop-launch DSPatcher
environment:
DSPATCH_PLUGINS: $SNAP/lib/dspatch/components
DSPATCH_USER_PLUGINS: $SNAP_USER_COMMON
WAVEREADER_FILE: $SNAP_USER_COMMON/Sample.wav
plugs:
- alsa
- home
- unity7
- x11
parts:
desktop-qt5:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: qt
plugin: make
make-parameters: ["FLAVOR=qt5"]
build-packages:
- build-essential
- qtbase5-dev
- dpkg-dev
stage-packages:
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- adwaita-icon-theme
- gnome-themes-standard
- shared-mime-info
- libqt5gui5
- libgdk-pixbuf2.0-0
- libqt5svg5 # for loading icon themes which are svg
- try: [appmenu-qt5] # not available on core18
- locales-all
- xdg-user-dirs
- fcitx-frontend-qt5
alsa-lib:
source: https://mirrorservice.org/sites/ftp.alsa-project.org/pub/lib/alsa-lib-1.1.6.tar.bz2
plugin: autotools
configflags:
- --prefix=/usr
- --sysconfdir=/etc
- --libexec=/usr/lib
- --libdir=/usr/lib
- --localstatedir=/var
- --with-configdir=/snap/$SNAPCRAFT_PROJECT_NAME/current/usr/share/alsa
- --with-plugindir=/snap/$SNAPCRAFT_PROJECT_NAME/current/usr/lib/alsa-lib
- --disable-alisp
- --disable-aload
- --disable-python
- --disable-rawmidi
- --disable-static
- --disable-topology
- --disable-ucm
- --enable-symbolic-functions
organize:
snap/*/current/usr/lib/*: usr/lib/
snap/*/current/usr/share/*: usr/share/
stage:
- usr/include
- usr/lib
- usr/share/alsa
prime:
- usr/lib/*.so
- usr/lib/*.so.*
- usr/share/alsa
dspatcher-app:
after: [alsa-lib]
source: .
plugin: cmake
build-packages:
- python3-pip
- python3-setuptools
- ninja-build
override-build: |
pip3 install meson
snapcraftctl build