Skip to content

Commit

Permalink
update meson.build and i18n.qrc to actually build properly
Browse files Browse the repository at this point in the history
  • Loading branch information
pontaoski committed Jul 10, 2019
1 parent 9a7dda2 commit b06fa37
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion i18n.qrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/">
<file>i18n/qml_en.qm</file>
<file>i18n/base.qm</file>
<file>i18n/qml_de.qm</file>
</qresource>
Expand Down
12 changes: 0 additions & 12 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@ processed_files = qt5.preprocess(moc_headers: ['include/enabler.h', 'include/lau
include_directories: inc,
qresources: qresource_files)

lconvert_prog = find_program('lconvert-qt5')
i18n_gen = generator(lconvert_prog,
output: '@[email protected]',
arguments: ['@INPUT@', '-o', '@OUTPUT@'])

trans = ['i18n/base.po', 'i18n/qml_de.po', 'i18n/qml_en.po']
i18n_files = []

foreach tran : trans
i18n_files += i18n_gen.process(tran)
endforeach

subdir('src')

install_data('org.opensuse.opensuse_welcome.desktop', install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'applications'))
Expand Down

0 comments on commit b06fa37

Please sign in to comment.