Revision: 100880 https://trac.macports.org/changeset/100880 Author: jeremyhu@macports.org Date: 2012-12-30 13:52:03 -0800 (Sun, 30 Dec 2012) Log Message: ----------- gst-plugins-ugly: Add dep on opencore-amr to fix opportunistic building with that feature if the port is installed, also fix building with it present. Modified Paths: -------------- trunk/dports/gnome/gst-plugins-ugly/Portfile Modified: trunk/dports/gnome/gst-plugins-ugly/Portfile =================================================================== --- trunk/dports/gnome/gst-plugins-ugly/Portfile 2012-12-30 21:48:43 UTC (rev 100879) +++ trunk/dports/gnome/gst-plugins-ugly/Portfile 2012-12-30 21:52:03 UTC (rev 100880) @@ -8,7 +8,7 @@ name gst-plugins-ugly version 0.10.19 -revision 3 +revision 4 description \ A set of good-quality plug-ins for GStreamer that might pose distribution \ problems. @@ -37,6 +37,7 @@ port:libid3tag \ port:libmad \ port:libmpeg2 \ + port:opencore-amr \ port:twolame \ port:x264 @@ -49,6 +50,9 @@ configure.cppflags-append "-L${prefix}/lib" configure.cflags-append -funroll-loops -fstrict-aliasing +# I'm not sure if the pkg-config data is wrong or if gst-plugin is wrong, meh. +configure.cppflags-append -I${prefix}/include/opencore-amrnb -I${prefix}/include/opencore-amrwb + post-extract { reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \ ${worksrcpath}/configure