summaryrefslogtreecommitdiff
blob: a1d2728781c92cd4d51491043977ecc99a14aa0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2008 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 $

inherit eutils

DESCRIPTION="qt-faststart rearranges quicktime files to help with better network streaming"
HOMEPAGE="http://svn.mplayerhq.hu/ffmpeg/trunk/tools/qt-faststart.c"
SRC_URI="mirror://gentoo/ffmpeg-0.4.9-p20070616.tar.bz2"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}/ffmpeg"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${P}.diff"  || die "patch failed"
}

src_compile() {
	cd "${WORKDIR}/ffmpeg"
	./configure
	make qt-faststart
}

src_install() {
	install -D -m 755 -o root -g root "${WORKDIR}/ffmpeg/qt-faststart" "${D}/usr/bin/qt-faststart"
}