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
|
app-id: org.test.Hello2
runtime: org.test.Platform
sdk: org.test.Sdk
command: hello2.sh
tags: [test]
token-type: 0
finish-args:
- --share=network
build-options:
cflags: -O2 -g
cxxflags: -O2 -g
env:
FOO: bar
V: '1'
cleanup: [/cleanup, '*.cleanup']
cleanup-commands: [touch /app/cleaned_up]
modules:
- include1/module1.yaml
- name: root
modules:
- name: test
config-opts: [--some-arg]
post-install:
- touch /app/bin/file.cleanup
- mkdir -p /app/share/icons/hicolor/64x64/apps/
- mkdir -p /app/share/icons/hicolor/64x64/mimetypes/
- cp org.test.Hello.png /app/share/icons/hicolor/64x64/apps/$FLATPAK_ID.png
- cp org.test.Hello.png /app/share/icons/hicolor/64x64/mimetypes/$FLATPAK_ID.application-x-hello.png
- cp org.test.Hello.png /app/share/icons/hicolor/64x64/mimetypes/$FLATPAK_ID.application-x-goodbye.png
- mkdir -p /app/share/applications
- cp org.test.Hello.desktop /app/share/applications/$FLATPAK_ID.desktop
- mkdir -p /app/share/mime/packages
- cp org.test.Hello.xml /app/share/mime/packages/$FLATPAK_ID.xml
- mkdir -p /app/share/appdata
- cp org.test.Hello.appdata.xml /app/share/appdata/$FLATPAK_ID.appdata.xml
make-args: [BAR=2]
make-install-args: [BAR=3]
build-commands: ['echo foo > /app/out']
license-files: ['mytest/LICENSE']
sources:
- type: file
path: test-configure
dest-filename: configure
sha256: 675a1ac2feec4d4f54e581b4b01bc3cfd2c1cf31aa5963574d31228c8a11b7e7
- type: file
path: app-data
- type: script
dest-filename: hello2.sh
commands: ['echo "Hello world2, from a sandbox"']
- type: file
path: org.test.Hello.desktop
- type: file
path: org.test.Hello.appdata.xml
- type: file
path: org.test.Hello.xml
- type: file
path: LICENSE
dest: mytest
- type: shell
commands:
- mkdir /app/cleanup/
- touch /app/cleanup/a_file
- type: patch
path: 0001-Add-test-logo.patch
use-git: true
- name: test2
build-commands:
- echo foo2 > /app/out2
- cp source[12] /app
buildsystem: simple
sources:
- type: file
path: app-data
- include1/source1.json
- include1/include2/source2.json
- name: empty
|