kvm component, debian iso-cd version up: debian-8.0.0
[slapos.git] / component / qemu-kvm / buildout.cfg
1 [buildout]
2 extends =
3   ../../component/gnutls/buildout.cfg
4   ../../component/libpng/buildout.cfg
5   ../../component/libuuid/buildout.cfg
6   ../../component/pkgconfig/buildout.cfg
7   ../../component/xorg/buildout.cfg
8   ../../component/zlib/buildout.cfg
9
10 # XXX Change all reference to kvm section to qemu section, then
11 # use qemu as main name section.
12 [qemu]
13 <= kvm
14
15 [kvm]
16 recipe = slapos.recipe.cmmi
17 # qemu-kvm and qemu are now the same since 1.3.
18 url = http://wiki.qemu-project.org/download/qemu-2.2.0.tar.bz2
19 md5sum = f7a5e2da22d057eb838a91da7aff43c8
20 configure-options =
21   --target-list=x86_64-softmmu
22   --enable-system
23   --with-system-pixman
24   --disable-sdl
25   --disable-xen
26   --enable-vnc-tls
27   --disable-vnc-sasl
28   --disable-curses
29   --disable-curl
30   --enable-kvm
31   --disable-docs
32   --enable-vnc-png
33   --disable-vnc-jpeg
34   --enable-vnc-ws
35   --extra-cflags="-I${gnutls:location}/include -I${libuuid:location}/include -I${zlib:location}/include -I${libpng:location}/include"
36   --extra-ldflags="-Wl,-rpath -Wl,${glib:location}/lib -L${glib:location}/lib -Wl,-rpath -Wl,${gnutls:location}/lib -L${gnutls:location}/lib -Wl,-rpath -Wl,${gpg-error:location}/lib -L${gpg-error:location}/lib -L${gettext:location}/lib -Wl,-rpath -Wl,${gettext:location}/lib -Wl,-rpath -Wl,${libpng:location}/lib -L${libpng:location}/lib -L${libuuid:location}/lib -Wl,-rpath -Wl,${libuuid:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -lpng -lz -lgnutls"
37   --disable-werror
38 environment =
39   PATH=${pkgconfig:location}/bin:%(PATH)s
40   PKG_CONFIG_PATH=${gnutls:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig
41   LDFLAGS=-L${pixman:location}/lib -Wl,-rpath=${pixman:location}/lib
42
43 # The following is only available in buildout2, which we don't use yet.
44 [kvm-bits64]
45 configure-options =
46   --target-list=x86_64-softmmu
47   ${kvm:configure-options}
48
49 [kvm-bits32]
50 configure-options =
51   --target-list=i386-softmmu
52   ${kvm:configure-options}
53
54
55 [debian-amd64-netinst.iso]
56 # Download the installer of Debian 7 (Wheezy)
57 recipe = hexagonit.recipe.download
58 url = http://cdimage.debian.org/debian-cd/8.0.0/amd64/iso-cd/debian-8.0.0-amd64-netinst.iso
59 filename = ${:_buildout_section_name_}
60 md5sum = d9209f355449fe13db3963571b1f52d4 
61 download-only = true
62 mode = 0644
63 location = ${buildout:parts-directory}/${:_buildout_section_name_}
64