summaryrefslogtreecommitdiff
path: root/plugins/fullscreen
diff options
context:
space:
mode:
authorManatsawin Hanmongkolchai <[email protected]>2022-11-14 23:52:41 +0700
committerraveit65 <[email protected]>2023-04-20 18:07:49 +0200
commit94abc672375a68425d210bec872167922808391c (patch)
tree9376b2dfc478aa304e9dfae79883ff3720d4a72c /plugins/fullscreen
parentfaf2001f46509a7434fc10ee848ce1ce84255dcd (diff)
downloadeom-94abc672375a68425d210bec872167922808391c.tar.bz2
eom-94abc672375a68425d210bec872167922808391c.tar.xz
Add plugin build
Diffstat (limited to 'plugins/fullscreen')
-rw-r--r--plugins/fullscreen/meson.build27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/fullscreen/meson.build b/plugins/fullscreen/meson.build
new file mode 100644
index 0000000..9688a12
--- /dev/null
+++ b/plugins/fullscreen/meson.build
@@ -0,0 +1,27 @@
+desktopfile = configure_file(input: 'fullscreen.plugin.desktop.in.in', configuration: pkg_info, output: 'fullscreen.plugin.desktop.in')
+if get_option('nls')
+ i18n.merge_file(
+ input: desktopfile,
+ output: 'fullscreen.plugin.desktop',
+ install: true,
+ install_dir: pluginsdir,
+ type: 'desktop',
+ po_dir: po_dir,
+ )
+else
+ install_data(desktopfile, install_dir: pluginsdir)
+endif
+
+shared_library(
+ 'fullscreen',
+ sources: [
+ 'eom-fullscreen-plugin.h',
+ 'eom-fullscreen-plugin.c',
+ ],
+ c_args: plugins_c_args,
+ dependencies: all_deps,
+ include_directories: [top_inc, src_inc],
+ link_with: [eom_links],
+ install: true,
+ install_dir: pluginsdir
+)