Ticket #40710: gstreamer_1_2_update.patch

File gstreamer_1_2_update.patch, 11.8 KB (added by d-r@…, 11 years ago)

Updating to 1.2

  • gnome/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.0
    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 \
     
    2120categories          gnome
    2221platforms           darwin
    2322homepage            http://gstreamer.freedesktop.org/modules/${my_name}.html
    24 master_sites        http://gstreamer.freedesktop.org/src/${my_name}/
     23master_sites        \
     24    http://gstreamer.freedesktop.org/src/${my_name}/ \
     25    gnome:sources/${my_name}/[join [lrange [split ${version} .] 0 1] .]/
    2526distname            ${my_name}-${version}
    2627use_xz              yes
    2728
    28 checksums           rmd160  4705ef8229a561e556c097885b88afe265a5baf7 \
    29                     sha256  69d236b1d8188270a3f51f6710146d0ca63c2f1a9f6cfbab3399ef01b9498f75
     29checksums           rmd160  b8299fd4fb1889f177a0d77949bd5a08e9c3ee04 \
     30                    sha256  a12fac6c106a7e4ae8bb2c7da508688d7db532b818319df2202f497cbd930afa
    3031
    3132depends_build port:pkgconfig
    3233depends_lib port:gstreamer1-gst-plugins-base \
     
    6162# port:slv2 (builds but lv2 plugin fails to load and slv2 is not universal) disable lv2 explicitly in case slv2 is installed
    6263# port:swfdec (configure wants pkg-config swfdec-0.3, we have swfdec-0.8)
    6364# plugin frei0r (no dependency, seqfaults on load)
     65# mpegtsmux fails to compile with clang, /usr/lib/clang/4.0/include/stddef.h:31: syntax error, unexpected '(' in 'typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;' at '('
    6466#
    6567# the following plugins build opportunisticly due to missing dependencies
    6668# explicitly disabled for now
     
    7981                            --disable-frei0r \
    8082                            --disable-quicktime \
    8183                            --disable-mpeg2enc \
     84                            --disable-mpegtsmux \
    8285                            --disable-mplex \
    8386                            --disable-openjpeg \
    8487                            --disable-opus \
     
    8790                            --disable-lv2 \
    8891                            --disable-sdltest \
    8992                            --disable-opencv \
     93                            --disable-yadif \
    9094                            --enable-experimental \
    9195                            --enable-static
    9296
    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
     97configure.cmd               ./autogen.sh
    9698
    9799#
    98100# port:soundtouch (fails on autoreconf on darwin 8 & 9, see #27533) disable soundtouch on these platforms
     
    104106}
    105107
    106108configure.cppflags-append   "-L${prefix}/lib"
     109# TODO: applemedia should find gmodule by itself
     110configure.ldflags-append    "-lgmodule-2.0"
    107111configure.cflags-append     -funroll-loops -fstrict-aliasing
    108112configure.env-append        "HAVE_CXX=yes"
    109113
    110114patchfiles  modplug.patch
    111115
    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 
    119116variant no_x11 {
    120117        configure.args-append --disable-examples
    121118}
  • gnome/gstreamer1-gst-libav/files/patch-gst-libs_ext_libav_configure.diff

     
    1 --- gst-libs/ext/libav/configure.orig   2011-03-20 23:39:25.000000000 -0500
    2 +++ gst-libs/ext/libav/configure        2011-03-20 23:40:10.000000000 -0500
    3 @@ -1456,9 +1456,9 @@
    4  
    5  # toolchain
    6  ar_default="ar"
    7 -cc_default="gcc"
    8 +cc_default="%%CONFIGURE.CC%%"
    9  cc_version=\"unknown\"
    10 -host_cc_default="gcc"
    11 +host_cc_default="%%CONFIGURE.CC%%"
    12  ln_s="ln -sf"
    13  nm_default="nm"
    14  objformat="elf"
  • gnome/gstreamer1-gst-libav/Portfile

     
    1010
    1111name                gstreamer1-gst-libav
    1212set my_name         gst-libav
    13 version             1.0.9
     13version             1.2.0
    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  6a5ac8b4a824ce2fed7643eed67b674608c0fdc8 \
     26                    sha256  48721eb318ffffdd134edea754d0b65d76b08c8209a8d2c8a42bca1f799f9099
    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}
  • gnome/gstreamer1-gst-plugins-ugly/Portfile

     
    88
    99name                gstreamer1-gst-plugins-ugly
    1010set my_name         gst-plugins-ugly
    11 version             1.0.9
     11version             1.2.0
    1212description         \
    1313    A set of good-quality plug-ins for GStreamer that might pose distribution \
    1414    problems.
     
    2121categories          gnome
    2222platforms           darwin
    2323homepage            http://gstreamer.freedesktop.org/modules/${my_name}.html
    24 master_sites        http://gstreamer.freedesktop.org/src/${my_name}/
     24master_sites        \
     25    http://gstreamer.freedesktop.org/src/${my_name}/ \
     26    gnome:sources/${my_name}/[join [lrange [split ${version} .] 0 1] .]/
    2527distname            ${my_name}-${version}
    2628license             GPL-2+ LGPL-2+
    2729use_xz              yes
    2830
    29 checksums           rmd160  e404119a178c6216ab2af231f83c83afb8305eb2 \
    30                     sha256  11250fe9e44b0169c3a289e981b31874b483643ed78f619682ae1644d7088379
     31checksums           rmd160  9fea27327056d4d535dc0ab6eb61cc2c90330a94 \
     32                    sha256  e4760af4b12bf97ba0a8001cfe733d9d52160a0ad81f6c6f0d0d3a9e798626de
    3133
    3234depends_build       port:pkgconfig
    3335depends_lib         port:gstreamer1-gst-plugins-base \
     
    4648configure.args-append       mandir=${prefix}/share/man --enable-static
    4749configure.cppflags-append   "-L${prefix}/lib"
    4850configure.cflags-append     -funroll-loops -fstrict-aliasing
     51configure.ldflags-append    "-lgmodule-2.0"
    4952
    5053# I'm not sure if the pkg-config data is wrong or if gst-plugin is wrong, meh.
    5154configure.cppflags-append -I${prefix}/include/opencore-amrnb -I${prefix}/include/opencore-amrwb
  • gnome/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.0
    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  6b9f6213666cd9bbfc497dadc19f5ad3cb561b29 \
     34                    sha256  2256a6b2744ea18d8810642cf9061a2f12f4b7eba87d3fbc98004262b4f0fdfa
    3335
    3436depends_build \
    3537    port:pkgconfig
  • gnome/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.0
    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  510de2acd59f91e3fd45eeb1c4188c866697f219 \
     29                    sha256  8656e20bf4b675e5696fb4af193793351926d428ca02826c5667a6384729a45d
    2630
    2731depends_build \
    2832    port:pkgconfig
  • gnome/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.0
    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  d51e64a5fe7d0cce42fa7c5b43e29399ff62678a \
     30                    sha256  94af5274299f845adf41cc504e0209b269acab7721293f49850fea27b4099463
    3031
    3132depends_build   \
    3233    port:gzip \