diff --git a/media-libs/phonon/phonon-4.9.1-r1.ebuild b/media-libs/phonon/phonon-4.9.1-r1.ebuild index 8cf0541b4fe43..7f91cb3281fe6 100644 --- a/media-libs/phonon/phonon-4.9.1-r1.ebuild +++ b/media-libs/phonon/phonon-4.9.1-r1.ebuild @@ -53,6 +53,10 @@ PDEPEND=" PATCHES=( "${FILESDIR}/${PN}-4.7.0-plugin-install.patch" ) +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) +} + multilib_src_configure() { local mycmakeargs=( -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer) diff --git a/media-libs/phonon/phonon-9999.ebuild b/media-libs/phonon/phonon-9999.ebuild index 72b330e232c57..b16a70f4b3c98 100644 --- a/media-libs/phonon/phonon-9999.ebuild +++ b/media-libs/phonon/phonon-9999.ebuild @@ -49,6 +49,10 @@ PDEPEND=" PATCHES=( "${FILESDIR}/${PN}-4.7.0-plugin-install.patch" ) +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt4) qt5 ) +} + multilib_src_configure() { local mycmakeargs=( -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer)