app-emulation/qemu: Only clone a subset of git submodules
authorJames Le Cuirot <chewi@gentoo.org>
Sat, 21 Sep 2019 22:45:59 +0000 (23:45 +0100)
committerMatthias Maier <tamiko@gentoo.org>
Sun, 22 Sep 2019 02:11:52 +0000 (21:11 -0500)
This saves cloning over 860MB of unnecessary repositories for
dependencies that we build externally, including OpenSSL.

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/qemu/qemu-9999.ebuild

index c58b83277ecd8ad5e1417d772e70bf0c9b231d11..cf337ca8567fbee4a03cf951323f0df4b5e4bb78 100644 (file)
@@ -15,6 +15,11 @@ inherit eutils linux-info toolchain-funcs multilib python-r1 \
 
 if [[ ${PV} = *9999* ]]; then
        EGIT_REPO_URI="git://git.qemu.org/qemu.git"
+       EGIT_SUBMODULES=(
+               slirp
+               tests/fp/berkeley-{test,soft}float-3
+               ui/keycodemapdb
+       )
        inherit git-r3
        SRC_URI=""
 else