From b2fec872deea1e4e08f02ac74df383da3cb6665a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 24 Oct 2018 13:09:45 +0200 Subject: Add missing install items --- src/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/meson.build') diff --git a/src/meson.build b/src/meson.build index e09b130..715e154 100644 --- a/src/meson.build +++ b/src/meson.build @@ -6,6 +6,7 @@ poi_moc = qt5.preprocess( 'webengine/filter.h', 'webengine/urlinterceptor.h', 'webengine/webpage.h', 'webengine/webview.h'], ui_files: ['mainwindow/mainwindow.ui', 'mainwindow/widgets/searchform.ui'], qresources: '../data/resources.qrc', + rcc_extra_arguments: ['--format-version=1'], dependencies: dep_qt5 ) @@ -44,3 +45,9 @@ poi = executable(get_option('poiName'), install: true, 'wallet/wallet.cpp', 'wallet/wallet.h'] ) +# install .desktop file and firejail profile +if ['linux', 'freebsd', 'netbsd', 'dragonflybsd'].contains(host_machine.system()) + install_data('../data/poi.svg', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps')) + install_data('../linux/poi.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) + install_data('../data/poi.profile', install_dir: join_paths(get_option('libdir'), 'smolbote')) +endif -- cgit v1.2.1