[146844] users/devans/GNOME-3/unstable/dports/gnome
devans at macports.org
devans at macports.org
Fri Mar 18 15:58:19 PDT 2016
Revision: 146844
https://trac.macports.org/changeset/146844
Author: devans at macports.org
Date: 2016-03-18 15:58:19 -0700 (Fri, 18 Mar 2016)
Log Message:
-----------
GNOME-3/unstable: gstreamer1*, update to version 1.7.91.
Modified Paths:
--------------
users/devans/GNOME-3/unstable/dports/gnome/gstreamer1/Portfile
users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-libav/Portfile
users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/Portfile
users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-base/Portfile
users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-good/Portfile
users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-ugly/Portfile
Added Paths:
-----------
users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/files/corevideomemory.h
users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/files/iosurfacememory.h
Modified: users/devans/GNOME-3/unstable/dports/gnome/gstreamer1/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gstreamer1/Portfile 2016-03-18 22:53:33 UTC (rev 146843)
+++ users/devans/GNOME-3/unstable/dports/gnome/gstreamer1/Portfile 2016-03-18 22:58:19 UTC (rev 146844)
@@ -10,7 +10,7 @@
name gstreamer1
set my_name gstreamer
-version 1.7.90
+version 1.7.91
description GStreamer is a library for constructing graphs of media-handling components.
long_description The applications it supports range from simple Ogg/Vorbis playback, audio/video \
streaming to complex audio (mixing) and video (non-linear editing) processing.
@@ -25,8 +25,8 @@
use_xz yes
-checksums rmd160 c781e587c44df91d432ca95f094a2873f525b8f9 \
- sha256 f8c10fc4ecc3ad544aa8e761551ee4c0d9ad812cdb4a57acbfdf413919886c46
+checksums rmd160 32cca06e91deb77e9ad1fca00a16ab5d1ee62c49 \
+ sha256 f45c3063a8281a69905b931e174dc5cab127894126e1b39445ce3fe392df2f08
depends_build port:gzip \
port:m4 \
Modified: users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-libav/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-libav/Portfile 2016-03-18 22:53:33 UTC (rev 146843)
+++ users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-libav/Portfile 2016-03-18 22:58:19 UTC (rev 146844)
@@ -10,7 +10,7 @@
name gstreamer1-gst-libav
set my_name gst-libav
-version 1.7.90
+version 1.7.91
description This is gst-libav, a set of plug-ins for GStreamer.
long_description ${description}
maintainers nomaintainer
@@ -22,8 +22,8 @@
distname ${my_name}-${version}
use_xz yes
-checksums rmd160 b9efd32f53deeac38c0e1a81ec4c450589dc4a6b \
- sha256 b9e30df308c39752f0b22e0f554d8b6f93d95f5d8673a78538219e05adc73e5d
+checksums rmd160 1c07c8a41ff2c3b00b03ebc124901e1d8c73fdae \
+ sha256 c17460adde6644c10499dd335fcd320ea2a4712a7646cf3e16964e6a1890082a
depends_build port:pkgconfig \
port:yasm
Modified: users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/Portfile 2016-03-18 22:53:33 UTC (rev 146843)
+++ users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/Portfile 2016-03-18 22:58:19 UTC (rev 146844)
@@ -9,7 +9,7 @@
name gstreamer1-gst-plugins-bad
set my_name gst-plugins-bad
-version 1.7.90
+version 1.7.91
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 \
to the rest. They might be close to being good quality, but they're missing \
@@ -24,8 +24,8 @@
distname ${my_name}-${version}
use_xz yes
-checksums rmd160 32c7846c73c5fcc5e7f7435a3c03341c37df2aab \
- sha256 01f1c168324738c543ce26b1332b0d77547c9717f3b2fde4f22a8e4ebcb06d14
+checksums rmd160 16b8c496499ba6a995cc2bc5028e63c0cbe9085c \
+ sha256 df8efbfd0261b214a4b20f4caae78282a8fc5143e61218f9fe03b1e74599fb2c
depends_build port:pkgconfig
depends_lib port:gstreamer1-gst-plugins-base \
@@ -68,6 +68,12 @@
patchfiles modplug.patch \
openal.patch
+
+post-patch {
+# plugin applemedia: install files from upstream git master, missing from tarball
+ xinstall -m 0644 -W ${filespath} corevideomemory.h iosurfacememory.h ${worksrcpath}/sys/applemedia
+}
+
#
# could depend on tons for multimedia stuff +variants
# the following ports are available but don't configure
@@ -79,6 +85,7 @@
# port:opencv (opencv plugin requires opencv >= 2.0.0 opencv < 2.5.0 but current version is 3.0.0)
# port:slv2 (builds but lv2 plugin fails to load and slv2 is not universal) disable lv2 explicitly in case slv2 is installed
# port:Xvid plugin xvid not ported in this version
+# plugin opus is now contained in gstreamer1-gst-plugins-base, disable this version
#
# the following plugins build opportunisticly due to missing dependencies
# explicitly disabled for now
@@ -86,7 +93,6 @@
configure.args --disable-silent-rules \
--disable-fatal-warnings \
- --disable-apple_media \
--disable-dc1394 \
--disable-faac \
--disable-frei0r \
@@ -103,7 +109,7 @@
# port:soundtouch (fails on autoreconf on darwin 8 & 9, see #27533) disable soundtouch on these platforms
# gl cocoa build continues to fail due to use of API not available on darwin 10 or earlier
# plugin applemedia (Apple video) now only builds on darwin 14 and later due to use of
-# constant AVQueuedSampleBufferRenderingStatusFailed introduced in OSX 10.10
+# constant AVQueuedSampleBufferRenderingStatusFailed introduced in OSX 10.10
#
platform darwin {
Added: users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/files/corevideomemory.h
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/files/corevideomemory.h (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/files/corevideomemory.h 2016-03-18 22:58:19 UTC (rev 146844)
@@ -0,0 +1,109 @@
+/* GStreamer Apple Core Video memory
+ * Copyright (C) 2015 Ilya Konstantinov
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GST_APPLE_CORE_VIDEO_MEMORY_H__
+#define __GST_APPLE_CORE_VIDEO_MEMORY_H__
+
+#include <gst/gst.h>
+
+#include "CoreVideo/CoreVideo.h"
+
+G_BEGIN_DECLS
+
+/**
+ * GstAppleCoreVideoLockState:
+ *
+ * Specifies whether the backing CVPixelBuffer is locked for read-only
+ * or read-write.
+ *
+ * Locking for reading only improves performance by preventing
+ * Core Video from invalidating existing caches of the buffer’s contents.
+ */
+typedef enum
+{
+ GST_APPLE_CORE_VIDEO_MEMORY_UNLOCKED,
+ GST_APPLE_CORE_VIDEO_MEMORY_LOCKED_READONLY,
+ GST_APPLE_CORE_VIDEO_MEMORY_LOCKED_READ_WRITE
+} GstAppleCoreVideoLockState;
+
+/**
+ * GstAppleCoreVideoPixelBuffer:
+ *
+ * This structure wraps CVPixelBuffer, managing its lock states and reference count.
+ * It will be referenced by one or more #GstAppleCoreVideoMemory.
+ */
+typedef struct
+{
+ guint refcount;
+ GMutex mutex;
+ CVPixelBufferRef buf;
+ /* Allows mem_map to refuse Read-Write locking a buffer that was previously
+ * locked for Read-Only. */
+ GstAppleCoreVideoLockState lock_state;
+ /* Counts the number of times the buffer was locked.
+ * Only the first lock affects whether it's just for reading
+ * or for reading and writing, as reflected in @lock_state. */
+ guint lock_count;
+} GstAppleCoreVideoPixelBuffer;
+
+/**
+ * GST_APPLE_CORE_VIDEO_NO_PLANE:
+ *
+ * Indicates a non-planar pixel buffer.
+ */
+#define GST_APPLE_CORE_VIDEO_NO_PLANE ((size_t)-1)
+
+/**
+ * GstAppleCoreVideoMemory:
+ *
+ * Represents a video plane or an entire (non-planar) video image,
+ * backed by a CVPixelBuffer.
+ *
+ * This structure shares a #GstAppleCoreVideoPixelBuffer instance
+ * with other instances.
+ */
+typedef struct
+{
+ GstMemory mem;
+
+ GstAppleCoreVideoPixelBuffer *gpixbuf;
+ size_t plane;
+} GstAppleCoreVideoMemory;
+
+void
+gst_apple_core_video_memory_init (void);
+
+GstAppleCoreVideoPixelBuffer *
+gst_apple_core_video_pixel_buffer_new (CVPixelBufferRef pixbuf);
+
+GstAppleCoreVideoPixelBuffer *
+gst_apple_core_video_pixel_buffer_ref (GstAppleCoreVideoPixelBuffer * shared);
+
+void
+gst_apple_core_video_pixel_buffer_unref (GstAppleCoreVideoPixelBuffer * shared);
+
+gboolean
+gst_is_apple_core_video_memory (GstMemory * mem);
+
+GstMemory *
+gst_apple_core_video_memory_new_wrapped (GstAppleCoreVideoPixelBuffer * shared, gsize plane, gsize size);
+
+G_END_DECLS
+
+#endif /* __GST_APPLE_CORE_VIDEO_MEMORY_H__ */
Added: users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/files/iosurfacememory.h
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/files/iosurfacememory.h (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad/files/iosurfacememory.h 2016-03-18 22:58:19 UTC (rev 146844)
@@ -0,0 +1,78 @@
+/*
+ * GStreamer
+ * Copyright (C) 2015 Alessandro Decina <twi at centricular.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _GST_IO_SURFACE_MEMORY_H_
+#define _GST_IO_SURFACE_MEMORY_H_
+
+#include <IOSurface/IOSurface.h>
+#include <gst/gst.h>
+#include <gst/gstallocator.h>
+#include <gst/video/video.h>
+#include <gst/gl/gl.h>
+
+G_BEGIN_DECLS
+
+#define GST_TYPE_IO_SURFACE_MEMORY_ALLOCATOR (gst_io_surface_memory_allocator_get_type())
+GType gst_io_surface_memory_allocator_get_type(void);
+
+#define GST_IS_IO_SURFACE_MEMORY_ALLOCATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_IO_SURFACE_MEMORY_ALLOCATOR))
+#define GST_IS_IO_SURFACE_MEMORY_ALLOCATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_IO_SURFACE_MEMORY_ALLOCATOR))
+#define GST_IO_SURFACE_MEMORY_ALLOCATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_IO_SURFACE_MEMORY_ALLOCATOR, GstIOSurfaceMemoryAllocatorClass))
+#define GST_IO_SURFACE_MEMORY_ALLOCATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_IO_SURFACE_MEMORY_ALLOCATOR, GstIOSurfaceMemoryAllocator))
+#define GST_IO_SURFACE_MEMORY_ALLOCATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_IO_SURFACE_MEMORY_ALLOCATOR, GstIOSurfaceMemoryAllocatorClass))
+#define GST_IO_SURFACE_MEMORY_ALLOCATOR_CAST(obj) ((GstIOSurfaceMemoryAllocator *)(obj))
+
+typedef struct _GstIOSurfaceMemory
+{
+ GstGLMemory gl_mem;
+ IOSurfaceRef surface;
+} GstIOSurfaceMemory;
+
+#define GST_IO_SURFACE_MEMORY_ALLOCATOR_NAME "IOSurfaceMemory"
+
+void gst_ios_surface_memory_init (void);
+
+GstIOSurfaceMemory *
+gst_io_surface_memory_wrapped (GstGLContext * context,
+ IOSurfaceRef surface,
+ GstGLTextureTarget target,
+ GstVideoInfo * info,
+ guint plane,
+ GstVideoAlignment *valign,
+ gpointer user_data,
+ GDestroyNotify notify);
+
+void gst_io_surface_memory_set_surface (GstIOSurfaceMemory *memory, IOSurfaceRef surface);
+
+gboolean gst_is_io_surface_memory (GstMemory * mem);
+
+typedef struct _GstIOSurfaceMemoryAllocator
+{
+ GstGLMemoryAllocator allocator;
+} GstIOSurfaceMemoryAllocator;
+
+typedef struct _GstIOSurfaceMemoryAllocatorClass
+{
+ GstGLMemoryAllocatorClass parent_class;
+} GstIOSurfaceMemoryAllocatorClass;
+
+G_END_DECLS
+
+#endif /* _GST_IO_SURFACE_MEMORY_H_ */
Modified: users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-base/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-base/Portfile 2016-03-18 22:53:33 UTC (rev 146843)
+++ users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-base/Portfile 2016-03-18 22:58:19 UTC (rev 146844)
@@ -9,7 +9,7 @@
name gstreamer1-gst-plugins-base
set my_name gst-plugins-base
-version 1.7.90
+version 1.7.91
description This is gst-plugins, a set of plug-ins for GStreamer.
long_description ${description}
maintainers nomaintainer
@@ -23,8 +23,8 @@
use_xz yes
-checksums rmd160 61a9e3079cec6e32cf2cfb1bfb855150359e2d23 \
- sha256 7564b8b2a8c0d78aa2c1742968bef83d35fa83a2cfc167d46a5fc4715794742c
+checksums rmd160 e61f3607c926d626045dada783bea19e6a7d42b3 \
+ sha256 29a14b902f056141c4c0d4fc8390a9c371845b86cf9bc6ecfce026ead76c359a
depends_build port:pkgconfig
depends_lib port:gstreamer1 \
Modified: users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-good/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-good/Portfile 2016-03-18 22:53:33 UTC (rev 146843)
+++ users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-good/Portfile 2016-03-18 22:58:19 UTC (rev 146844)
@@ -9,7 +9,7 @@
name gstreamer1-gst-plugins-good
set my_name gst-plugins-good
-version 1.7.90
+version 1.7.91
description A set of good-quality plug-ins for GStreamer under GStreamer's preferred \
license, LGPL.
long_description GStreamer Good Plug-ins is a set of plug-ins that GStreamer's developers \
@@ -25,8 +25,8 @@
use_xz yes
distname ${my_name}-${version}
-checksums rmd160 8ab7262d6e0ee34cbc19e2a2f61d9fbd55204198 \
- sha256 fcbebe3cc0272a7ca4865bfbb898a7e3dc8e51948a5fca5477e68a214d172859
+checksums rmd160 14158d394c03e698f70a23307d79a82b652daabc \
+ sha256 fed8eec07102d840eea7ad398b025670ee017a5bd85d805c272d07f3fca5d7a3
depends_build port:pkgconfig
Modified: users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-ugly/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-ugly/Portfile 2016-03-18 22:53:33 UTC (rev 146843)
+++ users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-ugly/Portfile 2016-03-18 22:58:19 UTC (rev 146844)
@@ -8,7 +8,7 @@
name gstreamer1-gst-plugins-ugly
set my_name gst-plugins-ugly
-version 1.7.90
+version 1.7.91
description A set of good-quality plug-ins for GStreamer that might pose distribution \
problems.
long_description GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and \
@@ -24,8 +24,8 @@
license GPL-2+ LGPL-2+
use_xz yes
-checksums rmd160 251f293b782fd88053ad60cac318c613243ca8bd \
- sha256 d4874effcac3d568b7209806d5585afedc7e3a411ad24e0a3b14558ace58fc43
+checksums rmd160 b6138cd94ac5e193c720fda6e37c87321b30ea95 \
+ sha256 399383f8aed163178ce23b21cf090a283eb0074f7af1723e1c7d87a29458a377
depends_build port:pkgconfig
depends_lib port:gstreamer1-gst-plugins-base \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160318/1d85ee9b/attachment-0001.html>
More information about the macports-changes
mailing list