Changeset 92685


Ignore:
Timestamp:
May 3, 2012, 9:47:07 PM (5 years ago)
Author:
jeremyhu@…
Message:

VLC: Better organize configure.args and variants (removes portaudio and auhal, adds eyetv)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/VLC/Portfile

    r92676 r92685  
    1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    21# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    32# $Id$
     
    9998universal_variant   no
    10099
    101 configure.args-append \
    102     --enable-macosx --disable-macosx-audio --enable-a52 \
    103     --enable-faad --enable-flac --disable-live555 \
     100# Other
     101configure.args-append \
     102    --with-contrib=${worksrcpath}/contrib \
     103    --disable-debug --disable-update-check --enable-gnutls \
     104    --disable-notify --disable-telepathy --disable-dbus \
     105    --disable-grow
     106
     107# Input Plugins
     108configure.args-append \
     109    --disable-dvdnav --disable-dvdread --disable-smb --disable-vcdx \
     110    --disable-macosx-qtkit --disable-macosx-eyetv --disable-realrtsp \
     111    --enable-sftp
     112
     113# Mux/Demux Plugins
     114configure.args-append \
     115    --disable-dvbpsi --enable-ogg --enable-mux_ogg \
     116    --enable-mkv --disable-mod --disable-mpc --disable-shout
     117
     118# Codec Plugins
     119configure.args-append \
     120    --enable-a52 --enable-faad --enable-flac --disable-live555 \
    104121    --enable-vorbis --enable-ogg --enable-mad --disable-libass \
    105     --enable-dca --enable-gnutls --enable-ncurses --enable-png --enable-realrtsp \
    106     --disable-jack --disable-portaudio \
    107     --disable-debug --disable-xvideo --disable-glx \
    108     --disable-xcb --disable-qt4 --disable-quicktime \
    109     --disable-skins2 --disable-notify --disable-telepathy --disable-twolame \
    110     --disable-dvdnav --disable-dvdread \
    111     --disable-avcodec --disable-avformat --disable-postproc --disable-swscale \
    112     --disable-speex --disable-theora --disable-x264 --disable-dvbpsi \
    113     --disable-vcdx  --disable-fontconfig --disable-freetype \
    114     --disable-dbus --disable-bonjour --disable-fribidi --disable-goom \
    115     --disable-growl --disable-sdl --disable-caca --disable-smb \
    116     --disable-update-check --without-x --with-contrib=${worksrcpath}/contrib \
    117     --with-macosx-sdk=/
     122    --enable-dca --enable-png --disable-quicktime --disable-twolame \
     123    --disable-speex --disable-theora --disable-x264 --disable-postproc \
     124    --disable-avcodec --disable-avformat --disable-swscale
     125
     126# Video Plugins
     127configure.args-append \
     128    --disable-caca --disable-sdl --disable-macosx-vout \
     129    --without-x --disable-xcb --disable-xvideo --disable-glx \
     130    --disable-fontconfig --disable-freetype --disable-fribidi \
     131    --disable-svg
     132
     133# Audio Plugins
     134configure.args-append \
     135    --disable-macosx-audio --disable-jack
     136
     137# Interface Plugins
     138configure.args-append \
     139    --disable-macos --disable-macosx-dialog-provider \
     140    --disable-qt4 --enable-ncurses --disable-skins2
     141
     142# Visualisations and Video Filter Plugins
     143configure.args-append \
     144    --disable-goom
     145
     146# Service Discovery Plugins
     147configure.args-append \
     148    --disable-bonjour
    118149
    119150variant jack description {Enable jack plugin for audio output} {
     
    123154}
    124155
    125 variant portaudio description {Enable portaudio module for audio output} {
    126     depends_lib-append      port:portaudio
    127     configure.args-delete   --disable-portaudio
    128     configure.args-append   --enable-portaudio
    129 }
    130 
    131 variant auhal description {Enable CoreAudio module for audio output} {
    132     configure.args-delete   --disable-macosx-audio
    133     configure.args-append   --enable-macosx-audio
    134 }
    135 
    136156variant qtkit description {Enable qtcapture and qtaudio} {
    137157    configure.args-delete   --disable-macosx-qtkit
    138158    configure.args-append   --enable-macosx-qtkit
     159}
     160
     161variant eyetv description {Enable eyetv plugin} {
     162    configure.args-delete --disable-macosx-eyetv
     163    configure.args-append --disable-macosx-eyetv
    139164}
    140165
     
    165190variant svg description {Enable SVG support} {
    166191    depends_lib-append      port:librsvg
     192    configure.args-delete   --disable-svg
    167193    configure.args-append   --enable-svg
    168194}
     
    170196variant shout description {Enable Shoutcast support} {
    171197    depends_lib-append      port:libshout2
     198    configure.args-delete   --disable-shout
    172199    configure.args-append   --enable-shout
    173200}
     
    199226variant osd description {Enable onscreen display and TrueType font support} {
    200227    depends_lib-append      port:fontconfig port:freetype
    201     configure.args-delete   --disable-fontconfig
    202     configure.args-delete   --disable-freetype
    203     configure.args-append   --enable-freetype
     228    configure.args-delete   --disable-freetype --disable-fontconfig
     229    configure.args-append   --enable-freetype --enable-fontconfig
    204230}
    205231
     
    264290}
    265291
    266 default_variants +auhal +dvd +ffmpeg +mod +mpc +osd +theora +twolame +x264
     292default_variants +dvd +ffmpeg +mod +mpc +osd +theora +twolame +x264
    267293
    268294variant huge \
    269     requires auhal bonjour dvb dvd ffmpeg fribidi jack mod mpc osd portaudio qtkit sdl shout speex svg theora twolame vcd x264 \
     295    requires bonjour dvb dvd ffmpeg fribidi jack mod mpc osd qtkit sdl shout speex svg theora twolame vcd x264 \
    270296    description {Enable all variants except x11, qt4, and smb} {}
    271297
     
    275301
    276302platform macosx {
     303    configure.args-delete \
     304        --disable-macosx-vout --disable-macosx-audio \
     305        --disable-macos --disable-macosx-dialog-provider
     306
     307    configure.args-append \
     308        --enable-macosx-vout --enable-macosx-audio \
     309        --enable-macos --enable-macosx-dialog-provider \
     310        --with-macosx-sdk=/
     311
    277312    post-destroot {
    278313        file rename ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC.app
Note: See TracChangeset for help on using the changeset viewer.