# Conditional build:
%bcond_with directfb # with DirectFB video output
%bcond_with divx4linux # with divx4linux a/v support (binaries, instead
# Conditional build:
%bcond_with directfb # with DirectFB video output
%bcond_with divx4linux # with divx4linux a/v support (binaries, instead
%bcond_without dshow # disable DirectShow support
%bcond_without gui # without gui gtk+ interfeace
%bcond_without joystick # disable joystick support
%bcond_without dshow # disable DirectShow support
%bcond_without gui # without gui gtk+ interfeace
%bcond_without joystick # disable joystick support
%bcond_without lirc # without lirc support
%bcond_without mad # without mad (audio MPEG) support
%bcond_without quicktime # without binary quicktime dll support
%bcond_without lirc # without lirc support
%bcond_without mad # without mad (audio MPEG) support
%bcond_without quicktime # without binary quicktime dll support
# where it was compiled
%bcond_without select # disable audio select() support (for example
# required this option ALSA or Vortex2 driver)
# where it was compiled
%bcond_without select # disable audio select() support (for example
# required this option ALSA or Vortex2 driver)
%bcond_without theora # without theora support
%bcond_without win32 # without win32 codecs support
%bcond_without vorbis # without ogg-vorbis audio support
%bcond_without theora # without theora support
%bcond_without win32 # without win32 codecs support
%bcond_without vorbis # without ogg-vorbis audio support
%{!?with_dshow:--disable-dshow} \
%{?with_gui:--enable-gui} \
%{?with_joystick:--enable-joystick} \
%{!?with_dshow:--disable-dshow} \
%{?with_gui:--enable-gui} \
%{?with_joystick:--enable-joystick} \
%{!?with_lirc:--disable-lirc} \
%{!?with_mad:--disable-mad} \
%{!?with_quicktime:--disable-qtx} \
%{!?with_lirc:--disable-lirc} \
%{!?with_mad:--disable-mad} \
%{!?with_quicktime:--disable-qtx} \
%{!?with_runtime:--disable-runtime-cpudetection} \
%{?with_runtime:--enable-runtime-cpudetection} \
%{!?with_select:--disable-select} \
%{!?with_runtime:--disable-runtime-cpudetection} \
%{?with_runtime:--enable-runtime-cpudetection} \
%{!?with_select:--disable-select} \
%{!?with_win32:--disable-win32} \
%{!?with_vorbis:--disable-vorbis} \
%{?with_osd:--enable-menu} \
%{!?with_theora:--disable-theora} \
--enable-dga \
%{!?with_win32:--disable-win32} \
%{!?with_vorbis:--disable-vorbis} \
%{?with_osd:--enable-menu} \
%{!?with_theora:--disable-theora} \
--enable-dga \