qemu.bst 1.78 KB
Newer Older
1
2
3
4
kind: autotools

sources:
- kind: tar
Michael Catanzaro's avatar
Michael Catanzaro committed
5
  url: https://download.qemu.org/qemu-6.0.0.tar.xz
6
7
8

build-depends:
- core-deps/spice-protocol.bst
9
10
- freedesktop-sdk.bst:components/perl.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
11
12

depends:
13
- sdk/gtk+-3.bst
14
- core-deps/libcacard.bst
15
- core-deps/spice.bst
16
17
18
- core-deps/usbredir.bst
- freedesktop-sdk.bst:components/glib.bst
- freedesktop-sdk.bst:components/libcap.bst
19
- freedesktop-sdk.bst:components/dummy-gbm.bst
20
21
- freedesktop-sdk.bst:components/pixman.bst
- freedesktop-sdk.bst:components/python3.bst
22
23
- freedesktop-sdk.bst:components/sdl2.bst
- freedesktop-sdk.bst:components/sdl2-image.bst
24
25
26
27
28
29
30
31
32
33
34
35
- freedesktop-sdk.bst:bootstrap-import.bst

variables:
  (?):
  - arch == "x86_64":
      targets: --target-list=x86_64-softmmu,i386-softmmu
  - arch == "i686":
      targets: --target-list=x86_64-softmmu,i386-softmmu
  - arch == "aarch64":
      targets: --target-list=aarch64-softmmu,arm-softmmu
  - arch == "arm":
      targets: --target-list=arm-softmmu
36
  - arch == "ppc64le":
37
38
39
40
41
42
43
44
45
      targets: --target-list=ppc64-softmmu

  conf-local: >-
    --disable-werror
    --enable-system
    --disable-user
    --enable-spice
    --enable-smartcard
    --enable-usb-redir
46
47
48
    --enable-gtk
    --enable-sdl
    --enable-sdl-image
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

  # --exec-prefix --disable-static are not accepted
  conf-args: >-
    %{targets}
    --prefix="%{prefix}"
    --bindir="%{bindir}"
    --sbindir="%{sbindir}"
    --sysconfdir="%{sysconfdir}"
    --datadir="%{datadir}"
    --includedir="%{includedir}"
    --libdir="%{libdir}"
    --libexecdir="%{libexecdir}"
    --localstatedir="%{localstatedir}"
    --sharedstatedir="%{sharedstatedir}"
    --mandir="%{mandir}"
    --infodir="%{infodir}"
    --localstatedir=/
    --host=%{triplet}
    --build=%{triplet}
    %{conf-extra}
    %{conf-local}