extra/qemu to 4.2.0-2

This commit is contained in:
Kevin Mihelich 2020-02-12 13:25:59 +00:00
parent 93aa0d0a16
commit c2b5909632

View file

@ -13,13 +13,14 @@ pkgname=(qemu qemu-headless qemu-arch-extra qemu-headless-arch-extra
qemu-block-{iscsi,gluster} qemu-guest-agent)
pkgdesc="A generic and open source machine emulator and virtualizer"
pkgver=4.2.0
pkgrel=1
pkgrel=2
arch=(x86_64)
license=(GPL2 LGPL2.1)
url="https://wiki.qemu.org/"
_headlessdeps=(gnutls libpng libaio jemalloc xfsprogs libnfs
lzo snappy curl vde2 libcap-ng spice libcacard usbredir)
depends=(virglrenderer sdl2 vte3 libpulse "${_headlessdeps[@]}")
lzo snappy curl vde2 libcap-ng spice libcacard usbredir libslirp
libssh)
depends=(virglrenderer sdl2 vte3 libpulse brltty "${_headlessdeps[@]}")
makedepends=(spice-protocol python libiscsi glusterfs python-sphinx)
source=(https://download.qemu.org/qemu-$pkgver.tar.xz{,.sig}
qemu-ga.service
@ -54,6 +55,7 @@ build() {
--disable-sdl \
--disable-gtk \
--disable-vte \
--disable-brlapi \
--disable-opengl \
--disable-virglrenderer
}
@ -76,6 +78,7 @@ _build() (
--enable-modules \
--enable-sdl \
--enable-jemalloc \
--enable-slirp=system \
"${@:2}"
make
@ -201,7 +204,7 @@ package_qemu-block-gluster() {
package_qemu-guest-agent() {
pkgdesc="QEMU Guest Agent"
depends=(gcc-libs glib2)
depends=(gcc-libs glib2 libudev.so)
install -D build-full/qemu-ga "$pkgdir/usr/bin/qemu-ga"
install -Dm644 qemu-ga.service "$pkgdir/usr/lib/systemd/system/qemu-ga.service"