qemu: fixes x86_64 and clean up dependencies.

This commit is contained in:
Jerome Duval
2014-09-06 21:46:56 +00:00
parent 2ea06b7c0a
commit 9995014d71
2 changed files with 35 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ SRC_URI="http://wiki.qemu-project.org/download/qemu-$portVersion.tar.bz2"
CHECKSUM_SHA256="397e23184f4bf613589a8fe0c6542461dc2afdf17ed337e97e6fd2f31e8f8802"
COPYRIGHT="2003-2014 Fabrice Bellard"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
@@ -62,16 +62,16 @@ REQUIRES="
lib:libintl$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
glib2$secondaryArchSuffix >= 2.12
pixman$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix >= 0.38
lib:libpixman_1$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libz$secondaryArchSuffix
devel:libfdt$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
glib2${secondaryArchSuffix}_devel >= 2.12
pixman${secondaryArchSuffix}_devel
devel:libglib_2.0$secondaryArchSuffix >= 0.38
devel:libpixman_1${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
@@ -89,7 +89,7 @@ BUILD_PREREQUIRES="
BUILD()
{
runConfigure --omit-buildspec ./configure
make $jobArgs LDFLAGS=-lbsd
make $jobArgs
}
INSTALL()