Merge pull request #5973 from Sir-Boops/qemu-smart

qemu: add smartcard support
This commit is contained in:
Toyam Cox 2017-03-15 14:29:07 -04:00 committed by GitHub
commit 84468bd8bc
4 changed files with 35 additions and 7 deletions

1
srcpkgs/libcacard-devel Symbolic link
View file

@ -0,0 +1 @@
libcacard

View file

@ -0,0 +1,24 @@
# Template file for 'libcacard'
pkgname=libcacard
version=2.5.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="nss-devel glib-devel pcsclite-devel"
short_desc="A library to provide emulation of smart cards to a virtual card reader"
maintainer="Sir_Boops <admin@boops.me>"
homepage="https://www.spice-space.org/page/Libcacard"
license="LGPL-2.1"
distfiles="https://www.spice-space.org/download/libcacard/libcacard-${version}.tar.xz"
checksum=2e39d52346a64af3bd7ee6bff658c4dcfee05a5ab8c0cf70d225fa58d3df4ecb
libcacard-devel_package() {
depends="libcacard>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/lib/*.la
}
}

View file

@ -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

View file

@ -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"