system/qemu: Kill static libusb support (not needed with 14.2)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6db532a65a
commit
83cbc71ea2
|
@ -39,6 +39,3 @@ If you wish to emulate ARM, you will want device-tree-compiler.
|
|||
NOTES:
|
||||
This version breaks some backward compatibility with earlier versions.
|
||||
Consult the official changelogs for details.
|
||||
|
||||
Slackware's libusb is too old. Thus, to enable usb redirection, install
|
||||
usbredir, download libusb-1.19, and build with LIBUSB=yes ./qemu.SlackBuild
|
||||
|
|
|
@ -54,7 +54,6 @@ KVMGROUP=${KVMGROUP:-users}
|
|||
TARGETS=${TARGETS:-some}
|
||||
VNC_ENABLE=${VNC_ENABLE:-yes}
|
||||
AUDIODRIVERS=${AUDIODRIVERS:-alsa,oss,sdl}
|
||||
LIBUSB=${LIBUSB:-no}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -122,26 +121,6 @@ else
|
|||
with_vnc="--disable-vnc"
|
||||
fi
|
||||
|
||||
# Build libusb-1.0.19 statically so that usb passthrough will work;
|
||||
# not needed if you upgrade the default libdir.
|
||||
USBSTATIC=""
|
||||
if [ "$LIBUSB" = "yes" ]; then
|
||||
tar xf $CWD/libusb-1.0.19.tar.xz
|
||||
cd libusb-1.0.19
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=$TMP/$PRGNAM-$VERSION/libusb-static \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--disable-shared \
|
||||
--enable-static
|
||||
make install
|
||||
cd ..
|
||||
sed -i 's/--cflags libusb-1.0/\0 --static/' configure
|
||||
sed -i 's/--libs libusb-1.0/\0 --static/' configure
|
||||
USBSTATIC="$TMP/$PRGNAM-$VERSION/libusb-static/lib/pkgconfig"
|
||||
fi
|
||||
|
||||
PKG_CONFIG_PATH+="${USBSTATIC}" \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
PRGNAM="qemu"
|
||||
VERSION="2.5.0"
|
||||
HOMEPAGE="http://wiki.qemu.org/Main_Page"
|
||||
DOWNLOAD="http://wiki.qemu-project.org/download/qemu-2.5.0.tar.bz2 \
|
||||
http://harrier.slackbuilds.org/misc/libusb-1.0.19.tar.xz"
|
||||
MD5SUM="f469f2330bbe76e3e39db10e9ac4f8db \
|
||||
30fcf0865e8945a39d7d136f907e933c"
|
||||
DOWNLOAD="http://wiki.qemu-project.org/download/qemu-2.5.0.tar.bz2"
|
||||
MD5SUM="f469f2330bbe76e3e39db10e9ac4f8db"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue