Ticket #55115: audacity.diff

File audacity.diff, 2.5 KB (added by RJVB (René Bertin), 7 years ago)
  • Portfile

    old new  
    33PortSystem          1.0
    44PortGroup           wxWidgets 1.0
    55PortGroup           compiler_blacklist_versions 1.0
     6PortGroup           active_variants 1.1
    67
    78name                audacity
    8 #conflicts           audacity-gtk
     9conflicts           audacity-gtk
    910
    1011description         A Free, Cross-Platform Digital Audio Editor.
    1112long_description    Audacity is a free, easy-to-use, multi-track audio editor and recorder \
     
    6669depends_build-append \
    6770                    port:${wxWidgets.port}
    6871
     72if {![catch {set wxw_stdlib [active_variants wxWidgets-3.0 stdlib]} err]} {
     73    if {${wxw_stdlib}} {
     74        long_description-append "This port needs wxWidgets-3.0 without the +stdlib variant."
     75        pre-fetch {
     76            ui_error "This port needs wxWidgets-3.0 without the +stdlib variant."
     77            return -code error "reinstall port:wxWidgets-3.0 without the +stdlib variant"
     78        }
     79    }
     80}
     81
    6982depends_build-append \
    7083                    port:cmake \
    7184                    port:pkgconfig \
     
    107120                    patch-python.diff                                       \
    108121                    patch-vstcontrolosx.diff \
    109122                    patch-libnyquist-symbol-visibility.diff \
    110                     patch-fix-casts.diff \
    111                     patch-add-MenusMac.diff \
    112                     patch-skip-gcc-version-test.diff
     123                    patch-fix-casts.diff \
     124                    patch-add-MenusMac.diff \
     125                    patch-skip-gcc-version-test.diff
     126    # for building against wxWidgets 3.0.3:
     127    patchfiles-append \
     128                    patch-wxw-303.diff
    113129}
    114130
    115131if {${subport} eq "${name}"} {
     
    233263}
    234264
    235265notes "
    236     In case Audacity cannot find FFmpeg or Lame, please locate these libraries\
     266    In case Audacity complains about finding FFmpeg or Lame, please locate these libraries\
    237267    under ${prefix}/lib in the Libraries section of the Preferences dialog (see\
    238     http://manual.audacityteam.org/man/installing_and_updating_audacity_on_mac_os_x.html#locate).
     268    http://manual.audacityteam.org/man/installing_and_updating_audacity_on_mac_os_x.html#locate)
    239269"
    240270
    241271# kate: backspace-indents true; indent-pasted-text true; indent-width 4; keep-extra-spaces true; remove-trailing-spaces modified; replace-tabs true; replace-tabs-save true; syntax Tcl/Tk; tab-indents true; tab-width 4;