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) |
---|
-
ports/gnome/gstreamer010-gst-plugins-good/Portfile
10 10 name gstreamer010-gst-plugins-good 11 11 set my_name gst-plugins-good 12 12 version 0.10.31 13 revision 613 revision 7 14 14 description \ 15 15 A set of good-quality plug-ins for GStreamer under GStreamer's preferred \ 16 16 license, LGPL. … … 46 46 port:libshout2 \ 47 47 port:libsoup \ 48 48 path:lib/libspeex.dylib:speex \ 49 port:pulseaudio \50 49 port:taglib \ 51 50 port:wavpack 52 51 53 52 patchfiles automake.patch po.patch 54 53 55 54 post-patch { … … 61 60 use_autoreconf yes 62 61 autoreconf.args -fvi 63 62 64 configure.args-append --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink 63 configure.args-append --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink --disable-pulse 65 64 configure.env-append "HAVE_CXX=yes" 66 65 66 variant pulseaudio description {Enable with PulseAudio support} { 67 depends_lib-append port:pulseaudio 68 configure.args-replace --disable-pulse \ 69 --enable-pulse 70 } 71 72 default_variants +pulseaudio 73 67 74 if {[variant_isset universal]} { 68 75 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 69 76 set merger_host(i386) i686-apple-${os.platform}${os.major} -
ports/gnome/gstreamer1-gst-plugins-good/Portfile
10 10 name gstreamer1-gst-plugins-good 11 11 set my_name gst-plugins-good 12 12 version 1.4.0 13 revision 1 13 14 set branch [join [lrange [split ${version} .] 0 1] .] 14 15 description \ 15 16 A set of good-quality plug-ins for GStreamer under GStreamer's preferred \ … … 51 52 port:libvpx \ 52 53 port:taglib \ 53 54 port:wavpack \ 54 port:gobject-introspection \ 55 port:pulseaudio 55 port:gobject-introspection 56 56 57 57 post-patch { 58 58 # gst/goom is the only thing using this, and its mmx code is buggy (as of 0.10.31) … … 63 63 use_autoreconf yes 64 64 autoreconf.args -fvi 65 65 66 configure.args-append --disable-gtk-doc --with-default-videosink=ximagesink 66 configure.args-append --disable-gtk-doc --with-default-videosink=ximagesink --disable-pulse 67 67 configure.env-append "HAVE_CXX=yes" 68 68 69 variant pulseaudio description {Enable with PulseAudio support} { 70 depends_lib-append port:pulseaudio 71 configure.args-replace --disable-pulse \ 72 --enable-pulse 73 } 74 75 default_variants +pulseaudio 76 69 77 if {[variant_isset universal]} { 70 78 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 71 79 set merger_host(i386) i686-apple-${os.platform}${os.major}