diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template
index 9da4ef5bb5f..cf91ec1defe 100644
--- a/srcpkgs/qemu/template
+++ b/srcpkgs/qemu/template
@@ -1,14 +1,14 @@
 # Template file for 'qemu'
 pkgname=qemu
 version=2.8.0
-revision=2
+revision=3
 short_desc="Open Source Processor Emulator"
 maintainer="Juan RP <xtraeme@voidlinux.eu>"
 homepage="http://qemu.org"
 license="GPL-2, LGPL-2.1"
 distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.bz2"
 checksum=dafd5d7f649907b6b617b822692f4c82e60cf29bc0fc58bc2036219b591e5e62
-nocross=https://build.voidlinux.eu/builders/armv7l_builder/builds/30051/steps/shell_3/logs/stdio
+nocross="https://api.travis-ci.org/jobs/210268003/log.txt"
 
 nostrip=yes
 hostmakedepends="pkg-config perl python automake libtool flex"
@@ -19,15 +19,17 @@ makedepends="libpng-devel libjpeg-turbo-devel pixman-devel snappy-devel
  libbluetooth-devel libssh2-devel libusb-devel pulseaudio-devel libnfs-devel
  $(vopt_if sdl SDL-devel) $(vopt_if sdl2 SDL2-devel) $(vopt_if gtk gtk+-devel)
  $(vopt_if spice spice-devel) $(vopt_if virgl virglrenderer-devel)
- $(vopt_if opengl 'libepoxy-devel libdrm-devel MesaLib-devel')"
+ $(vopt_if opengl 'libepoxy-devel libdrm-devel MesaLib-devel')
+ $(vopt_if smartcard libcacard-devel)"
 
-build_options="gtk opengl sdl sdl2 spice virgl"
+build_options="gtk opengl sdl sdl2 spice virgl smartcard"
 build_options_default="opengl sdl2 virgl"
 desc_option_gtk="Enable GTK display and use it by default"
 desc_option_sdl="Use SDL (1.x) video output"
 desc_option_sdl2="Use SDL (2.x) video output"
 desc_option_spice="Enable support for SPICE"
 desc_option_virgl="Enable support for VirGL (A Virtual 3D GPU renderer)"
+desc_option_smartcard="Enable smartcard support"
 vopt_conflict "sdl" "sdl2"
 
 case "$XBPS_TARGET_MACHINE" in
diff --git a/srcpkgs/spice/template b/srcpkgs/spice/template
index d84aa579754..406f59e6dd5 100644
--- a/srcpkgs/spice/template
+++ b/srcpkgs/spice/template
@@ -1,14 +1,15 @@
 # Template file for 'spice'
 pkgname=spice
 version=0.13.3
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="--disable-tunnel --disable-opengl --disable-smartcard
+configure_args="--disable-tunnel --disable-opengl --enable-smartcard
  --with-sasl --disable-static --enable-xinerama --disable-celt051"
 hostmakedepends="pkg-config python"
 makedepends="spice-protocol libjpeg-turbo-devel pixman-devel
  libressl-devel opus-devel alsa-lib-devel libXfixes-devel libXrender-devel
- libXrandr-devel libsasl-devel libXinerama-devel libglib-devel"
+ libXrandr-devel libsasl-devel libXinerama-devel libglib-devel libcacard-devel
+ nss-devel"
 short_desc="Implements the SPICE protocol"
 maintainer="Juan RP <xtraeme@voidlinux.eu>"
 license="GPL-2"