summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-video/qt-faststart/ChangeLog7
-rw-r--r--media-video/qt-faststart/qt-faststart-0.2.ebuild11
2 files changed, 13 insertions, 5 deletions
diff --git a/media-video/qt-faststart/ChangeLog b/media-video/qt-faststart/ChangeLog
index 2b647c6d6d2d..e28d7acbb43b 100644
--- a/media-video/qt-faststart/ChangeLog
+++ b/media-video/qt-faststart/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/qt-faststart
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/qt-faststart/ChangeLog,v 1.4 2010/06/02 07:01:38 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/qt-faststart/ChangeLog,v 1.5 2010/08/09 23:48:29 hwoarang Exp $
+
+ 09 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
+ qt-faststart-0.2.ebuild:
+ Respect CC,CFLAGS,LDFLAGS. Bug #331791. Thanks to Diego E. 'Flameeyes'
+ Pettenò <flameeyes@gentoo.org> for reporting
02 Jun 2010; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove caleb from metadata.xml (#317071)
diff --git a/media-video/qt-faststart/qt-faststart-0.2.ebuild b/media-video/qt-faststart/qt-faststart-0.2.ebuild
index a1d2728781c9..ee957e2eb2aa 100644
--- a/media-video/qt-faststart/qt-faststart-0.2.ebuild
+++ b/media-video/qt-faststart/qt-faststart-0.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/qt-faststart/qt-faststart-0.2.ebuild,v 1.2 2008/12/31 03:38:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/qt-faststart/qt-faststart-0.2.ebuild,v 1.3 2010/08/09 23:48:29 hwoarang Exp $
-inherit eutils
+inherit toolchain-funcs eutils
DESCRIPTION="qt-faststart rearranges quicktime files to help with better network streaming"
HOMEPAGE="http://svn.mplayerhq.hu/ffmpeg/trunk/tools/qt-faststart.c"
@@ -22,11 +22,14 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}.diff" || die "patch failed"
+ # add missing LDFLAGS
+ sed -i "/qt-faststart/{n; s:\$(CFLAGS):& \$(LDFLAGS) :}" Makefile
}
src_compile() {
cd "${WORKDIR}/ffmpeg"
- ./configure
+ ./configure --extra-ldflags="${LDFLAGS}" --extra-cflags="${CFLAGS}" \
+ --cc=$(tc-getCC)
make qt-faststart
}