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

Collapse All | Expand All

(-)mjpegtools-2.0.0.ebuild (-5 / +11 lines)
Lines 4-10 Link Here
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit flag-o-matic linux-info toolchain-funcs
7
inherit autotools eutils flag-o-matic linux-info toolchain-funcs
8
8
9
MY_P=${P/_/}
9
MY_P=${P/_/}
10
10
Lines 14-23 Link Here
14
14
15
LICENSE="GPL-2"
15
LICENSE="GPL-2"
16
SLOT="1"
16
SLOT="1"
17
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
17
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
18
IUSE="dga dv gtk mmx png quicktime sdl static-libs v4l X"
18
IUSE="dga dv gtk mmx png quicktime sdl sdlgfx static-libs v4l X"
19
REQUIRED_USE="!X? ( !gtk !sdl )
19
REQUIRED_USE="!X? ( !gtk !sdl )
20
	X? ( sdl )"
20
	X? ( sdl )
21
	sdlgfx? ( sdl )"
21
22
22
RDEPEND="virtual/jpeg
23
RDEPEND="virtual/jpeg
23
	quicktime? ( media-libs/libquicktime )
24
	quicktime? ( media-libs/libquicktime )
Lines 27-33 Link Here
27
	X? ( x11-libs/libX11
28
	X? ( x11-libs/libX11
28
		x11-libs/libXt
29
		x11-libs/libXt
29
		gtk? ( x11-libs/gtk+:2 )
30
		gtk? ( x11-libs/gtk+:2 )
30
		sdl? ( >=media-libs/libsdl-1.2.7-r3 )
31
		sdl? ( >=media-libs/libsdl-1.2.7-r3
32
			sdlgfx? ( media-libs/sdl-gfx )
33
		)
31
	 )"
34
	 )"
32
35
33
DEPEND="${RDEPEND}
36
DEPEND="${RDEPEND}
Lines 49-54 Link Here
49
pkg_setup() { : ; }
52
pkg_setup() { : ; }
50
53
51
src_prepare() {
54
src_prepare() {
55
	epatch "${FILESDIR}"/${P}-sdlgfx-automagic.patch
56
	eautoreconf
52
	sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
57
	sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
53
}
58
}
54
59
Lines 66-71 Link Here
66
		$(use_with dga) \
71
		$(use_with dga) \
67
		$(use_with gtk) \
72
		$(use_with gtk) \
68
		$(use_with sdl libsdl) \
73
		$(use_with sdl libsdl) \
74
		$(use_with sdlgfx) \
69
		$(use_with v4l) \
75
		$(use_with v4l) \
70
		$(use_with X x)
76
		$(use_with X x)
71
}
77
}

Return to bug 259207