Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 268392 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-video/ffmpeg/ffmpeg-9999.ebuild (-3 / +25 lines)
Lines 28-34 Link Here
28
if [ "${PV#9999}" = "${PV}" ] ; then
28
if [ "${PV#9999}" = "${PV}" ] ; then
29
	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
29
	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
30
fi
30
fi
31
IUSE="+3dnow +3dnowext alsa altivec amr bindist +bzip2 cpudetection custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib"
31
IUSE="+3dnow +3dnowext alsa altivec amr bindist +bzip2 cpudetection custom-cflags debug dirac doc +encode faac ffmpeg-mt frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib"
32
32
33
VIDEO_CARDS="nvidia"
33
VIDEO_CARDS="nvidia"
34
34
Lines 78-86 Link Here
78
	v4l2? ( sys-kernel/linux-headers )
78
	v4l2? ( sys-kernel/linux-headers )
79
"
79
"
80
80
81
src_unpack() {
82
	if [ "${PV#9999}" != "${PV}" ] ; then
83
		if use ffmpeg-mt; then
84
			EGIT_REPO_URI="git://gitorious.org/ffmpeg/ffmpeg-mt"
85
			EGIT_PROJECT="ffmpeg-mt"
86
		fi
87
		git_src_unpack
88
89
		S="${WORKDIR}/${P}"
90
91
		cd "${WORKDIR}"
92
	else
93
		unpack ${A}
94
	fi
95
}
96
81
src_prepare() {
97
src_prepare() {
82
	if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
98
	# Snapshot
83
		sed -i -e "s/UNKNOWN/SVN-r${FFMPEG_REVISION}/" "${S}/version.sh" || die
99
	if [ "${PV%_p*}" != "${PV}" ] ; then
100
		sed -e "s/UNKNOWN/git-r${FFMPEG_REVISION}/" \
101
			-i version.sh || die
102
	fi
103
104
	if [ "${PV#9999}" = "${PV}" ] && use ffmpeg-mt ; then
105
		epatch "${DISTDIR}/${P}-ffmpeg-mt.patch"
84
	fi
106
	fi
85
}
107
}
86
108

Return to bug 268392