diff options
author | Michael Weber <xmw@gentoo.org> | 2013-08-03 09:40:50 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2013-08-03 09:40:50 +0000 |
commit | 87997843f82d44ef1c7d95703ce10e084d9199a8 (patch) | |
tree | 99742a99ef53330207153e8a9f003d78d0d028d7 /media-sound/spek | |
parent | Add English locale for Australia (diff) | |
download | gentoo-2-87997843f82d44ef1c7d95703ce10e084d9199a8.tar.gz gentoo-2-87997843f82d44ef1c7d95703ce10e084d9199a8.tar.bz2 gentoo-2-87997843f82d44ef1c7d95703ce10e084d9199a8.zip |
Require gcc:4.7 or newer (bug 479500).
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'media-sound/spek')
-rw-r--r-- | media-sound/spek/ChangeLog | 5 | ||||
-rw-r--r-- | media-sound/spek/spek-0.8.3.ebuild | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/media-sound/spek/ChangeLog b/media-sound/spek/ChangeLog index 5af6e63bb68d..6ec50c9cfca9 100644 --- a/media-sound/spek/ChangeLog +++ b/media-sound/spek/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/spek # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/ChangeLog,v 1.10 2013/08/03 09:25:19 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/ChangeLog,v 1.11 2013/08/03 09:40:50 xmw Exp $ + + 03 Aug 2013; Michael Weber <xmw@gentoo.org> spek-0.8.3.ebuild: + Require gcc:4.7 or newer (bug 479500). 03 Aug 2013; Michael Weber <xmw@gentoo.org> +files/spek-0.8.3-replace-gnu+11-with-c++11.patch, spek-0.8.3.ebuild: diff --git a/media-sound/spek/spek-0.8.3.ebuild b/media-sound/spek/spek-0.8.3.ebuild index b68d06b9165b..b698c5bd1ab3 100644 --- a/media-sound/spek/spek-0.8.3.ebuild +++ b/media-sound/spek/spek-0.8.3.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/spek-0.8.3.ebuild,v 1.2 2013/08/03 09:25:19 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/spek-0.8.3.ebuild,v 1.3 2013/08/03 09:40:50 xmw Exp $ EAPI=5 WX_GTK_VER="2.8" -inherit autotools eutils wxwidgets +inherit autotools eutils toolchain-funcs wxwidgets DESCRIPTION="Analyse your audio files by showing their spectrogram" HOMEPAGE="http://www.spek-project.org/" @@ -22,9 +22,17 @@ RDEPEND="virtual/ffmpeg DEPEND="${RDEPEND} dev-util/intltool virtual/pkgconfig + >=sys-devel/gcc-4.7 sys-devel/gettext" src_prepare() { + if [ $(gcc-major-version) -lt "4" ] ; then + die "You need to activate at least gcc:4.7" + fi + if [ $(gcc-major-version) -eq "4" -a $(gcc-minor-version) -lt "7" ] ; then + die "You need to activate at least gcc:4.7" + fi + epatch \ "${FILESDIR}"/${PN}-0.8.1-disable-updates.patch "${FILESDIR}"/${P}-replace-gnu+11-with-c++11.patch |