summaryrefslogtreecommitdiffstats
path: root/avmedia/Library_avmediaMacAVF.mk
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2014-05-12 13:39:08 +0000
committerTor Lillqvist <tml@collabora.com>2014-05-15 18:49:14 +0300
commitf3b314413336eb60e66886f48b56149bb586d830 (patch)
tree57c9ccfc6de4f0281d85709dfacacd4d75a07df9 /avmedia/Library_avmediaMacAVF.mk
parentAOO: #i124800# switch avmedia's QuickTime component to QTKit for now (diff)
downloadcore-f3b314413336eb60e66886f48b56149bb586d830.tar.gz
core-f3b314413336eb60e66886f48b56149bb586d830.zip
AOO: #i124875# support Mac AV-Foundation API for multimedia content
Adapted as needed and gbuildified by tml. For the files that actually are Objective-C++ use the .mm suffix. Change-Id: Ieec40b722df6463a1061d19d38154828ff8adca2
Diffstat (limited to 'avmedia/Library_avmediaMacAVF.mk')
-rw-r--r--avmedia/Library_avmediaMacAVF.mk47
1 files changed, 47 insertions, 0 deletions
diff --git a/avmedia/Library_avmediaMacAVF.mk b/avmedia/Library_avmediaMacAVF.mk
new file mode 100644
index 000000000000..b123130c4d53
--- /dev/null
+++ b/avmedia/Library_avmediaMacAVF.mk
@@ -0,0 +1,47 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Library_Library,avmediaMacAVF))
+
+$(eval $(call gb_Library_set_componentfile,avmediaMacAVF,avmedia/source/macavf/avmediaMacAVF))
+
+$(eval $(call gb_Library_set_include,avmediaMacAVF,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/avmedia/source/inc \
+))
+
+$(eval $(call gb_Library_use_external,avmediaMacAVF,boost_headers))
+
+$(eval $(call gb_Library_use_sdk_api,avmediaMacAVF));
+
+$(eval $(call gb_Library_use_libraries,avmediaMacAVF,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ tl \
+ vcl \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_Library_use_system_darwin_frameworks,avmediaMacAVF,\
+ AVFoundation \
+ Cocoa \
+ CoreMedia \
+))
+
+$(eval $(call gb_Library_add_objcxxobjects,avmediaMacAVF,\
+ avmedia/source/macavf/framegrabber \
+ avmedia/source/macavf/macavfuno \
+ avmedia/source/macavf/manager \
+ avmedia/source/macavf/player \
+ avmedia/source/macavf/window \
+))
+
+# vim: set noet sw=4 ts=4: