-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcom.github.afrantzis.Bless.yaml
66 lines (61 loc) · 2.11 KB
/
com.github.afrantzis.Bless.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
app-id: com.github.afrantzis.Bless
runtime: org.gnome.Platform
sdk: org.gnome.Sdk
runtime-version: '47'
sdk-extensions:
- org.freedesktop.Sdk.Extension.mono6
rename-desktop-file: bless.desktop
command: bless
finish-args:
- --socket=x11
- --share=ipc
- --filesystem=home
- --env=MONO_MANAGED_WATCHER=dummy
build-options:
append-path: /usr/lib/sdk/mono6/bin
append-ld-library-path: /usr/lib/sdk/mono6/lib
env:
PKG_CONFIG_PATH: /app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/sdk/mono6/lib/pkgconfig
modules:
- shared-modules/gtk2/gtk2.json
- name: mono-runtime
buildsystem: simple
build-options:
no-debuginfo: true
strip: true
build-commands:
- /usr/lib/sdk/mono6/install.sh
- name: gtk-sharp
sources:
- type: git
url: https://github.com/mono/gtk-sharp.git
commit: 3440993e00c89791c5401ae0dcc7508d81347739
- type: patch
path: gtk-sharp2-2.12.12-glib-include.patch
- type: patch
path: window.patch
- type: shell
commands:
- ./bootstrap-2.12 --prefix=/usr
- name: bless
buildsystem: meson
config-opts:
- -Dtests=false
post-install:
- install -t ${FLATPAK_DEST}/share/appdata/ -Dm644 ../com.github.afrantzis.Bless.metainfo.xml
- desktop-file-edit --set-key=Icon --set-value=${FLATPAK_ID} /app/share/applications/bless.desktop
- install -D ../data/bless-48x48.png ${FLATPAK_DEST}/share/icons/hicolor/48x48/apps/${FLATPAK_ID}.png
- install -D ../bless-icon-upscaled.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
sources:
- type: archive
url: https://github.com/afrantzis/bless/archive/v0.6.3.tar.gz
sha256: 547f2f28073fc791c9d52fa5fd7d66d92c42c7d7fecba05ce1e4b55278ff8cd4
x-checker-data:
type: anitya
project-id: 227362
stable-only: true
url-template: https://github.com/afrantzis/bless/archive/v$version.tar.gz
- type: file
path: com.github.afrantzis.Bless.metainfo.xml
- type: file
path: bless-icon-upscaled.png