Changeset 92694


Ignore:
Timestamp:
May 4, 2012, 1:35:25 AM (5 years ago)
Author:
jeremyhu@…
Message:

VLC: Fix a typo and disable qtkit on Leopard (#34321)

File:
1 edited

Legend:

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

    r92690 r92694  
    7070        ${worksrcpath}/Makefile.am
    7171
     72    reinplace "/argv/s/environ/*_NSGetEnviron()/" \
     73        ${worksrcpath}/modules/misc/inhibit/xdg.c \
     74        ${worksrcpath}/modules/misc/inhibit/xscreensaver.c
     75
     76    reinplace "s/extern char \\*\\*environ;/#include <crt_externs.h>/" \
     77        ${worksrcpath}/modules/misc/inhibit/xdg.c \
     78        ${worksrcpath}/modules/misc/inhibit/xscreensaver.c
     79
    7280    reinplace "s:librsvg-2/librsvg:librsvg:" \
    7381        ${worksrcpath}/modules/text_renderer/svg.c
     
    103111    --disable-debug --disable-update-check --enable-gnutls \
    104112    --disable-notify --disable-telepathy --disable-dbus \
    105     --disable-grow --disable-macosx-vlc-app
     113    --disable-growl --disable-macosx-vlc-app
    106114
    107115# Input Plugins
     
    157165    configure.args-delete   --disable-macosx-qtkit
    158166    configure.args-append   --enable-macosx-qtkit
     167
     168    if {${os.major} < 10} {
     169        ui_error "The +qtkit variant requires Snow Leopard or greater"
     170        return -code error "incompatible Mac OS X version"
     171    }
    159172}
    160173
     
    305318
    306319variant huge \
    307     requires bonjour dvb dvd ffmpeg fribidi jack mod mpc osd qtkit sdl shout speex svg theora twolame vcd x264 \
     320    requires bonjour dvb dvd ffmpeg fribidi jack mod mpc osd sdl shout speex svg theora twolame vcd x264 \
    308321    description {Enable all variants except quartz, qt4, smb, and x11} {}
    309322
     
    313326
    314327platform macosx {
     328    if {${os.major} > 9} {
     329        default_variants-append +qtkit
     330    }
     331
    315332    configure.args-delete \
    316333        --disable-macosx-vout --disable-macosx-audio \
Note: See TracChangeset for help on using the changeset viewer.