]>
Commit | Line | Data |
---|---|---|
94cb018b | 1 | # |
5e37db9a PG |
2 | # TODO: |
3 | # - use external lrmi and few other libs: | |
4 | # http://www.gocyberlink.com/english/products/powercinema/pcm-linux/license/mplayer-10_copyright.htm | |
5 | # | |
94cb018b | 6 | # Conditional build: |
8cc223f8 JB |
7 | %bcond_with directfb # with DirectFB video output |
8 | %bcond_with divx4linux # with divx4linux a/v support (binaries, instead | |
9 | # of included OpenDivx) | |
33c4efab | 10 | |
8cc223f8 JB |
11 | %bcond_with dxr3 # enable use of DXR3/H+ hardware MPEG decoder |
12 | %bcond_with ggi # with ggi video output | |
8cc223f8 JB |
13 | %bcond_with nas # with NAS audio output |
14 | %bcond_with svga # with svgalib video output | |
15 | %bcond_with osd # with osd menu support | |
33c4efab | 16 | |
198487b4 JB |
17 | %bcond_with altivec # with altivec support (won't run w/o altivec |
18 | # due to instruction used in CPU detection(?)) | |
1837afdf | 19 | |
2af58a38 | 20 | %bcond_with xmms # with XMMS inputplugin support |
21 | ||
8cc223f8 | 22 | %bcond_without aalib # without aalib video output |
e5b91f83 | 23 | %bcond_without jack # without JACKD support |
8cc223f8 JB |
24 | %bcond_without alsa # without ALSA audio output |
25 | %bcond_without arts # without arts audio output | |
dd153a0d | 26 | %bcond_without caca # without libcaca video output |
8cc223f8 | 27 | %bcond_without dshow # disable DirectShow support |
8d7378f8 | 28 | %bcond_without gui # without GTK+ GUI |
8cc223f8 | 29 | %bcond_without joystick # disable joystick support |
a4298e0c | 30 | %bcond_without libdv # disable libdv en/decoding support |
8cc223f8 | 31 | %bcond_without lirc # without lirc support |
5f4f63f5 | 32 | %bcond_without live # without live.com libraries |
8cc223f8 | 33 | %bcond_without mad # without mad (audio MPEG) support |
8e34a548 | 34 | %bcond_without polyp # without polyp audio output |
8cc223f8 JB |
35 | %bcond_without quicktime # without binary quicktime dll support |
36 | %bcond_without real # without Real* 8/9 codecs support | |
37 | %bcond_without runtime # disable runtime cpu detection, just detect CPU | |
38 | # in compile time (advertised by mplayer | |
39 | # authors as working faster); in this case | |
40 | # mplayer may not work on machine other then | |
41 | # where it was compiled | |
42 | %bcond_without select # disable audio select() support (for example | |
43 | # required this option ALSA or Vortex2 driver) | |
a4298e0c | 44 | %bcond_without smb # disable Samba (SMB) input support |
de0c2d91 | 45 | %bcond_without theora # without theora support |
8cc223f8 | 46 | %bcond_without win32 # without win32 codecs support |
3b930ad6 | 47 | %bcond_without vorbis # without Ogg-Vorbis audio support |
2af58a38 | 48 | %bcond_without mencoder # disable mencoder (a/v encoder) compilation |
49aed190 | 49 | %bcond_without libdts # disable libdts support |
96f85681 | 50 | |
8cc223f8 | 51 | %bcond_with gtk2 # EXPERIMENTAL support for GTK+ version 2 |
717ab96e | 52 | %bcond_with xlibs |
2dfabf36 | 53 | |
94cb018b JB |
54 | %ifnarch %{ix86} |
55 | %undefine with_win32 | |
7a82c266 | 56 | %undefine with_quicktime |
94cb018b JB |
57 | %endif |
58 | ||
b543a46d | 59 | # set it to 0, or 1 |
470cd891 | 60 | %define snapshot 0 |
b543a46d | 61 | |
b458005d | 62 | %define sname MPlayer |
198487b4 | 63 | %define snap %{nil} |
268c9ea9 | 64 | |
76124ffb | 65 | %define pre pre7try2 |
78b5604e | 66 | |
c902f7c6 | 67 | Summary: Yet another movie player |
68 |