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

Collapse All | Expand All

(-)mjpegtools-1.6.2-r3.ebuild.orig (-7 / +13 lines)
Lines 12-16 Link Here
12
SLOT="1"
12
SLOT="1"
13
KEYWORDS="x86 ppc amd64 ~sparc"
13
KEYWORDS="x86 ppc amd64 ~sparc"
14
IUSE="gtk avi dv quicktime sdl X yv12 3dnow mmx sse"
14
IUSE="gtk avi dv quicktime sdl X yv12 3dnow mmx sse v4l"
15
15
16
DEPEND="media-libs/jpeg
16
DEPEND="media-libs/jpeg
Lines 37-44 Link Here
37
	epatch ${FILESDIR}/${P}-gcc34.patch
37
	epatch ${FILESDIR}/${P}-gcc34.patch
38
	epatch ${FILESDIR}/${P}-gcc34-altivec.patch
38
	epatch ${FILESDIR}/${P}-gcc34-altivec.patch
39
39
      
40
	# remove checks for gtk in configure in
40
	epatch ${FILESDIR}/${P}-config.patch
41
	use gtk || epatch ${FILESDIR}/${P}-nogtk.patch
41
	autoreconf
42
42
	
43
	if use ppc; then
43
	if use ppc; then
44
		# Fix an error in the detection of the altivec-support
44
		# Fix an error in the detection of the altivec-support
Lines 73-79 Link Here
73
			myconf="${myconf} --with-dv-yv12"
73
			myconf="${myconf} --with-dv-yv12"
74
		fi
74
		fi
75
	elif use yv12; then
75
	else
76
		ewarn "yv12 support is only possible when \"dv\" is in your USE flags."
76
		myconf="${myconf} --without-dv"
77
		if use yv12; then
78
			ewarn "yv12 support is only possible when \"dv\" is in your USE flags."
79
		fi
77
	fi
80
	fi
81
	
82
	use v4l || myconf="${myconf} --without-v4l"
83
	use gtk || myconf="${myconf} --without-gtk"
78
84
79
	if use x86; then
85
	if use x86; then

Return to bug 73068