]> git.pld-linux.org Git - packages/mplayer.git/blame - mplayer.spec
- inversed
[packages/mplayer.git] / mplayer.spec
CommitLineData
94cb018b 1#
5e37db9a 2# TODO:
8a72e936 3# - nut support (http://www.nut.hu/ - currently down, but see svn.mplayerhq.hu/nut/)
b8145877 4# - update for lzo 2
8a72e936
JB
5# - update for pulseaudio (instead of old polypaudio)
6# - use external vidix?
7# - try to use external ffmpeg, lrmi and few other libs:
5e37db9a
PG
8# http://www.gocyberlink.com/english/products/powercinema/pcm-linux/license/mplayer-10_copyright.htm
9#
94cb018b 10# Conditional build:
8cc223f8 11%bcond_with directfb # with DirectFB video output
8cc223f8
JB
12%bcond_with dxr3 # enable use of DXR3/H+ hardware MPEG decoder
13%bcond_with ggi # with ggi video output
8cc223f8
JB
14%bcond_with nas # with NAS audio output
15%bcond_with svga # with svgalib video output
16%bcond_with osd # with osd menu support
93ab9715 17%bcond_without altivec # without altivec support
aeb67db6 18%bcond_without x264 # without x264 support (needs newer libx264 snap)
2af58a38 19%bcond_with xmms # with XMMS inputplugin support
8cc223f8 20%bcond_without aalib # without aalib video output
e5b91f83 21%bcond_without jack # without JACKD support
8cc223f8
JB
22%bcond_without alsa # without ALSA audio output
23%bcond_without arts # without arts audio output
dd153a0d 24%bcond_without caca # without libcaca video output
3c3fdfcc 25%bcond_without cdparanoia # without cdparanoia support
8cc223f8 26%bcond_without dshow # disable DirectShow support
3c3fdfcc
JB
27%bcond_without enca # disable using ENCA charset oracle library
28%bcond_without esd # disable EsounD sound support
29%bcond_without faad # disable FAAD2 (AAC) support
30%bcond_without gif # disable GIF support
8d7378f8 31%bcond_without gui # without GTK+ GUI
8cc223f8 32%bcond_without joystick # disable joystick support
3c3fdfcc 33%bcond_without libdts # disable libdts support
a4298e0c 34%bcond_without libdv # disable libdv en/decoding support
8cc223f8 35%bcond_without lirc # without lirc support
5f4f63f5 36%bcond_without live # without live.com libraries
b8145877 37%bcond_with lzo # with LZO support (requires lzo 1.x)
8cc223f8 38%bcond_without mad # without mad (audio MPEG) support
86bc294f 39%bcond_without pulseaudio # without pulseaudio output
8cc223f8
JB
40%bcond_without quicktime # without binary quicktime dll support
41%bcond_without real # without Real* 8/9 codecs support
42%bcond_without runtime # disable runtime cpu detection, just detect CPU
11421384
ER
43 # in compile time (advertised by mplayer authors as working faster); in this case
44 # mplayer may not work on machine other then where it was compiled
45%bcond_without select # disable audio select() support (for example required this option ALSA or Vortex2 driver)
a4298e0c 46%bcond_without smb # disable Samba (SMB) input support
de0c2d91 47%bcond_without theora # without theora support
8cc223f8 48%bcond_without win32 # without win32 codecs support
3b930ad6 49%bcond_without vorbis # without Ogg-Vorbis audio support
3c3fdfcc 50%bcond_without xvid # disable XviD codec
2af58a38 51%bcond_without mencoder # disable mencoder (a/v encoder) compilation
906bf13b 52%bcond_without sdl # disable SDL
aab7d90d 53%bcond_without doc # don't build docs (slow)
59a38ff4 54%bcond_with shared # experimental libmplayer.so support
439df4dd 55%bcond_with amr # enable 3GPP Adaptive Multi Rate (AMR) speech codec support
0256d486 56%bcond_without gnomess # disable controling gnome screensaver
2dfabf36 57
94cb018b
JB
58%ifnarch %{ix86}
59%undefine with_win32
7a82c266 60%undefine with_quicktime
94cb018b
JB
61%endif
62
906bf13b
JB
63%ifarch %{x8664}
64%undefine with_runtime
65%endif
1a8df7bd 66
67%if %{_lib} == "lib64"
68%define _suf 64
69%else
70%define _suf 32
71%endif
72
b543a46d 73# set it to 0, or 1
470cd891 74%define snapshot 0
b543a46d 75
b458005d 76%define sname MPlayer
198487b4 77%define snap %{nil}
268c9ea9 78
30e3739f 79%define pre rc1
78b5604e 80
906bf13b 81Summary: MPlayer - THE Movie Player for UN*X
deba608c 82Summary(de): MPlayer ist ein unter der freien GPL-Lizenz stehender Media-Player
c902f7c6 83