-
Notifications
You must be signed in to change notification settings - Fork 4
/
AppImageBuilder.yml
88 lines (88 loc) · 3.08 KB
/
AppImageBuilder.yml
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
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
script:
# - flutter gen-l10n
# - flutter build linux --release
# Delete the old AppDir folder, if any. THen create a new one
- rm -rf AppDir | true
- mkdir AppDir
- mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps/
# Move the build files to AppDir
- cp build/linux/x64/release/bundle/bluecherry_client AppDir
- cp -r build/linux/x64/release/bundle/lib/. AppDir/lib
- cp -r build/linux/x64/release/bundle/data AppDir
# Rename the executable from bluecherry_client to Bluecherry
- mv AppDir/bluecherry_client AppDir/Bluecherry
- cp assets/images/icon.png AppDir/usr/share/icons/hicolor/64x64/apps/
- cp assets/images/icon.png AppDir
AppDir:
path: ./AppDir
app_info:
id: com.bluecherrydvr
name: Bluecherry
icon: icon
version: latest
exec: Bluecherry
exec_args: $@
apt:
arch:
- amd64
allow_unauthenticated: true
sources:
- sourceline: deb http://br.archive.ubuntu.com/ubuntu/ jammy main restricted
- sourceline: deb http://br.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
- sourceline: deb http://br.archive.ubuntu.com/ubuntu/ jammy universe
- sourceline: deb http://br.archive.ubuntu.com/ubuntu/ jammy-updates universe
- sourceline: deb http://br.archive.ubuntu.com/ubuntu/ jammy multiverse
- sourceline: deb http://br.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
- sourceline: deb http://br.archive.ubuntu.com/ubuntu/ jammy-backports main restricted
universe multiverse
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security main restricted
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security universe
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security multiverse
- sourceline: deb https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu/
jammy main
- sourceline: deb [arch=amd64 signed-by=/usr/share/keyrings/shiftkey-packages.gpg]
https://apt.packages.shiftkey.dev/ubuntu/ any main
include:
- libasound2-data
- libcom-err2:amd64
- libgpg-error0:amd64
- libkeyutils1:amd64
- libnss-mdns:amd64
- librsvg2-common:amd64
- libselinux1:amd64
- libmpv1:amd64
- libelf1:amd64
- libegl-mesa0:amd64
- libgtk-3-0
files:
include:
- assets/images/background.webp
- assets/images/icon.png
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
test:
fedora-30:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
debian-stable:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
archlinux-latest:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
centos-7:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
ubuntu-xenial:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun
AppImage:
arch: x86_64
comp: gzip
update-information: guess