[arch-commits] Commit in qemu/trunk (PKGBUILD)

Sébastien Luttringer seblu at archlinux.org
Sat Jul 25 00:34:40 UTC 2015


    Date: Saturday, July 25, 2015 @ 02:34:40
  Author: seblu
Revision: 242484

upgpkg: qemu 2.3.0-4

- Implement FS#45208

Modified:
  qemu/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-25 00:22:26 UTC (rev 242483)
+++ PKGBUILD	2015-07-25 00:34:40 UTC (rev 242484)
@@ -2,15 +2,15 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 pkgname=('qemu' 'libcacard')
 pkgver=2.3.0
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 license=('GPL2' 'LGPL2.1')
 url="http://wiki.qemu.org/Index.html"
 makedepends=('pixman' 'libjpeg' 'libpng' 'sdl' 'alsa-lib' 'nss' 'glib2'
-             'gnutls>=2.4.1' 'bluez-libs' 'vde2' 'util-linux' 'curl' 'libsasl'
+             'gnutls' 'bluez-libs' 'vde2' 'util-linux' 'curl' 'libsasl'
              'libgl' 'libpulse' 'seabios' 'libcap-ng' 'libaio' 'libseccomp'
              'libiscsi' 'libcacard' 'spice' 'spice-protocol' 'python2'
-             'usbredir' 'ceph')
+             'usbredir' 'ceph' 'glusterfs' 'libssh2' 'lzo')
 options=(!strip)
 source=(http://wiki.qemu.org/download/${pkgname}-${pkgver}.tar.bz2
         CVE-2015-3456.patch
@@ -27,7 +27,7 @@
   # qemu vs. make 4 == bad
   export ARFLAGS="rv"
   # http://permalink.gmane.org/gmane.comp.emulators.qemu/238740
-
+  export CFLAGS+=' -fPIC'
   # gtk gui breaks keymappings at the moment
   ./configure --prefix=/usr --sysconfdir=/etc --audio-drv-list='pa alsa sdl' \
               --python=/usr/bin/python2 --smbd=/usr/bin/smbd \
@@ -34,7 +34,8 @@
               --enable-docs --libexecdir=/usr/lib/qemu \
               --disable-gtk --enable-linux-aio --enable-seccomp \
               --enable-spice --localstatedir=/var \
-              --enable-tpm 
+              --enable-tpm \
+              --enable-modules --enable-{rbd,glusterfs,libiscsi,curl}
   make V=99
 }
 
@@ -41,12 +42,17 @@
 package_qemu() {
   pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
   depends=('pixman' 'libjpeg' 'libpng' 'sdl' 'alsa-lib' 'nss' 'glib2'
-         'gnutls>=2.4.1' 'bluez-libs' 'vde2' 'util-linux' 'curl' 'libsasl'
+         'gnutls' 'bluez-libs' 'vde2' 'util-linux' 'curl' 'libsasl'
          'libgl' 'libpulse' 'seabios' 'libcap-ng' 'libaio' 'libseccomp'
-         'libiscsi' 'libcacard' 'spice' 'usbredir' 'libssh2>=1.5.0' 'ceph')
+         'libcacard' 'spice' 'usbredir' 'lzo')
   backup=('etc/qemu/target-x86_64.conf')
   replaces=('qemu-kvm')
-  optdepends=('samba: for SMB Server support')
+  optdepends=('samba: for SMB server support'
+			  'libssh2: for remote disks over ssh support'
+			  'curl: for remote disks over http/ftp support'
+              'libiscsi: for iSCSI support'
+              'ceph: for RDB support'
+			  'glusterfs: for glusterfs support')
   install=qemu.install
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" libexecdir="/usr/lib/qemu" install



More information about the arch-commits mailing list