diff options
author | Ben de Groot <yngwin@gentoo.org> | 2008-10-15 17:06:02 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2008-10-15 17:06:02 +0000 |
commit | 7f7130abd43cafba1bfb39438526190851a163be (patch) | |
tree | 13f0d8046ac3b06390b132732f3fc8ad01edfc8d /media-video/smplayer | |
parent | Version bump. Add message about new config files location. (diff) | |
download | gentoo-2-7f7130abd43cafba1bfb39438526190851a163be.tar.gz gentoo-2-7f7130abd43cafba1bfb39438526190851a163be.tar.bz2 gentoo-2-7f7130abd43cafba1bfb39438526190851a163be.zip |
Turn off console message flooding unless USE=debug
(Portage version: 2.2_rc12_p11688/cvs/Linux 2.6.26-hh3 i686)
Diffstat (limited to 'media-video/smplayer')
-rw-r--r-- | media-video/smplayer/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/smplayer/smplayer-0.6.3.ebuild | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog index 419796cf6b02..f60da7183c5e 100644 --- a/media-video/smplayer/ChangeLog +++ b/media-video/smplayer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/smplayer # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.43 2008/09/28 16:15:16 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.44 2008/10/15 17:06:02 yngwin Exp $ + + 15 Oct 2008; Ben de Groot <yngwin@gentoo.org> smplayer-0.6.3.ebuild: + Turn off console message flooding unless USE=debug, as suggested by + Michael Perlov in bug 239486. 28 Sep 2008; Ben de Groot <yngwin@gentoo.org> smplayer-0.6.2-r1.ebuild, smplayer-0.6.3.ebuild: diff --git a/media-video/smplayer/smplayer-0.6.3.ebuild b/media-video/smplayer/smplayer-0.6.3.ebuild index 64b1877e9a0e..aa906cb4d7ae 100644 --- a/media-video/smplayer/smplayer-0.6.3.ebuild +++ b/media-video/smplayer/smplayer-0.6.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.6.3.ebuild,v 1.2 2008/09/28 16:15:16 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.6.3.ebuild,v 1.3 2008/10/15 17:06:02 yngwin Exp $ EAPI=2 inherit eutils qt4 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="" +IUSE="debug" DEPEND="|| ( x11-libs/qt-gui:4 >=x11-libs/qt-4.3:4 )" RDEPEND="${DEPEND} @@ -38,6 +38,12 @@ src_prepare() { -e '/get_svn_revision.sh/,+2c\ cd src && $(DEFS) $(MAKE)' \ "${S}"/Makefile || die "sed failed" + + # Turn debug message flooding off + if ! use debug ; then + sed -i "s:#DEFINES += NO_DEBUG_ON_CONSOLE:DEFINES += NO_DEBUG_ON_CONSOLE:" \ + "${S}"/src/smplayer.pro || die "sed failed" + fi } src_configure() { |