summaryrefslogtreecommitdiffstats
path: root/plugins/flatpak/tests/meson.build
blob: 9e48b00ea6bbcb8faa06c3d5c64cd792bc6a5e59 (plain)
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
tar = find_program('tar')
custom_target(
  'flatpak-self-test-data',
  input : 'flatpakrepos.tar.gz',
  output : 'done',
  command : [
    tar,
    '--no-same-owner',
    '--directory=' + meson.current_build_dir(),
    '-xf', '@INPUT@',
  ],
  build_by_default : true,
)

custom_target(
  'flatpak-self-test-bundle',
  output : 'flatpakrepos.tar.gz',
  command : [
    tar,
    '-czf', '@OUTPUT@',
    'app-missing-runtime/repo/',
    'app-update/repo/',
    'app-with-runtime/repo/',
    'only-runtime/repo/',
    'app-extension/repo',
    'app-extension-update/repo',
  ],
)

configure_file(
  input : 'chiron.flatpak',
  output : 'chiron.flatpak',
  copy : true,
)