diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2023-11-23 21:56:12 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2023-11-23 21:58:22 +0100 |
| commit | f55b3ffc5b2e2745e5392ce0022b9e38b2c7fa3d (patch) | |
| tree | 87186961273bd251bbd9143691774f81eea9fd95 /meson.build | |
| parent | 4d10bf26b8492e2cee2948b7689f1ef52ef296db (diff) | |
Add basic support for building a debian package
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 499de00..d396a42 100644 --- a/meson.build +++ b/meson.build @@ -62,7 +62,7 @@ exe = executable('timer', xdg_desktop_menu = find_program('xdg-desktop-menu', required: false, native: true) -if xdg_desktop_menu.found() +if xdg_desktop_menu.found() and not get_option('debpkg') meson.add_install_script(xdg_desktop_menu, 'install', '--novendor', files('data/org.the_jk.timer.desktop')) else @@ -73,7 +73,7 @@ endif xdg_icon_resource = find_program('xdg-icon-resource', required: false, native: true) -if xdg_icon_resource.found() +if xdg_icon_resource.found() and not get_option('debpkg') meson.add_install_script(xdg_icon_resource, 'install', '--novendor', '--size', '128', files('data/org.the_jk.timer.png')) else @@ -82,7 +82,7 @@ else gtk_update_icon_cache = find_program('gtk-update-icon-cache', required: false, native: true) - if gtk_update_icon_cache.found() + if gtk_update_icon_cache.found() and not get_option('debpkg') meson.add_install_script(gtk_update_icon_cache, icon_path) endif endif |
