View | Details | Raw Unified | Return to bug 110246
Collapse All | Expand All

(-)mplayer/Makefile (-15 / +12 lines)
Lines 24-29 Link Here
24
# RTCPU in your OPTIONS selection.
24
# RTCPU in your OPTIONS selection.
25
# The correct instruction set of your processor is normally
25
# The correct instruction set of your processor is normally
26
# auto-detected, so there is probably no necessity to change them.
26
# auto-detected, so there is probably no necessity to change them.
27
# Note that disabling SIMD via the OPTIONS framework completely
28
# disables utilization of vector engines, i.e. it implies
29
# WITHOUT_MMX, WITHOUT_3DNOW and WITHOUT_SSE
27
#
30
#
28
# WITHOUT_MMX
31
# WITHOUT_MMX
29
# default: autodetected
32
# default: autodetected
Lines 33-42 Link Here
33
# default: autodetected
36
# default: autodetected
34
# disables using of 3dNow! instructions on AMD CPUs
37
# disables using of 3dNow! instructions on AMD CPUs
35
#
38
#
36
# WITHOUT_DSP
37
# default: autodetected
38
# disables using of AMD Athlon DSP extentions
39
#
40
# WITHOUT_SSE
39
# WITHOUT_SSE
41
# default: autodetected
40
# default: autodetected
42
# disables all mmx2 and sse/sse2 code
41
# disables all mmx2 and sse/sse2 code
Lines 131-136 Link Here
131
.if !defined(MPLAYER_GENERIC_BUILD)
130
.if !defined(MPLAYER_GENERIC_BUILD)
132
OPTIONS+=	RTCPU "Let mplayer dynamically check for CPU features" on
131
OPTIONS+=	RTCPU "Let mplayer dynamically check for CPU features" on
133
OPTIONS+=	OCFLAGS "Use optimized compiler flags" on
132
OPTIONS+=	OCFLAGS "Use optimized compiler flags" on
133
OPTIONS+=	SIMD "Allow mplayer to use vector engines (MMX...)" on
134
OPTIONS+=	MENCODER "Support encoding of multimedia files" on
134
OPTIONS+=	MENCODER "Support encoding of multimedia files" on
135
OPTIONS+=	IPV6 "Include inet6 network support" on
135
OPTIONS+=	IPV6 "Include inet6 network support" on
136
OPTIONS+=	X11 "Enable X11 support for mplayer's video output" on
136
OPTIONS+=	X11 "Enable X11 support for mplayer's video output" on
Lines 316-322 Link Here
316
PLIST_SUB+=	MENCODER="@comment "
316
PLIST_SUB+=	MENCODER="@comment "
317
.endif
317
.endif
318
318
319
.if defined(WITH_NVIDIA)
319
.if defined(WITH_NVIDIA) && ${OSVERSION} < 600033
320
LIB_DEPENDS+=	XvMCNVIDIA.1:${PORTSDIR}/x11/nvidia-driver
320
LIB_DEPENDS+=	XvMCNVIDIA.1:${PORTSDIR}/x11/nvidia-driver
321
CONFIGURE_ARGS+=	--enable-xvmc \
321
CONFIGURE_ARGS+=	--enable-xvmc \
322
			--enable-xvmclib=XvMCNVIDIA
322
			--enable-xvmclib=XvMCNVIDIA
Lines 587-607 Link Here
587
.endif
587
.endif
588
588
589
# "enable" build for other archs
589
# "enable" build for other archs
590
.if ${ARCH} == "i386"
590
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
591
.if !defined(WITHOUT_RTCPU)
591
.if !defined(WITHOUT_RTCPU)
592
CONFIGURE_ARGS+=--enable-runtime-cpudetection
592
CONFIGURE_ARGS+=--enable-runtime-cpudetection
593
.else #WITH_RTCPU
593
.else #WITH_RTCPU
594
.if defined(WITHOUT_MMX)
594
.if defined(WITHOUT_MMX) || defined(WITHOUT_SIMD)
595
CONFIGURE_ARGS+=--disable-mmx
595
CONFIGURE_ARGS+=--disable-mmx
596
.endif
596
.endif
597
.if defined(WITHOUT_3DNOW) || ${OSVERSION} < 400021
597
.if defined(WITHOUT_3DNOW) || defined(WITHOUT_SIMD) || ${OSVERSION} < 400021
598
CONFIGURE_ARGS+=--disable-3dnow
598
CONFIGURE_ARGS+=--disable-3dnow --disable-3dnowext
599
.endif
600
.if defined(WITHOUT_DSP) || defined(WITHOUT_3DNOW) || ${OSVERSION} < 400021
601
CONFIGURE_ARGS+=--disable-3dnowex
602
.endif
599
.endif
603
.if defined(WITHOUT_SSE)
600
.if defined(WITHOUT_SSE) || defined(WITHOUT_SIMD)
604
CONFIGURE_ARGS+=--disable-mmx2 --disable-sse --disable-sse2
601
CONFIGURE_ARGS+=--disable-mmxext --disable-sse --disable-sse2
605
.endif
602
.endif
606
.endif #WITH_RTCPU
603
.endif #WITH_RTCPU
607
.if !defined(WITHOUT_WIN32)
604
.if !defined(WITHOUT_WIN32)
Lines 613-619 Link Here
613
CONFIGURE_ARGS+=	--disable-win32 \
610
CONFIGURE_ARGS+=	--disable-win32 \
614
			--disable-qtx-codecs
611
			--disable-qtx-codecs
615
.endif
612
.endif
616
.endif # ARCH == i386
613
.endif # ARCH == i386/amd64
617
614
618
pre-everything::
615
pre-everything::
619
	@${ECHO_MSG} "N - O - T - E"
616
	@${ECHO_MSG} "N - O - T - E"

Return to bug 110246