Changeset 91948


Ignore:
Timestamp:
Apr 13, 2012, 10:59:34 PM (8 years ago)
Author:
jeremyhu@…
Message:

gst-plugins-*: Use muniversal to work around buggy architecture detection

Location:
trunk/dports/gnome
Files:
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gst-plugins-bad/Portfile

    r90199 r91948  
    44PortSystem          1.0
    55
     6# https://bugzilla.gnome.org/show_bug.cgi?id=636134
     7PortGroup   muniversal 1.0
     8
    69name                    gst-plugins-bad
    710version                 0.10.23
     11revision                1
    812description         A set of plug-ins for GStreamer that need more quality.
    913long_description    \
     
    97101}
    98102
     103if {[variant_isset universal]} {
     104    set merger_host(x86_64) ${build_arch}-apple-${os.platform}${os.major}
     105    set merger_configure_args(x86_64) --build=${build_arch}-apple-${os.platform}${os.major}
     106} elseif {${build_arch} == "x86_64"} {
     107    configure.args-append \
     108        --host=${build_arch}-apple-${os.platform}${os.major} \
     109        --build=${build_arch}-apple-${os.platform}${os.major}
     110}
     111
    99112livecheck.type  regex
    100113livecheck.url   ${master_sites}
  • trunk/dports/gnome/gst-plugins-base/Portfile

    r91802 r91948  
    33
    44PortSystem          1.0
     5
     6# https://bugzilla.gnome.org/show_bug.cgi?id=636134
    57PortGroup           muniversal 1.0
    68
    79name                gst-plugins-base
    810version             0.10.36
     11revision            1
    912description         This is gst-plugins, a set of plug-ins for GStreamer.
    1013long_description    ${description}
     
    8285}
    8386
     87if {[variant_isset universal]} {
     88    set merger_host(x86_64) ${build_arch}-apple-${os.platform}${os.major}
     89    set merger_configure_args(x86_64) --build=${build_arch}-apple-${os.platform}${os.major}
     90} elseif {${build_arch} == "x86_64"} {
     91    configure.args-append \
     92        --host=${build_arch}-apple-${os.platform}${os.major} \
     93        --build=${build_arch}-apple-${os.platform}${os.major}
     94}
     95
    8496livecheck.type      regex
    8597livecheck.url       http://gstreamer.freedesktop.org/src/${name}/
  • trunk/dports/gnome/gst-plugins-gl/Portfile

    r83390 r91948  
    44PortSystem          1.0
    55
     6# https://bugzilla.gnome.org/show_bug.cgi?id=636134
     7PortGroup           muniversal 1.0
     8
    69name                gst-plugins-gl
    710version             0.10.2
    8 revision            3
     11revision            4
    912description         This is gst-plugins, a set of plug-ins for GStreamer.
    1013long_description    The GStreamer OpenGL module provides helper libraries, base \
     
    3134                    rmd160  1a6ca7f2922a2dbccc6a6106d56e0b28c0fb42e0
    3235
    33 universal_variant       no
     36use_autoreconf  yes
     37autoreconf.args -fvi
     38
    3439# gst-plugins-gl sees libsdl if it is present and uses it to build examples which
    3540# fail to build as of 0.10.2
     
    4146}
    4247
     48post-patch {
     49    # Hack to get -arch flags used
     50    reinplace "/libgstgl_@GST_MAJORMINOR@_la_OBJCFLAGS =/s/=/= \$(CFLAGS)/" \
     51        ${worksrcpath}/gst-libs/gst/gl/Makefile.am
     52}
     53
     54if {[variant_isset universal]} {
     55    set merger_host(x86_64) ${build_arch}-apple-${os.platform}${os.major}
     56    set merger_configure_args(x86_64) --build=${build_arch}-apple-${os.platform}${os.major}
     57} elseif {${build_arch} == "x86_64"} {
     58    configure.args-append \
     59        --host=${build_arch}-apple-${os.platform}${os.major} \
     60        --build=${build_arch}-apple-${os.platform}${os.major}
     61}
     62
    4363livecheck.type      regex
    4464livecheck.url       ${master_sites}
  • trunk/dports/gnome/gst-plugins-good/Portfile

    r91757 r91948  
    33
    44PortSystem  1.0
     5
     6# https://bugzilla.gnome.org/show_bug.cgi?id=636134
    57PortGroup   muniversal 1.0
    68
    79name                gst-plugins-good
    810version             0.10.31
     11revision            1
    912description         \
    1013    A set of good-quality plug-ins for GStreamer under GStreamer's preferred \
     
    4548use_bzip2   yes
    4649
    47 # https://bugzilla.gnome.org/show_bug.cgi?id=636134
    48 patchfiles universal.patch goom-nommx.patch
    49 patch.pre_args  -p1
    50 
    5150pre-configure {
    5251    reinplace "s|OBJC = gcc|OBJC = @OBJC@|" ${worksrcpath}/sys/osxvideo/Makefile.in
     
    5857
    5958configure.args-append   --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink
     59
     60if {[variant_isset universal]} {
     61    set merger_host(x86_64) ${build_arch}-apple-${os.platform}${os.major}
     62    set merger_configure_args(x86_64) --build=${build_arch}-apple-${os.platform}${os.major}
     63} elseif {${build_arch} == "x86_64"} {
     64    configure.args-append \
     65        --host=${build_arch}-apple-${os.platform}${os.major} \
     66        --build=${build_arch}-apple-${os.platform}${os.major}
     67}
    6068
    6169# SSE register return with SSE disabled
  • trunk/dports/gnome/gst-plugins-ugly/Portfile

    r90303 r91948  
    44PortSystem          1.0
    55
     6# https://bugzilla.gnome.org/show_bug.cgi?id=636134
     7PortGroup   muniversal 1.0
     8
    69name                gst-plugins-ugly
    710version             0.10.19
    8 revision            1
     11revision            2
    912description         \
    1013    A set of good-quality plug-ins for GStreamer that might pose distribution \
     
    4851}
    4952
     53if {[variant_isset universal]} {
     54    set merger_host(x86_64) ${build_arch}-apple-${os.platform}${os.major}
     55    set merger_configure_args(x86_64) --build=${build_arch}-apple-${os.platform}${os.major}
     56} elseif {${build_arch} == "x86_64"} {
     57    configure.args-append \
     58        --host=${build_arch}-apple-${os.platform}${os.major} \
     59        --build=${build_arch}-apple-${os.platform}${os.major}
     60}
     61
    5062livecheck.type      regex
    5163livecheck.url       ${master_sites}
Note: See TracChangeset for help on using the changeset viewer.