Skip to content

Commit

Permalink
qemu: enable debug package
Browse files Browse the repository at this point in the history
Disk space used by debuginfo is comparable to other large
packages, so enabling debug package seems reasonable.

Removed now-redundant do_build().
  • Loading branch information
Skirmisher authored and claris committed Oct 9, 2020
1 parent c522390 commit b213d0e
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions srcpkgs/qemu/template
@@ -1,15 +1,16 @@
# Template file for 'qemu'
pkgname=qemu
version=5.1.0
revision=3
revision=4
short_desc="Open Source Processor Emulator"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.qemu.org"
distfiles="https://wiki.qemu.org/download/qemu-${version}.tar.bz2"
checksum=8314b6e5fcc7bf9fa3915d504de6586a69cba30ffa27cbe9ba85d2cb9987fb3a

nostrip=yes
build_style=configure
nostrip_files="hppa-firmware.img openbios-ppc openbios-sparc32 openbios-sparc64
palcode-clipper s390-ccw.img s390-netboot.img u-boot.e500"
hostmakedepends="gettext pkg-config perl python3 automake libtool flex
python3-Sphinx texinfo"
makedepends="libpng-devel libjpeg-turbo-devel pixman-devel snappy-devel
Expand Down Expand Up @@ -64,22 +65,14 @@ do_configure() {
--disable-xen --enable-tpm \
--enable-vhost-net --enable-vnc-png --enable-virtfs \
--enable-libusb --disable-glusterfs --enable-snappy --enable-usb-redir \
--enable-pie --localstatedir=/var --enable-docs \
--enable-pie --localstatedir=/var --enable-docs --disable-strip \
$(vopt_enable virgl virglrenderer) $(vopt_enable opengl) $(vopt_enable spice) \
${want_sdl} \
$(vopt_enable smartcard) \
$(vopt_if gtk3 "--enable-gtk") ${args}
}
do_build() {
# Remove our strip(1) wrapper... E2BIG.
rm -f ${XBPS_WRAPPERDIR}/strip

make ${makejobs}
}
do_install() {
# Remove our strip(1) wrapper... E2BIG.
rm -f ${XBPS_WRAPPERDIR}/strip

vsed -i Makefile -e 's;dtc/%:;dtc/libfdt:;'

make DESTDIR=${DESTDIR} install
Expand Down

0 comments on commit b213d0e

Please sign in to comment.