Revision
73967
Author
jeremyhu@macports.org
Date
2010-11-30 07:24:36 -0800 (Tue, 30 Nov 2010)

Log Message

gst-plugins-good: Build universal

Modified Paths

Diff

Modified: trunk/dports/gnome/gst-plugins-good/Portfile (73966 => 73967)


--- trunk/dports/gnome/gst-plugins-good/Portfile	2010-11-30 14:37:17 UTC (rev 73966)
+++ trunk/dports/gnome/gst-plugins-good/Portfile	2010-11-30 15:24:36 UTC (rev 73967)
@@ -5,6 +5,7 @@
 
 name                gst-plugins-good
 version             0.10.25
+revision            1
 description         \
     A set of good-quality plug-ins for GStreamer under GStreamer's preferred \
     license, LGPL.
@@ -40,15 +41,18 @@
       
 use_bzip2   yes
 
-# gst-plugins-good itself is not universal
-universal_variant   no
+# https://bugzilla.gnome.org/show_bug.cgi?id=636134
+patchfiles universal.patch
+patch.pre_args  -p1
 
 pre-configure {
     reinplace "s|OBJC = gcc|OBJC = @OBJC@|" ${worksrcpath}/sys/osxvideo/Makefile.in
     reinplace "s|-DGST_DISABLE_DEPRECATED||" ${worksrcpath}/configure
 }
 
-configure.cmd   ./autogen.sh
+use_autoreconf          yes
+autoreconf.args         -fvi
+
 configure.args-append   --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink
 
 post-activate {
@@ -56,10 +60,6 @@
              gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
 }
 
-platform darwin i386 {
-        configure.args-append --build=${build_arch}-apple-darwin${os.major}
-}
-
 livecheck.type  regex
 livecheck.url   http://gstreamer.freedesktop.org/src/${name}/
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"