diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-02 00:54:43 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-02 02:37:48 +0200 |
commit | 506c68fb14f5e544ca1de6fdba52142e206a3eef (patch) | |
tree | 97ef76c44f06c8ae283dc27cd7af405fd643f17c /media-libs/phonon/phonon-9999.ebuild | |
parent | kde-apps/kdepim-runtime: Drop old (diff) | |
download | gentoo-506c68fb14f5e544ca1de6fdba52142e206a3eef.tar.gz gentoo-506c68fb14f5e544ca1de6fdba52142e206a3eef.tar.bz2 gentoo-506c68fb14f5e544ca1de6fdba52142e206a3eef.zip |
media-libs/phonon: DEPEND on >=Qt-4.8.7, warn on <GCC-5
Sort DEPENDs, switch Qt default
Gentoo-bug: 595618
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'media-libs/phonon/phonon-9999.ebuild')
-rw-r--r-- | media-libs/phonon/phonon-9999.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/media-libs/phonon/phonon-9999.ebuild b/media-libs/phonon/phonon-9999.ebuild index eb135e7f6692..e905c36b5079 100644 --- a/media-libs/phonon/phonon-9999.ebuild +++ b/media-libs/phonon/phonon-9999.ebuild @@ -28,10 +28,10 @@ REQUIRED_USE=" RDEPEND=" !!dev-qt/qtphonon:4 qt4? ( - dev-qt/qtcore:4[${MULTILIB_USEDEP}] - dev-qt/qtdbus:4[${MULTILIB_USEDEP}] - dev-qt/qtgui:4[${MULTILIB_USEDEP}] - designer? ( dev-qt/designer:4[${MULTILIB_USEDEP}] ) + >=dev-qt/qtcore-4.8.7-r2:4[${MULTILIB_USEDEP}] + >=dev-qt/qtdbus-4.8.7:4[${MULTILIB_USEDEP}] + >=dev-qt/qtgui-4.8.7:4[${MULTILIB_USEDEP}] + designer? ( >=dev-qt/designer-4.8.7:4[${MULTILIB_USEDEP}] ) ) qt5? ( dev-qt/qtcore:5 @@ -59,6 +59,10 @@ PDEPEND=" PATCHES=( "${FILESDIR}/${PN}-4.7.0-plugin-install.patch" ) pkg_setup() { + if use qt4 && [[ $(gcc-major-version) -lt 5 ]] ; then + ewarn "A GCC version older than 5 was detected. There may be trouble. See also Gentoo bug #595618" + fi + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) } |