2010-10-27 17:30:11 +00:00
|
|
|
plugin_LTLIBRARIES = libgstapplemedia.la
|
|
|
|
|
|
|
|
libgstapplemedia_la_SOURCES = \
|
|
|
|
plugin.m \
|
|
|
|
vtutil.c \
|
2015-04-02 17:04:18 +00:00
|
|
|
corevideomemory.c \
|
2010-10-27 17:30:11 +00:00
|
|
|
corevideobuffer.c \
|
|
|
|
coremediabuffer.c \
|
2016-01-29 04:07:59 +00:00
|
|
|
videotexturecache.m \
|
|
|
|
atdec.c \
|
|
|
|
glcontexthelper.c
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2013-06-18 11:02:42 +00:00
|
|
|
libgstapplemedia_la_CPPFLAGS = \
|
2013-04-24 15:55:12 +00:00
|
|
|
-Dgst_core_media_buffer_new=gst_core_media_buffer_priv_new \
|
|
|
|
-Dgst_core_media_buffer_get_type=gst_core_media_buffer_priv_get_type \
|
|
|
|
-Dgst_core_media_buffer_get_pixel_buffer=gst_core_media_buffer_priv_get_pixel_buffer\
|
|
|
|
-Dgst_core_video_buffer_new=gst_core_video_buffer_priv_new \
|
2014-09-16 12:02:46 +00:00
|
|
|
-Dgst_core_video_buffer_get_type=gst_core_video_buffer_priv_get_type
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2013-06-18 11:02:42 +00:00
|
|
|
libgstapplemedia_la_CFLAGS = \
|
2015-01-08 13:16:17 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
2013-06-18 11:02:42 +00:00
|
|
|
$(GST_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2015-12-18 10:30:25 +00:00
|
|
|
if HAVE_IOS
|
|
|
|
GST_OBJCFLAGS_WITH_VERSION = $(GST_OBJCFLAGS)
|
|
|
|
else
|
|
|
|
# Add min version in front so the user or cerbero can override it since it
|
|
|
|
# always picks the last occurence when passing several -mmacosx-version-min.
|
|
|
|
GST_OBJCFLAGS_WITH_VERSION = -mmacosx-version-min=10.8 $(GST_OBJCFLAGS)
|
|
|
|
endif
|
|
|
|
|
2010-10-27 17:30:11 +00:00
|
|
|
libgstapplemedia_la_OBJCFLAGS = \
|
2015-01-08 13:16:17 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
2015-12-18 10:30:25 +00:00
|
|
|
$(GST_OBJCFLAGS_WITH_VERSION) \
|
2010-10-27 17:30:11 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2013-03-25 12:45:30 +00:00
|
|
|
if HAVE_IOS
|
|
|
|
libgstapplemedia_la_OBJCFLAGS += -fobjc-abi-version=2 -fobjc-legacy-dispatch
|
|
|
|
endif
|
|
|
|
|
2015-01-08 13:16:17 +00:00
|
|
|
libgstapplemedia_la_LIBADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
|
|
-lgstvideo-$(GST_API_VERSION) \
|
|
|
|
-lgstaudio-$(GST_API_VERSION) \
|
|
|
|
-lgstpbutils-$(GST_API_VERSION) \
|
2013-11-04 09:04:42 +00:00
|
|
|
$(GMODULE_NO_EXPORT_LIBS)
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2014-02-06 15:17:39 +00:00
|
|
|
libgstapplemedia_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS) --tag=CC
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
libgstapplemedia_la_LDFLAGS = \
|
|
|
|
$(GST_PLUGIN_LDFLAGS) \
|
|
|
|
$(GST_BASE_LDFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_LDFLAGS) \
|
2010-11-04 13:14:09 +00:00
|
|
|
-Wl,-framework -Wl,CoreFoundation \
|
2013-04-24 20:15:01 +00:00
|
|
|
-Wl,-framework -Wl,CoreMedia \
|
2013-07-23 08:30:39 +00:00
|
|
|
-Wl,-framework -Wl,CoreVideo \
|
|
|
|
-Wl,-framework -Wl,AudioToolbox
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
qtkitvideosrc.h \
|
2010-11-04 13:14:09 +00:00
|
|
|
avfvideosrc.h \
|
2015-09-30 07:44:16 +00:00
|
|
|
avsamplevideosink.h \
|
2010-10-27 17:30:11 +00:00
|
|
|
vtenc.h \
|
|
|
|
vtdec.h \
|
|
|
|
vtutil.h \
|
|
|
|
corevideobuffer.h \
|
|
|
|
coremediabuffer.h \
|
2016-05-09 09:50:47 +00:00
|
|
|
corevideomemory.h \
|
2015-12-10 05:22:08 +00:00
|
|
|
videotexturecache.h \
|
2013-07-23 08:30:39 +00:00
|
|
|
atdec.h \
|
2013-05-11 01:41:36 +00:00
|
|
|
iosassetsrc.h \
|
2016-05-09 09:50:47 +00:00
|
|
|
iosurfacememory.h \
|
2016-01-29 04:07:59 +00:00
|
|
|
avfassetsrc.h \
|
2016-08-26 07:37:54 +00:00
|
|
|
glcontexthelper.h \
|
|
|
|
iosglmemory.h
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
if HAVE_IOS
|
|
|
|
|
2013-09-26 11:21:59 +00:00
|
|
|
libgstapplemedia_la_SOURCES += \
|
2016-08-26 07:37:54 +00:00
|
|
|
iosassetsrc.m \
|
|
|
|
iosglmemory.c
|
2010-10-27 17:30:11 +00:00
|
|
|
|
2013-09-26 11:37:09 +00:00
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
|
|
-Wl,-framework -Wl,Foundation \
|
|
|
|
-Wl,-framework -Wl,AssetsLibrary
|
2010-11-04 13:14:09 +00:00
|
|
|
|
2010-10-27 17:30:11 +00:00
|
|
|
else
|
|
|
|
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
2015-12-11 02:20:05 +00:00
|
|
|
iosurfacememory.c
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
|
|
-Wl,-framework -Wl,Cocoa \
|
2016-06-03 05:11:33 +00:00
|
|
|
-Wl,-framework -Wl,OpenGL \
|
2015-12-16 09:21:59 +00:00
|
|
|
-Wl,-framework -Wl,IOSurface
|
2010-10-27 17:30:11 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2016-08-30 13:21:25 +00:00
|
|
|
if HAVE_QTKIT
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
|
|
|
qtkitvideosrc.m
|
|
|
|
|
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
|
|
-Wl,-framework -Wl,QTKit
|
|
|
|
endif
|
|
|
|
|
2013-10-30 12:40:01 +00:00
|
|
|
if HAVE_AVFOUNDATION
|
|
|
|
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
2014-04-03 13:02:18 +00:00
|
|
|
avfvideosrc.m \
|
2015-01-19 01:43:23 +00:00
|
|
|
avfassetsrc.m \
|
|
|
|
avsamplevideosink.m
|
2013-10-30 12:40:01 +00:00
|
|
|
|
|
|
|
libgstapplemedia_la_LDFLAGS += \
|
|
|
|
-Wl,-framework -Wl,AVFoundation
|
|
|
|
|
|
|
|
endif
|
2014-07-02 10:54:45 +00:00
|
|
|
|
|
|
|
if HAVE_VIDEOTOOLBOX
|
|
|
|
libgstapplemedia_la_SOURCES += \
|
|
|
|
vtenc.c \
|
|
|
|
vtdec.c
|
|
|
|
|
2014-09-17 07:38:20 +00:00
|
|
|
libgstapplemedia_la_LDFLAGS += -Wl,-weak_framework -Wl,VideoToolbox
|
2014-07-02 10:54:45 +00:00
|
|
|
endif
|