Ticket #142: mplayer.spec.patch

File mplayer.spec.patch, 1.6 KB (added by kristof.p@…, 22 years ago)

Build options

  • mplayer.

    old new  
    22#
    33# Conditional build
    44#
     5# --without mga         - without Matrox G200/G4x0/G550 support
     6# --without xmga        --without Matrox X Window support
     7# --without tdfxfb      --without Voodoo 3/banshee support
    58# --with aalib          - with aalib video output
    69# --with directfb       - with DirectFB video output
    710# --with dxr3           - with DXR3 video output
    … …  
    4750%define version 1.0pre6
    4851%define cvsbuild 20040924
    4952
    50 %define rel 1
     53%define rel 2
    5154
    5255%define cvs 1
    5356
    … …  
    111114Patch10: %{name}-loader-printf.patch
    112115Patch11: %{name}-printf-format.patch
    113116Patch12: %{name}-warnings-printf.patch
    114 Copyright: GPL
     117License: GPL
    115118Epoch: 2
    116119BuildRoot: %{_tmppath}/%{name}-%{version}-root
    117120%if %{_distro} == rh7
    … …  
    361364                        --enable-runtime-cpudetection \
    362365%endif
    363366                        --enable-largefiles \
    364                         --enable-mga \
    365                         --enable-xmga \
    366                         --enable-tdfxfb \
     367%{?_without_mga:        --disable-mga} \
     368%{?_without_xmga:       --disable-xmga} \
     369%{?_without_tdfxfb:     --disable-tdfxfb} \
    367370%{!?_with_aalib:        --disable-aa} \
    368371%{!?_with_alsa:         --disable-alsa} \
    369372%{!?_with_arts:         --disable-arts} \
    … …  
    424427                        --enable-runtime-cpudetection \
    425428%endif
    426429                        --enable-largefiles \
    427                         --enable-mga \
    428                         --enable-xmga \
    429                         --enable-tdfxfb \
     430%{?_without_mga:        --disable-mga} \
     431%{?_without_xmga:       --disable-xmga} \
     432%{?_without_tdfxfb:     --disable-tdfxfb} \
    430433%{!?_with_aalib:        --disable-aa} \
    431434%{!?_with_alsa:         --disable-alsa} \
    432435%{!?_with_arts:         --disable-arts} \