Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/PKGBUILD b/PKGBUILD
- index 96abf11..551a367 100644
- --- a/PKGBUILD
- +++ b/PKGBUILD
- @@ -6,25 +6,27 @@ pkgname=(qemu-pinning qemu-pinning-headless qemu-pinning-arch-extra qemu-pinning
- qemu-pinning-block-{iscsi,rbd,gluster} qemu-pinning-guest-agent)
- _pkgname=qemu
- pkgdesc="A generic and open source machine emulator and virtualizer. Patch from saveriomiroddi/qemu-pinning applied"
- -pkgver=4.1.0
- +pkgver=4.2.0
- pkgrel=1
- arch=(x86_64)
- license=(GPL2 LGPL2.1)
- url="https://wiki.qemu.org/"
- _headlessdeps=(seabios gnutls libpng libaio numactl jemalloc xfsprogs libnfs
- - lzo snappy curl vde2 libcap-ng spice libcacard usbredir)
- + lzo snappy curl vde2 libcap-ng spice libcacard usbredir libslirp libssh)
- provides=(qemu)
- depends=(virglrenderer sdl2 vte3 libpulse "${_headlessdeps[@]}")
- -makedepends=(spice-protocol python2 ceph libiscsi glusterfs python-sphinx)
- +makedepends=(spice-protocol python ceph libiscsi glusterfs python-sphinx)
- source=(https://download.qemu.org/qemu-$pkgver.tar.xz{,.sig}
- qemu-ga.service
- 65-kvm.rules
- - https://github.com/saveriomiroddi/qemu-pinning/commit/3c467032dca13f9a4b4a2316dbf904112dd2b364.diff)
- -sha512sums=('82fd51702a7b9b1b00b2f1bd3b4a832b80249018dbba1add0b0a73e7d4bee452afd45574b4d8df7ce4477d8711f3bda4ca072a1a6de25895c93eb21cf78fc4b2'
- + https://github.com/saveriomiroddi/qemu-pinning/commit/4e4fe6402e9e4943cc247a4ccfea21fa5f608b30.diff
- + capstone-include.patch)
- +sha512sums=('2a79973c2b07c53e8c57a808ea8add7b6b2cbca96488ed5d4b669ead8c9318907dec2b6109f180fc8ca8f04c0f73a56e82b3a527b5626b799d7e849f2474ec56'
- 'SKIP'
- '269c0f0bacbd06a3d817fde02dce26c99d9f55c9e3b74bb710bd7e5cdde7a66b904d2eb794c8a605bf9305e4e3dee261a6e7d4ec9d9134144754914039f176e4'
- 'bdf05f99407491e27a03aaf845b7cc8acfa2e0e59968236f10ffc905e5e3d5e8569df496fd71c887da2b5b8d1902494520c7da2d3a8258f7fd93a881dd610c99'
- - 'SKIP')
- + 'SKIP'
- + '099751aee34d9244b4d73401a39a1717ecaaef37d36c9b5fe58cc7051a61771c686910f58b297a3c5bb92add9ae3f151bc100dde8a3122b3b849b6595ba476aa')
- validpgpkeys=('CEACC9E15534EBABB82D3FA03353C9CEF108B584')
- case $CARCH in
- @@ -33,14 +35,14 @@ case $CARCH in
- esac
- prepare() {
- - mkdir -p build-{full,headless}
- + mkdir build-{full,headless}
- mkdir -p extra-arch-{full,headless}/usr/{bin,share/qemu}
- cd ${_pkgname}-${pkgver}
- - patch -p1 < ../3c467032dca13f9a4b4a2316dbf904112dd2b364.diff
- -
- - #sed -i 's/vte-2\.90/vte-2.91/g' configure
- + patch -p1 < ../4e4fe6402e9e4943cc247a4ccfea21fa5f608b30.diff
- + # Needed until capstone is updated with include fix
- + patch -p1 < ../capstone-include.patch
- }
- build() {
- @@ -71,11 +73,11 @@ _build() (
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib/qemu \
- - --python=/usr/bin/python2 \
- --smbd=/usr/bin/smbd \
- --enable-modules \
- --enable-sdl \
- --enable-jemalloc \
- + --enable-slirp=system \
- "${@:2}"
- make
- diff --git a/capstone-include.patch b/capstone-include.patch
- new file mode 100644
- index 0000000..839e264
- --- /dev/null
- +++ b/capstone-include.patch
- @@ -0,0 +1,11 @@
- +--- a/include/disas/capstone.h
- ++++ b/include/disas/capstone.h
- +@@ -3,7 +3,7 @@
- +
- + #ifdef CONFIG_CAPSTONE
- +
- +-#include <capstone.h>
- ++#include <capstone/capstone.h>
- +
- + #else
- +
Add Comment
Please, Sign In to add comment