summaryrefslogtreecommitdiff
blob: 09f1814f3fd9edd8aa928a181115bf3f937731d9 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/y4mscaler/y4mscaler-9.0.ebuild,v 1.7 2008/10/31 12:14:20 aballier Exp $

SRC_URI="http://www.mir.com/DMG/Software/${P}-src.tgz"
DESCRIPTION="A video scaler which operates on YUV4MPEG2 streams, as used by the tools in the MJPEGtools project."
HOMEPAGE="http://www.mir.com/DMG/Software/"
LICENSE="GPL-2"

DEPEND=">=media-video/mjpegtools-1.8.0-r1"

KEYWORDS="amd64 x86"
IUSE=""
SLOT="0"

src_compile() {
	# There's no 'configure' script (yet)
	sed -i -e "s:CPU_OPT =:CPU_OPT = ${CXXFLAGS}:" Makefile
	emake || die
}

src_install() {
	# The program doesn't have an install routine (for now)
	dobin y4mscaler || die
	doman y4mscaler.1 || die
	dodoc ChangeLog README TODO
}