Lines 2-22
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/y4mscaler/y4mscaler-9.0.ebuild,v 1.4 2007/07/28 16:44:25 angelos Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/y4mscaler/y4mscaler-9.0.ebuild,v 1.4 2007/07/28 16:44:25 angelos Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils |
6 |
|
5 |
SRC_URI="http://www.mir.com/DMG/Software/${P}-src.tgz" |
7 |
SRC_URI="http://www.mir.com/DMG/Software/${P}-src.tgz" |
6 |
DESCRIPTION="y4mscaler is a video scaler which operates on YUV4MPEG2 streams, as used by the tools in the MJPEGtools project." |
8 |
DESCRIPTION="y4mscaler is a video scaler which operates on YUV4MPEG2 streams, as used by the tools in the MJPEGtools project." |
7 |
HOMEPAGE="http://www.mir.com/DMG/Software/" |
9 |
HOMEPAGE="http://www.mir.com/DMG/Software/" |
8 |
LICENSE="GPL-2" |
10 |
LICENSE="GPL-2" |
9 |
|
11 |
|
10 |
DEPEND=">=media-video/mjpegtools-1.8.0-r1" |
12 |
DEPEND=">=media-video/mjpegtools-1.9.0_rc3" |
11 |
|
13 |
|
12 |
KEYWORDS="amd64 x86" |
14 |
KEYWORDS="~amd64 ~x86" |
13 |
|
15 |
|
14 |
SLOT="0" |
16 |
SLOT="0" |
15 |
|
17 |
|
|
|
18 |
src_unpack() { |
19 |
unpack ${A} |
20 |
cd ${S} |
21 |
if has_version '>=media-video/mjpegtools-1.9_rc3' ; then |
22 |
epatch ${FILESDIR}/y4mscaler-mjpeg-1.9.patch |
23 |
fi |
24 |
} |
25 |
|
16 |
src_compile() { |
26 |
src_compile() { |
17 |
# There's no 'configure' script (yet) |
27 |
# There's no 'configure' script (yet) |
18 |
sed -i -e "s:CPU_OPT =:CPU_OPT = ${CXXFLAGS}:" Makefile |
28 |
sed -i -e "s:CPU_OPT =:CPU_OPT = ${CXXFLAGS}:" Makefile |
19 |
emake |
29 |
emake || die "emake failed" |
20 |
} |
30 |
} |
21 |
|
31 |
|
22 |
src_install() { |
32 |
src_install() { |