[115298] trunk/dports/gnome/gstreamer1-gst-plugins-good

jeremyhu at macports.org jeremyhu at macports.org
Mon Dec 30 12:07:16 PST 2013


Revision: 115298
          https://trac.macports.org/changeset/115298
Author:   jeremyhu at macports.org
Date:     2013-12-30 12:07:16 -0800 (Mon, 30 Dec 2013)
Log Message:
-----------
gstreamer1-gst-plugins-good: Fix deployment target checking for Leopard builds (still failst to build though)

Modified Paths:
--------------
    trunk/dports/gnome/gstreamer1-gst-plugins-good/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gstreamer1-gst-plugins-good/files/osxvideosink-deployment-target.patch

Modified: trunk/dports/gnome/gstreamer1-gst-plugins-good/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer1-gst-plugins-good/Portfile	2013-12-30 19:52:55 UTC (rev 115297)
+++ trunk/dports/gnome/gstreamer1-gst-plugins-good/Portfile	2013-12-30 20:07:16 UTC (rev 115298)
@@ -53,7 +53,8 @@
     port:gobject-introspection \
     port:pulseaudio
 
-patchfiles  po.patch
+patchfiles  po.patch \
+            osxvideosink-deployment-target.patch
       
 post-patch {
     # gst/goom is the only thing using this, and its mmx code is buggy (as of 0.10.31)

Added: trunk/dports/gnome/gstreamer1-gst-plugins-good/files/osxvideosink-deployment-target.patch
===================================================================
--- trunk/dports/gnome/gstreamer1-gst-plugins-good/files/osxvideosink-deployment-target.patch	                        (rev 0)
+++ trunk/dports/gnome/gstreamer1-gst-plugins-good/files/osxvideosink-deployment-target.patch	2013-12-30 20:07:16 UTC (rev 115298)
@@ -0,0 +1,20 @@
+--- sys/osxvideo/osxvideosink.h.orig	2013-12-30 12:02:55.000000000 -0800
++++ sys/osxvideo/osxvideosink.h	2013-12-30 12:03:16.000000000 -0800
+@@ -42,7 +42,7 @@ GST_DEBUG_CATEGORY_EXTERN (gst_debug_osx
+ 
+ /* The hack doesn't work on leopard, the _CFMainPThread symbol
+  * is doesn't exist in the CoreFoundation library */
+-#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5
++#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
+ #ifdef RUN_NS_APP_THREAD
+ #undef RUN_NS_APP_THREAD
+ #endif
+@@ -122,7 +122,7 @@ GType gst_osx_video_sink_get_type(void);
+ @end
+ 
+ 
+-#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5
++#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
+ @interface GstWindowDelegate : NSObject
+ #else
+ @interface GstWindowDelegate : NSObject <NSWindowDelegate>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131230/5741e8ed/attachment.html>


More information about the macports-changes mailing list