summaryrefslogtreecommitdiff
path: root/community/libvirt/PKGBUILD
blob: 3592b5b510fc2af57d6b2e7530b36dd38f9e1767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ceph doesn't run on 32-bit currently (see FS32#21)
depends=(${depends[@]/ceph-libs/})
makedepends=(${makedepends[@]/ceph-libs/})

# remove qemu-rdb (configure doesn't see rdb, does it depend on ceph?)
pkgname=(${pkgname[@]/libvirt-storage-rbd/})
unset -f 'libvirt-storage-rbd'

eval "$(
  declare -f package_libvirt | \
    sed '
      s/libvirt_storage_backend_{rbd,gluster}.so/libvirt_storage_backend_gluster.so/
    '
)"

eval "$(
  declare -f build | \
    sed '
      s/-Dstorage_rbd=enabled/-Dstorage_rbd=disabled/
    '
)"