Ticket #37077: gstreamer.diff

File gstreamer.diff, 3.0 KB (added by thijsvermeir@…, 12 years ago)
  • Portfile

     
    44PortSystem          1.0
    55
    66# https://bugzilla.gnome.org/show_bug.cgi?id=636134
    7 PortGroup   muniversal 1.0
     7PortGroup           muniversal 1.0
    88
    99name                gstreamer
    10 version             0.10.36
    11 revision            2
    12 description \
     10version             1.0.5
     11description         \
    1312    GStreamer is a library for constructing graphs of media-handling components.
    1413long_description \
    1514    The applications it supports range from simple Ogg/Vorbis playback, audio/video \
    1615    streaming to complex audio (mixing) and video (non-linear editing) processing.
    17 maintainers     rmstonecipher openmaintainer
    18 categories      gnome
    19 platforms       darwin
    20 license     LGPL-2+
    21 homepage        http://gstreamer.freedesktop.org/
     16maintainers         rmstonecipher openmaintainer
     17categories          gnome
     18platforms           darwin
     19license             LGPL-2+
     20homepage            http://gstreamer.freedesktop.org/
    2221
    2322master_sites \
    2423    gnome:sources/gstreamer/[join [lrange [split ${version} .] 0 1] .]/ \
    2524    http://gstreamer.freedesktop.org/src/${name}/
    2625
    27 checksums           md5     a0cf7d6877f694a1a2ad2b4d1ecb890b \
    28                     sha1    ff95b5316b920e7c2836588bba18fa61395fbd03 \
    29                     rmd160  5dd01d8ea7afe98e96037bf73f995654f469096e
     26checksums           md5     644d535708056b4e8632cbe599768ad7 \
     27                    sha1    195fea857b103701495570a361128634ce6c02b4 \
     28                    rmd160  0ce2ec009828cfd53be17bfa687f9751b6b25844 \
     29                    sha256  26c2827567f09a46d0a3bc1e7f8696b2ae72b047306539178079abae487c5b77
    3030
    3131depends_build   \
    3232    port:gzip \
    3333    port:m4 \
    3434    path:bin/perl:perl5 \
    35     port:pkgconfig
     35    port:pkgconfig \
     36    port:gobject-introspection
    3637depends_lib \
    3738    port:bison \
    3839    port:flex \
     
    4041    path:lib/pkgconfig/glib-2.0.pc:glib2 \
    4142    port:libxml2
    4243
    43 use_bzip2           yes
     44use_xz              yes
    4445
    45 configure.env-append    PERL_PATH=${prefix}/bin/perl
    46 configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common
    47 configure.args-append   --disable-introspection
     46configure.env-append      PERL_PATH=${prefix}/bin/perl
     47configure.cflags-append   -funroll-loops -fstrict-aliasing -fno-common
     48build.env-append          CC=${configure.cc}
    4849
    49 if {[variant_isset universal]} { 
     50if {[variant_isset universal]} {
    5051    set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
    5152    set merger_host(i386) i686-apple-${os.platform}${os.major}
    5253    set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
     
    6162        --build=${build_arch}-apple-${os.platform}${os.major}
    6263}
    6364
    64 pre-build       {
     65pre-build {
    6566    if {[file exists ${prefix}/lib/libcheck.dylib]} {
    6667        ui_msg "Gstreamer will fail to build because the 'check' port is active. Deactivate"
    6768        ui_msg "'check' by running 'port deactivate check' and try again. You may reactivate"