You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/y4mscaler/y4mscaler-9.0-r1.ebuild

34 lines
975 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/y4mscaler/y4mscaler-9.0-r1.ebuild,v 1.3 2011/06/20 08:33:57 phajdan.jr Exp $
inherit eutils toolchain-funcs
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.9.0_rc3"
KEYWORDS="amd64 x86"
IUSE=""
SLOT="0"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-mjpeg-1.9.patch"
# There's no 'configure' script (yet)
sed -i -e "s:CPU_OPT =:CPU_OPT = ${CXXFLAGS}:" Makefile
sed -i -e "s:^LDFLAGS =:LDFLAGS +=:" Makefile
tc-export CXX
}
src_install() {
# The program doesn't have an install routine (for now)
dobin y4mscaler || die
doman y4mscaler.1 || die
dodoc ChangeLog README TODO
}