Ticket #44589: gstreamer010_1-gst-plugins-good-pulseaudio-variant.diff

File gstreamer010_1-gst-plugins-good-pulseaudio-variant.diff, 2.9 KB (added by Ionic (Mihai Moldovan), 10 years ago)

gstreamer{010,1}-gst-plugins-good: add a (default-on) variant for pulseaudio.

  • ports/gnome/gstreamer010-gst-plugins-good/Portfile

     
    1010name                gstreamer010-gst-plugins-good
    1111set my_name         gst-plugins-good
    1212version             0.10.31
    13 revision            6
     13revision            7
    1414description         \
    1515    A set of good-quality plug-ins for GStreamer under GStreamer's preferred \
    1616    license, LGPL.
     
    4646    port:libshout2 \
    4747    port:libsoup \
    4848    path:lib/libspeex.dylib:speex \
    49     port:pulseaudio \
    5049    port:taglib \
    5150    port:wavpack
    52      
     51
    5352patchfiles  automake.patch po.patch
    5453
    5554post-patch {
     
    6160use_autoreconf          yes
    6261autoreconf.args         -fvi
    6362
    64 configure.args-append   --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink
     63configure.args-append   --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink --disable-pulse
    6564configure.env-append    "HAVE_CXX=yes"
    6665
     66variant pulseaudio description {Enable with PulseAudio support} {
     67    depends_lib-append      port:pulseaudio
     68    configure.args-replace  --disable-pulse \
     69                            --enable-pulse
     70}
     71
     72default_variants    +pulseaudio
     73
    6774if {[variant_isset universal]} {
    6875    set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
    6976    set merger_host(i386) i686-apple-${os.platform}${os.major}
  • ports/gnome/gstreamer1-gst-plugins-good/Portfile

     
    1010name                gstreamer1-gst-plugins-good
    1111set my_name         gst-plugins-good
    1212version             1.4.0
     13revision            1
    1314set branch          [join [lrange [split ${version} .] 0 1] .]
    1415description         \
    1516    A set of good-quality plug-ins for GStreamer under GStreamer's preferred \
     
    5152    port:libvpx \
    5253    port:taglib \
    5354    port:wavpack \
    54     port:gobject-introspection \
    55     port:pulseaudio
     55    port:gobject-introspection
    5656
    5757post-patch {
    5858    # gst/goom is the only thing using this, and its mmx code is buggy (as of 0.10.31)
     
    6363use_autoreconf          yes
    6464autoreconf.args         -fvi
    6565
    66 configure.args-append   --disable-gtk-doc --with-default-videosink=ximagesink
     66configure.args-append   --disable-gtk-doc --with-default-videosink=ximagesink --disable-pulse
    6767configure.env-append    "HAVE_CXX=yes"
    6868
     69variant pulseaudio description {Enable with PulseAudio support} {
     70    depends_lib-append      port:pulseaudio
     71    configure.args-replace  --disable-pulse \
     72                            --enable-pulse
     73}
     74
     75default_variants    +pulseaudio
     76
    6977if {[variant_isset universal]} {
    7078    set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
    7179    set merger_host(i386) i686-apple-${os.platform}${os.major}