Ticket #19962: VLC-0.9.9a-aqua+libxml2.diff

File VLC-0.9.9a-aqua+libxml2.diff, 1.8 KB (added by max@…, 15 years ago)
  • dports/multimedia/VLC/Portfile

    diff --git a/dports/multimedia/VLC/Portfile b/dports/multimedia/VLC/Portfile
    index 362ccbf..f77ee12 100644
    a b PortSystem 1.0 
    44
    55name                            VLC
    66version                         0.9.9a
    7 revision                        1
     7revision                        2
    88
    99categories                      multimedia
    1010
    depends_lib port:lame port:a52dec port:libogg port:flac \ 
    3535                port:libvorbis port:libmatroska port:libid3tag \
    3636                port:ncurses port:lua port:libpng port:jpeg \
    3737                port:libdvdplay port:libdvdnav port:ffmpeg \
    38                 port:gnutls port:taglib
     38                port:gnutls port:taglib port:libxml2
    3939
    4040patchfiles                      VLC-Makefile.am.patch
    4141
    autoreconf.args -fvi 
    4949#configure.objc         ${prefix}/bin/llvm-gcc-4.2
    5050
    5151build.target            all
    52 destroot.target         install VLC.app
     52destroot.target         install
    5353
    5454livecheck.url           http://download.videolan.org/pub/videolan/vlc/
    5555livecheck.regex         <a href=\"(\\d\[\\d|\.|\\w\]+).*/\">
    variant qt4 description {Build using QT4 UI. This will use qt4-x11 if +x11 and 
    207207    configure.pkg_config_path "${configure.pkg_config_path}:${qt_dir}/lib/pkgconfig"
    208208}
    209209
    210 variant aqua description {Install VLC.app} {
     210platform macosx {
    211211        destroot.target-append  VLC.app
    212212}
    213213
    variant full requires huge qt4 smb \ 
    222222
    223223# Unless minimal variant is set compile with default OSX configuration
    224224if {![variant_isset minimal]} {
    225         default_variants +aqua +x264 +theora +twolame +mod +mpc +osd
     225        default_variants +x264 +theora +twolame +mod +mpc +osd
    226226}
    227227
    228228if {[variant_isset x11]} {
    if {[variant_isset x11]} { 
    230230}
    231231
    232232post-destroot {
    233         if {[variant_isset aqua]} {
     233        if {[variant_isset macosx]} {
    234234                file mkdir ${destroot}/${applications_dir}
    235235                file rename ${worksrcpath}/VLC.app ${destroot}/${applications_dir}/VLC.app
    236236        }