Skip to content

Commit

Permalink
Fix plugin installing
Browse files Browse the repository at this point in the history
  • Loading branch information
whs authored and raveit65 committed Apr 20, 2023
1 parent 94abc67 commit 8404de1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if get_option('nls')
po_dir: po_dir,
)
else
install_data(desktopfile, install_dir: desktopdir)
install_data(desktopfile, install_dir: desktopdir, rename: ['eom.desktop'])
endif
gnome.post_install(update_desktop_database: true)

Expand All @@ -30,7 +30,7 @@ if get_option('nls')
po_dir: po_dir,
)
else
install_data(appdatafile, install_dir: appdatadir)
install_data(appdatafile, install_dir: appdatadir, rename: ['eom.appdata.xml'])
endif

gsettings_schema = configure_file(input: 'org.mate.eom.gschema.xml.in', configuration: pkg_info, output: 'org.mate.eom.gschema.xml')
Expand Down
2 changes: 2 additions & 0 deletions doc/reference/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ endif
sgml = configure_file(input: 'eom-docs.sgml.in', configuration: pkg_info, output: 'eom-docs.sgml')
versionsxml = configure_file(input: 'version.xml.in', configuration: pkg_info, output: 'version.xml')

if false
gnome.gtkdoc(
'eom',
src_dir: src_inc,
Expand All @@ -28,3 +29,4 @@ gnome.gtkdoc(
dependencies: [all_deps, libeom],
install: true,
)
endif
4 changes: 2 additions & 2 deletions plugins/fullscreen/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ desktopfile = configure_file(input: 'fullscreen.plugin.desktop.in.in', configura
if get_option('nls')
i18n.merge_file(
input: desktopfile,
output: 'fullscreen.plugin.desktop',
output: 'fullscreen.plugin',
install: true,
install_dir: pluginsdir,
type: 'desktop',
po_dir: po_dir,
)
else
install_data(desktopfile, install_dir: pluginsdir)
install_data(desktopfile, install_dir: pluginsdir, rename: ['fullscreen.plugin'])
endif

shared_library(
Expand Down
4 changes: 2 additions & 2 deletions plugins/reload/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ desktopfile = configure_file(input: 'reload.plugin.desktop.in.in', configuration
if get_option('nls')
i18n.merge_file(
input: desktopfile,
output: 'reload.plugin.desktop',
output: 'reload.plugin',
install: true,
install_dir: pluginsdir,
type: 'desktop',
po_dir: po_dir,
)
else
install_data(desktopfile, install_dir: pluginsdir)
install_data(desktopfile, install_dir: pluginsdir, rename: ['reload.plugin'])
endif

shared_library(
Expand Down
4 changes: 2 additions & 2 deletions plugins/statusbar-date/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ desktopfile = configure_file(input: 'statusbar-date.plugin.desktop.in.in', confi
if get_option('nls')
i18n.merge_file(
input: desktopfile,
output: 'statusbar-date.plugin.desktop',
output: 'statusbar-date.plugin',
install: true,
install_dir: pluginsdir,
type: 'desktop',
po_dir: po_dir,
)
else
install_data(desktopfile, install_dir: pluginsdir)
install_data(desktopfile, install_dir: pluginsdir, rename: ['statusbar-date.plugin'])
endif

shared_library(
Expand Down
2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resources = gnome.compile_resources(
'eom',
'eom-resources',
'eom.gresource.xml',
c_name: '_eom',
source_dir: '../data',
Expand Down

0 comments on commit 8404de1

Please sign in to comment.