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

Collapse All | Expand All

(-)media-libs/libdv/libdv-1.0.0-r4.ebuild (-2 / +8 lines)
Lines 14-24 Link Here
14
LICENSE="GPL-2"
14
LICENSE="GPL-2"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
16
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
17
IUSE="gtk sdl xv"
17
18
18
RDEPEND="dev-libs/popt:="
19
RDEPEND="dev-libs/popt:="
19
DEPEND="
20
DEPEND="
20
	${RDEPEND}
21
	${RDEPEND}
21
	media-libs/libsdl"
22
	gtk? ( x11-libs/gtk+ )
23
	sdl? ( media-libs/libsdl )
24
	xv?  ( x11-libs/libXv )"
22
BDEPEND="virtual/pkgconfig"
25
BDEPEND="virtual/pkgconfig"
23
26
24
PATCHES=(
27
PATCHES=(
Lines 30-35 Link Here
30
33
31
src_prepare() {
34
src_prepare() {
32
	default
35
	default
36
	use sdl || eapply "${FILESDIR}"/${PN}-1.0.0-nosdl.patch
33
	eautoreconf
37
	eautoreconf
34
38
35
	append-cppflags "-I${S}"
39
	append-cppflags "-I${S}"
Lines 39-45 Link Here
39
	ECONF_SOURCE="${S}"	econf \
43
	ECONF_SOURCE="${S}"	econf \
40
		--disable-static \
44
		--disable-static \
41
		--without-debug \
45
		--without-debug \
42
		--disable-gtk \
46
		$(use_enable gtk) \
47
		$(use_enable sdl) \
48
		$(use_enable xv) \
43
		$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
49
		$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
44
50
45
	if ! multilib_is_native_abi ; then
51
	if ! multilib_is_native_abi ; then

Return to bug 822951