[138524] trunk/dports/gnome/gstreamer010-gst-plugins-bad

jeremyhu at macports.org jeremyhu at macports.org
Fri Jul 10 18:33:49 PDT 2015


Revision: 138524
          https://trac.macports.org/changeset/138524
Author:   jeremyhu at macports.org
Date:     2015-07-10 18:33:49 -0700 (Fri, 10 Jul 2015)
Log Message:
-----------
gstreamer010-gst-plugins-bad: Add missing dependency on openal-soft and fix build when newer versions of openal-soft are installed

Modified Paths:
--------------
    trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gstreamer010-gst-plugins-bad/files/openal.patch

Modified: trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile	2015-07-11 00:43:47 UTC (rev 138523)
+++ trunk/dports/gnome/gstreamer010-gst-plugins-bad/Portfile	2015-07-11 01:33:49 UTC (rev 138524)
@@ -9,7 +9,7 @@
 name                gstreamer010-gst-plugins-bad
 set my_name         gst-plugins-bad
 version             0.10.23
-revision            12
+revision            13
 description         A set of plug-ins for GStreamer that need more quality.
 long_description    \
     GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared \
@@ -58,13 +58,15 @@
                     port:libpng \
                     port:librsvg \
                     port:libsndfile \
+                    port:openal-soft \
                     port:soundtouch \
                     port:spandsp-devel \
                     port:neon \
                     port:rtmpdump \
                     port:schroedinger
 
-patchfiles          modplug.patch \
+patchfiles          openal.patch \
+                    modplug.patch \
                     po.patch \
                     objcflags.patch \
                     patch-libvpx-1.40.diff

Added: trunk/dports/gnome/gstreamer010-gst-plugins-bad/files/openal.patch
===================================================================
--- trunk/dports/gnome/gstreamer010-gst-plugins-bad/files/openal.patch	                        (rev 0)
+++ trunk/dports/gnome/gstreamer010-gst-plugins-bad/files/openal.patch	2015-07-11 01:33:49 UTC (rev 138524)
@@ -0,0 +1,46 @@
+diff -Naurp ext.orig/openal/gstopenalsink.h ext/openal/gstopenalsink.h
+--- ext.orig/openal/gstopenalsink.h	2011-12-30 10:24:28.000000000 -0800
++++ ext/openal/gstopenalsink.h	2015-07-10 16:06:59.000000000 -0700
+@@ -27,19 +27,9 @@
+ #include <gst/audio/gstaudiosink.h>
+ #include <gst/audio/multichannel.h>
+ 
+-#ifdef _WIN32
+ #include <al.h>
+ #include <alc.h>
+ #include <alext.h>
+-#elif defined(__APPLE__)
+-#include <OpenAL/al.h>
+-#include <OpenAL/alc.h>
+-#include <OpenAL/alext.h>
+-#else
+-#include <AL/al.h>
+-#include <AL/alc.h>
+-#include <AL/alext.h>
+-#endif
+ 
+ G_BEGIN_DECLS
+ 
+diff -Naurp ext.orig/openal/gstopenalsrc.h ext/openal/gstopenalsrc.h
+--- ext.orig/openal/gstopenalsrc.h	2011-12-30 10:24:28.000000000 -0800
++++ ext/openal/gstopenalsrc.h	2015-07-10 16:07:05.000000000 -0700
+@@ -49,19 +49,9 @@
+ #include <gst/gst.h>
+ #include <gst/audio/gstaudiosrc.h>
+ 
+-#ifdef _WIN32
+ #include <al.h>
+ #include <alc.h>
+ #include <alext.h>
+-#elif defined(__APPLE__)
+-#include <OpenAL/al.h>
+-#include <OpenAL/alc.h>
+-#include <OpenAL/alext.h>
+-#else
+-#include <AL/al.h>
+-#include <AL/alc.h>
+-#include <AL/alext.h>
+-#endif
+ 
+ G_BEGIN_DECLS
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150710/068c4921/attachment.html>


More information about the macports-changes mailing list