summaryrefslogtreecommitdiff
blob: 6f0f3051878d26b57e413aa555e03b90cdd23885 (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
36
37
38
39
40
41
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/dvbcut/dvbcut-0.6.0.ebuild,v 1.4 2009/06/23 15:43:16 zzam Exp $

EAPI=2

inherit eutils qt3

DESCRIPTION="frame-accurate editing of MPEG-2 video with MPEG and AC3 audio"
HOMEPAGE="http://dvbcut.sourceforge.net"
#SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
SRC_URI="http://www.mr511.de/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="x11-libs/qt:3
	media-libs/a52dec
	media-libs/libao
	media-libs/libmad
	media-video/ffmpeg"

DEPEND="${RDEPEND}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-parallel-install.patch
	epatch "${FILESDIR}"/${P}-gcc-4.4.patch
}

src_configure() {
	econf --with-ffmpeg=/usr
}

src_install() {
	emake DESTDIR="${D}" install \
		|| die "Emake install failed"
	make_desktop_entry dvbcut DVBcut
	dodoc ChangeLog CREDITS README README.ffmpeg README.icons
}