-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsnapcraft.yaml
44 lines (41 loc) · 1.22 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
name: anymeal
base: core24
version: '1.33'
summary: recipe management software
icon: anymeal/anymeal.png
description: |
AnyMeal is a free and open source recipe management software developed using SQLite3, Qt6, flex, libiconv, NSIS, and Googletest.
It can manage a cookbook with more than 250,000 MealMaster recipes, thereby allowing to import, export, search, display, edit,
and print them. AnyMeal is available for GNU/Linux and Microsoft Windows.
confinement: strict
parts:
anymeal:
plugin: autotools
autotools-configure-parameters: ["--prefix=/usr"]
source: https://github.com/wedesoft/anymeal.git
build-packages:
- flex
- libsqlite3-dev
- qt6-base-dev-tools
- qt6-tools-dev
- qt6-base-dev
- qt6-svg-dev
- pkgconf
stage-packages:
- libqt6gui6
- libqt6svg6
- libqt6svgwidgets6
- libqt6printsupport6
apps:
anymeal:
command: usr/bin/anymeal
plugs:
- desktop
- desktop-legacy
- x11
- unity7
- wayland
- home
environment:
QT_PLUGIN_PATH: ${SNAP}/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins/
QT_QPA_PLATFORM_PLUGIN_PATH: ${SNAP}/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/qt6/plugins/platforms/