summaryrefslogtreecommitdiff
path: root/avmedia/Library_avmediagtk.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-10 12:55:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-18 20:40:01 +0100
commitd0a527ec09516bc7215baf229adb90cd21ffa27a (patch)
tree2ce0dc20f847e8d14805ce70f466606cf60e4840 /avmedia/Library_avmediagtk.mk
parent4da31ebb064d13f5bb180b5b3b689375246ddc00 (diff)
first cut at using Gtk4 built in video playback
Change-Id: Ib996cd3f5ddbf20a81cdbe4b1c6546d6df478fde Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129783 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'avmedia/Library_avmediagtk.mk')
-rw-r--r--avmedia/Library_avmediagtk.mk48
1 files changed, 48 insertions, 0 deletions
diff --git a/avmedia/Library_avmediagtk.mk b/avmedia/Library_avmediagtk.mk
new file mode 100644
index 000000000000..08d30d3259dc
--- /dev/null
+++ b/avmedia/Library_avmediagtk.mk
@@ -0,0 +1,48 @@
+# -*- 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,avmediagtk))
+
+$(eval $(call gb_Library_set_componentfile,avmediagtk,avmedia/source/gtk/avmediagtk,services))
+
+$(eval $(call gb_Library_set_include,avmediagtk,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/avmedia/source/inc \
+ -I$(SRCDIR)/avmedia/source/gstreamer \
+))
+
+$(eval $(call gb_Library_use_external,avmediagtk,boost_headers))
+
+$(eval $(call gb_Library_add_cxxflags,avmediagtk,\
+ $$(GTK4_CFLAGS) \
+))
+
+$(eval $(call gb_Library_use_sdk_api,avmediagtk))
+
+$(eval $(call gb_Library_use_libraries,avmediagtk,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ salhelper \
+ tl \
+ vcl \
+))
+
+$(eval $(call gb_Library_add_libs,avmediagtk,\
+ $(GTK4_LIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,avmediagtk,\
+ avmedia/source/gtk/gstwindow \
+ avmedia/source/gtk/gtkmanager \
+ avmedia/source/gtk/gtkplayer \
+))
+
+# vim: set noet sw=4 ts=4: