summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-06-23 23:38:27 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-06-23 23:38:27 +0100
commit173d99e7e2aad7f54ad190e6993a416b08d26f80 (patch)
tree257dcac528d34b2ca9b5e9315c3a55e5d1457e33 /ext
parent5dcf2def4efab4b8fe9e1974e48d291f29d56bdc (diff)
meson: build caca plugin
https://bugzilla.gnome.org/show_bug.cgi?id=784134
Diffstat (limited to 'ext')
-rw-r--r--ext/libcaca/meson.build11
-rw-r--r--ext/meson.build2
2 files changed, 12 insertions, 1 deletions
diff --git a/ext/libcaca/meson.build b/ext/libcaca/meson.build
new file mode 100644
index 000000000..5ff8714ca
--- /dev/null
+++ b/ext/libcaca/meson.build
@@ -0,0 +1,11 @@
+libcaca_dep = dependency('caca', required : false)
+
+if libcaca_dep.found()
+ library('gstcacasink', 'gstcacasink.c',
+ c_args : gst_plugins_good_args,
+ link_args : noseh_link_args,
+ include_directories : [configinc],
+ dependencies : [gstvideo_dep, gstbase_dep, libcaca_dep],
+ install : true,
+ install_dir : plugins_install_dir)
+endif
diff --git a/ext/meson.build b/ext/meson.build
index 544f29a22..e66692fe5 100644
--- a/ext/meson.build
+++ b/ext/meson.build
@@ -4,7 +4,7 @@ subdir('flac')
subdir('gdk_pixbuf')
subdir('jack')
subdir('jpeg')
-# subdir('libcaca')
+subdir('libcaca')
# FIXME: dv plugin fails to link with msvc, wants pthread.lib
if cc.get_id() != 'msvc'
subdir('dv')