summaryrefslogtreecommitdiff
blob: 7d90090fd398c11884a954ccca2a578f8ea847e0 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/kavi2svcd/kavi2svcd-0.8.7.ebuild,v 1.2 2007/11/27 12:06:12 zzam Exp $

inherit kde

DESCRIPTION="GUI for generating VCD-compliant MPEG files from an AVI or MPEG file"
HOMEPAGE="http://www.cornelinux.de/web/linux/kavi2svcd/index-english.html"
SRC_URI="mirror://sourceforge/kavi2svcd/${P}.tar.gz"

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

RDEPEND=">=media-video/transcode-0.6.6
	>=media-video/mjpegtools-1.6.0-r7
	vcd? ( >=dev-libs/libcdio-0.72
	    >=media-video/vcdimager-0.7.21
	    >=app-cdr/cdrdao-1.1.7-r1 )"

need-kde 3

S="${WORKDIR}/${PN}"

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i 's:;;$:;:' src/{prefclass,vcdclass}.h

	sed -r "s:0\.8\.[^7]:0.8.7:" -i Makefile.in {,src/}config.h admin/Makefile \
		configure{,.in,.in.in}
}