Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qemu/PKGBUILD
blob: febd71e4b8a22a045c39ea94672cecf016ea1bf8 (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
# ceph doesn't run on 32-xit currently (see FS32#21)

makedepends=(${makedepends[@]/ceph})

pkgname=($(
  printf '%s\n' "${pkgname[@]}" | \
    sed '/^qemu-block-rbd/d'
))

eval "$(
  declare -f _package | \
    sed '
      s@rm qemu/block-{iscsi,rbd,gluster}.so@rm qemu/block-{iscsi,gluster}.so@
    '
)"

# edk2-armvirt is not available currently
eval "$(
  declare -f package_qemu-system-aarch64 | \
    sed '
      /depends/ a \
        depends=(${depends[@]//edk2-armvirt/})
    '
)"

# qemu: /startdir/PKGBUILD: line 436: cd: /build/qemu/pkg/qemu-common/usr/share/man/man1: No such file or directory
# We'll live with invalid symlinks for now
eval "$(
  declare -f package_qemu-common | \
    sed 's@usr/share/man/man.*;@\0 || true;@'
)"