Ticket #40710: gstreamer_1_2_1_update_improved.patch

File gstreamer_1_2_1_update_improved.patch, 9.4 KB (added by d-r@…, 10 years ago)

Updating to 1.2.1

  • gstreamer1/Portfile

     
     1
    12# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    23# $Id$
    34
     
    89
    910name                gstreamer1
    1011set my_name         gstreamer
    11 version             1.0.9
     12version             1.2.1
    1213description \
    1314    GStreamer is a library for constructing graphs of media-handling components.
    1415long_description \
    1516    The applications it supports range from simple Ogg/Vorbis playback, audio/video \
    1617    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://${my_name}.freedesktop.org/
    22 distname    ${my_name}-${version}
     18maintainers         rmstonecipher openmaintainer
     19categories          gnome
     20platforms           darwin
     21license             LGPL-2+
     22homepage            http://${my_name}.freedesktop.org/
     23distname            ${my_name}-${version}
    2324
    2425master_sites \
    25     gnome:sources/${my_name}/[join [lrange [split ${version} .] 0 1] .]/ \
    26     http://${my_name}.freedesktop.org/src/${my_name}/
     26    http://${my_name}.freedesktop.org/src/${my_name}/ \
     27    gnome:sources/${my_name}/[join [lrange [split ${version} .] 0 1] .]/
    2728
    28 checksums           rmd160  1ff0531589dab9481f662dbfa1d754e417f90909 \
    29                     sha256  17a2c60a82baa461ef685ad3de187edb9c03a2c7e07513daba58a5a32efacaa3
     29checksums           rmd160  f8c2b05348cabbc895fac4a3f93fc91bee95fc71 \
     30                    sha256  a4523d2471bca6cd0059a32e3b042f50faa4dadc6439852af8b43ca3f17d1fc9
    3031
    3132depends_build   \
    3233    port:gzip \
     
    4344
    4445use_xz           yes
    4546
    46 patchfiles      patch-gst-gstdatetime.c.diff
    47 
    4847configure.env-append    PERL_PATH=${prefix}/bin/perl
    4948configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common
    5049
  • gstreamer1-gst-libav/Portfile

     
    1010
    1111name                gstreamer1-gst-libav
    1212set my_name         gst-libav
    13 version             1.0.9
     13version             1.2.1
    1414description         This is gst-libav, a set of plug-ins for GStreamer.
    1515long_description     ${description}
    1616maintainers         rmstonecipher openmaintainer
     
    2222distname            ${my_name}-${version}
    2323use_xz              yes
    2424
    25 checksums           rmd160  0d1a52d8fa27efa82273e64d4a230f606b575b05 \
    26                     sha256  759641c0597c24191322f40945b363b75df299a539ff4086650be6193028189a
     25checksums           rmd160  239cb3392d9bdf97be2fb2e7b27d468c0f8f622e \
     26                    sha256  fd152b7aec56ae76ad58b9759913a8bfe1792bdf64f260d0acaba75b75076676
    2727
    28 patchfiles          patch-gst-libs_ext_libav_configure.diff
    29 
    3028post-patch {
    3129    reinplace "s|%%CONFIGURE.CC%%|${configure.cc}|g" ${worksrcpath}/gst-libs/ext/libav/configure
    3230}
  • gstreamer1-gst-plugins-bad/Portfile

     
    88
    99name                gstreamer1-gst-plugins-bad
    1010set my_name         gst-plugins-bad
    11 version             1.0.9
    12 revision        3
     11version             1.2.1
    1312description         A set of plug-ins for GStreamer that need more quality.
    1413long_description    \
    1514    GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared \
     
    2524distname            ${my_name}-${version}
    2625use_xz              yes
    2726
    28 checksums           rmd160  4705ef8229a561e556c097885b88afe265a5baf7 \
    29                     sha256  69d236b1d8188270a3f51f6710146d0ca63c2f1a9f6cfbab3399ef01b9498f75
     27checksums           rmd160  9cb631ab12c0c77279b8b4a9078619cdf96be662 \
     28                    sha256  f33e7c81fcb742fe50b73ad87ef8a4baa7d6b59c5002a10bf63c8dee22404929
    3029
    3130depends_build port:pkgconfig
    3231depends_lib port:gstreamer1-gst-plugins-base \
     
    9089                            --enable-experimental \
    9190                            --enable-static
    9291
    93 # the 1.0 version of plugins-base doesn't have propertyprobe.h
    94 # ./gst-plugins-bad-1.0.5/sys/osxvideo/osxvideosrc.c:#include <gst/interfaces/propertyprobe.h>
    95 configure.args-append --disable-osx_video
    96 
    9792#
    9893# port:soundtouch (fails on autoreconf on darwin 8 & 9, see #27533) disable soundtouch on these platforms
    9994#
     
    10499}
    105100
    106101configure.cppflags-append   "-L${prefix}/lib"
     102# TODO: applemedia should find gmodule by itself
     103configure.ldflags-append    "-lgmodule-2.0"
    107104configure.cflags-append     -funroll-loops -fstrict-aliasing
    108105configure.env-append        "HAVE_CXX=yes"
    109106
    110107patchfiles  modplug.patch
    111108
    112 post-patch {
    113     reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \
    114         ${worksrcpath}/configure
    115     reinplace "s|libSoundTouch|soundtouch-1.0|g" \
    116         ${worksrcpath}/configure
    117 }
    118 
    119109variant no_x11 {
    120110        configure.args-append --disable-examples
    121111}
  • gstreamer1-gst-plugins-base/Portfile

     
     1
    12# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    23# $Id$
    34
     
    89
    910name                gstreamer1-gst-plugins-base
    1011set my_name         gst-plugins-base
    11 version             1.0.9
     12version             1.2.1
    1213description         This is gst-plugins, a set of plug-ins for GStreamer.
    1314long_description    ${description}
    1415maintainers         rmstonecipher openmaintainer
     
    1819homepage            http://gstreamer.freedesktop.org/modules/${my_name}.html
    1920
    2021use_xz              yes
    21 master_sites        gnome:sources/${my_name}/1.0/ http://gstreamer.freedesktop.org/src/${my_name}/
     22master_sites        \
     23    http://gstreamer.freedesktop.org/src/${my_name}/ \
     24    gnome:sources/${my_name}/[join [lrange [split ${version} .] 0 1] .]/
     25
    2226distname            ${my_name}-${version}
    2327
    24 checksums           rmd160  9b48af7afa947ab7f186814a372c904b13b12bf1 \
    25                     sha256  963e3b83d651661f495ca2e44ccd2d5c61e986e9d7706246e568276689a372ea
     28checksums           rmd160  df783ce92565b2cb23a39a4ed035f0a165dbe91c \
     29                    sha256  de2444a5c150d4e4b680364d7c0414cd8b015d95b305ff65d65a17683379532f
    2630
    2731depends_build \
    2832    port:pkgconfig
  • gstreamer1-gst-plugins-good/Portfile

     
    99
    1010name                gstreamer1-gst-plugins-good
    1111set my_name         gst-plugins-good
    12 version             1.0.9
     12version             1.2.1
    1313revision            1
    1414description         \
    1515    A set of good-quality plug-ins for GStreamer under GStreamer's preferred \
     
    2424license             LGPL-2+
    2525platforms           darwin
    2626homepage            http://gstreamer.freedesktop.org/modules/${my_name}.html
    27 master_sites        http://gstreamer.freedesktop.org/src/${my_name}/ gnome:sources/${my_name}/0.10/
     27master_sites        \
     28    http://gstreamer.freedesktop.org/src/${my_name}/ \
     29    gnome:sources/${my_name}/[join [lrange [split ${version} .] 0 1] .]/
    2830use_xz              yes
    2931distname            ${my_name}-${version}
    3032
    31 checksums           rmd160  ae681e8fcd39a7a2c9826b0c504dee61d14bc488 \
    32                     sha256  cfa2e617a76f93e9ddd4ae1109297e93fb4a06b152042b996231234a72c5a5ff
     33checksums           rmd160  507ae35815c5ff9dc42b13adb6dad8c0220b357f \
     34                    sha256  660fa02dbe01086fcf702d87acc0ba5dde2559d6a11ecf438874afe504c50517
    3335
    3436depends_build \
    3537    port:pkgconfig
  • gstreamer1-gst-plugins-ugly/Portfile

     
    88
    99name                gstreamer1-gst-plugins-ugly
    1010set my_name         gst-plugins-ugly
    11 version             1.0.9
    12 revision            1
     11version             1.2.1
    1312description         \
    1413    A set of good-quality plug-ins for GStreamer that might pose distribution \
    1514    problems.
     
    2726license             GPL-2+ LGPL-2+
    2827use_xz              yes
    2928
    30 checksums           rmd160  e404119a178c6216ab2af231f83c83afb8305eb2 \
    31                     sha256  11250fe9e44b0169c3a289e981b31874b483643ed78f619682ae1644d7088379
     29checksums           rmd160  1259d92e7411aca10347906892719a76e7b4bf27 \
     30                    sha256  35ae5d45de54827604e24f57f54ab30a5ab2245b4c4120977273eb11d19c2395
    3231
    3332depends_build       port:pkgconfig
    3433depends_lib         port:gstreamer1-gst-plugins-base \
     
    4746configure.args-append       mandir=${prefix}/share/man --enable-static
    4847configure.cppflags-append   "-L${prefix}/lib"
    4948configure.cflags-append     -funroll-loops -fstrict-aliasing
     49configure.ldflags-append    "-lgmodule-2.0"
    5050
    5151# I'm not sure if the pkg-config data is wrong or if gst-plugin is wrong, meh.
    5252configure.cppflags-append -I${prefix}/include/opencore-amrnb -I${prefix}/include/opencore-amrwb