summaryrefslogtreecommitdiff
path: root/extra/qemu/PKGBUILD
blob: f810d88d4f5a803da4e7a7e5605f88fc8ca5ca9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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@
    '
)"

# libdrm missing on i486?
if [ "$CARCH" = 'i486' ]; then
  depends+=(libdrm)
fi