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

Collapse All | Expand All

(-)mplayer-1.0_pre1.ebuild (-13 / +1 lines)
Lines 54-59 Link Here
54
	media-sound/cdparanoia
54
	media-sound/cdparanoia
55
	mpeg? ( media-libs/faad2 )
55
	mpeg? ( media-libs/faad2 )
56
	samba? ( >=net-fs/samba-2.2.8a )
56
	samba? ( >=net-fs/samba-2.2.8a )
57
	matrox? ( =media-video/mga_vid-${PV} )
57
	>=sys-apps/portage-2.0.36"
58
	>=sys-apps/portage-2.0.36"
58
#	dvd? ( media-libs/libdvdnav )
59
#	dvd? ( media-libs/libdvdnav )
59
# Hardcode paranoia support for now, as there is no
60
# Hardcode paranoia support for now, as there is no
Lines 107-114 Link Here
107
108
108
src_compile() {
109
src_compile() {
109
110
110
	use matrox && check_KV
111
112
	local myconf=
111
	local myconf=
113
112
114
	use 3dnow \
113
	use 3dnow \
Lines 290-300 Link Here
290
	cd ${S}/libavcodec/libpostproc
289
	cd ${S}/libavcodec/libpostproc
291
	make SHARED_PP="yes" || die "Failed to build libpostproc.so!"
290
	make SHARED_PP="yes" || die "Failed to build libpostproc.so!"
292
291
293
	if [ -n "`use matrox`" ]
294
	then
295
		cd ${S}/drivers
296
		make all || die "Failed to build matrox driver!"
297
	fi
298
}
292
}
299
293
300
src_install() {
294
src_install() {
Lines 360-371 Link Here
360
	doins ${S}/etc/input.conf
354
	doins ${S}/etc/input.conf
361
	doins ${S}/etc/menu.conf
355
	doins ${S}/etc/menu.conf
362
356
363
	if [ -n "`use matrox`" ]
364
	then
365
		check_KV
366
		insinto /lib/modules/${KV}/kernel/drivers/char
367
		doins ${S}/drivers/mga_vid.o
368
	fi
369
}
357
}
370
358
371
pkg_preinst() {
359
pkg_preinst() {

Return to bug 28846