Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qemu/PKGBUILD
blob: fc07d90f5850634d25072a58e886b25e0c3c4baa (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
35
36
# ceph doesn't run on 32-bit 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.*\);@\1 || true;@ ; s@\(.*usr/share/doc/qemu.*\);@\1 || true;@'
)"

eval "$(
  declare -f package_qemu-docs | \
    sed 's@\(mv -v $pkgname/*.*\);@\1 || true;@'
)"