Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 71485
Collapse All | Expand All

(-)old/ffmpeg-0.4.9_p20050226-r5.ebuild (-2 / +13 lines)
Lines 12-25 Link Here
12
S_STATIC=${S_BASE}-static
12
S_STATIC=${S_BASE}-static
13
S_SHARED=${S_BASE}-shared
13
S_SHARED=${S_BASE}-shared
14
14
15
SRC_URI="mirror://sourceforge/ffmpeg/${MY_P}.tbz2"
15
SRC_URI="mirror://sourceforge/ffmpeg/${MY_P}.tbz2
16
		amr? (
17
			http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip
18
			http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip
19
		)"
16
20
17
LICENSE="GPL-2"
21
LICENSE="GPL-2"
18
SLOT="0"
22
SLOT="0"
19
# ~alpha need to test aac useflag
23
# ~alpha need to test aac useflag
20
# ~ia64 ~arm ~mips ~hppa
24
# ~ia64 ~arm ~mips ~hppa
21
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
25
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
22
IUSE="aac altivec debug doc ieee1394 a52 encode imlib mmx ogg vorbis oss threads truetype v4l xvid dts network zlib sdl"
26
IUSE="aac altivec amr debug doc ieee1394 a52 encode imlib mmx ogg vorbis oss threads truetype v4l xvid dts network zlib sdl"
23
27
24
# Theora support has switch but there's no oggtheora.c sourcefile...
28
# Theora support has switch but there's no oggtheora.c sourcefile...
25
29
Lines 63-68 Link Here
63
	epatch ${FILESDIR}/${PN}-a52.patch
67
	epatch ${FILESDIR}/${PN}-a52.patch
64
	epatch ${FILESDIR}/${PN}-missing_links.patch
68
	epatch ${FILESDIR}/${PN}-missing_links.patch
65
69
70
	if use amr; then
71
		mkdir ${S_BASE}/libavcodec/amr_float ${S_BASE}/libavcodec/amrwb_float
72
		unzip ${WORKDIR}/26104-510_ANSI_C_source_code.zip -d ${S_BASE}/libavcodec/amr_float
73
		unzip ${WORKDIR}/26204-510_ANSI-C_source_code.zip -d ${S_BASE}/libavcodec/amrwb_float
74
	fi
75
66
	cd ${S}
76
	cd ${S}
67
	cp -R ${S_BASE} ${S_STATIC}
77
	cp -R ${S_BASE} ${S_STATIC}
68
	mv ${S_BASE} ${S_SHARED}
78
	mv ${S_BASE} ${S_SHARED}
Lines 104-109 Link Here
104
		$(use_enable zlib) \
114
		$(use_enable zlib) \
105
		$(use_enable sdl ffplay) \
115
		$(use_enable sdl ffplay) \
106
		$(use_enable aac faad) $(use_enable aac faac) --disable-faadbin \
116
		$(use_enable aac faad) $(use_enable aac faac) --disable-faadbin \
117
		$(use_enable amr amr_nb) $(use_enable amr amr_wb) \
107
		--enable-gpl \
118
		--enable-gpl \
108
		--enable-pp \
119
		--enable-pp \
109
		--disable-opts"
120
		--disable-opts"

Return to bug 71485