| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 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/x264-encoder/x264-encoder-0.0.20110426.ebuild,v 1.5 2011/08/27 17:48:17 armin76 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20110426.ebuild,v 1.6 2012/05/05 08:58:56 jdhore Exp $ |
| 4 | |
4 | |
| 5 | EAPI=2 |
5 | EAPI=2 |
| 6 | inherit eutils multilib toolchain-funcs versionator |
6 | inherit eutils multilib toolchain-funcs versionator |
| 7 | |
7 | |
| 8 | MY_P=x264-snapshot-$(get_version_component_range 3)-2245 |
8 | MY_P=x264-snapshot-$(get_version_component_range 3)-2245 |
| … | |
… | |
| 22 | DEPEND="${RDEPEND} |
22 | DEPEND="${RDEPEND} |
| 23 | amd64? ( >=dev-lang/yasm-0.6.2 ) |
23 | amd64? ( >=dev-lang/yasm-0.6.2 ) |
| 24 | x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) |
24 | x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) |
| 25 | !<dev-lang/yasm-0.6.2 ) |
25 | !<dev-lang/yasm-0.6.2 ) |
| 26 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 ) |
26 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 ) |
| 27 | dev-util/pkgconfig" |
27 | virtual/pkgconfig" |
| 28 | |
28 | |
| 29 | S="${WORKDIR}/${MY_P}" |
29 | S="${WORKDIR}/${MY_P}" |
| 30 | |
30 | |
| 31 | src_prepare() { |
31 | src_prepare() { |
| 32 | epatch "${FILESDIR}"/${PN}-nostrip.patch \ |
32 | epatch "${FILESDIR}"/${PN}-nostrip.patch \ |