From: IOhannes m zmölnig (Debian/GNU) Date: Tue, 13 Jun 2023 16:41:36 +0000 (+0200) Subject: Add patch to buildsystem to allow building non-GUI jacktrip X-Git-Tag: archive/raspbian/2.5.1+ds-1+rpi1~1^2~80 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=821972ca952962d122ceb63d8a0a31e81ee10917;p=jacktrip.git Add patch to buildsystem to allow building non-GUI jacktrip --- diff --git a/debian/patches/meson.patch b/debian/patches/meson.patch new file mode 100644 index 0000000..8fdab02 --- /dev/null +++ b/debian/patches/meson.patch @@ -0,0 +1,31 @@ +Description: fix meson.build to allow for some vars to be empty + the CLI-configuration has no resources nor UI elements, but the qt5-meson + module doesn't like this... +Author: IOhannes m zmölnig +Origin: Debian +Bug: https://github.com/jacktrip/jacktrip/issues/1069 +Last-Update: 2023-06-13 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: jacktrip-1.9.0+ds/meson.build +=================================================================== +--- jacktrip-1.9.0+ds.orig/meson.build ++++ jacktrip-1.9.0+ds/meson.build +@@ -231,9 +231,15 @@ if host_machine.system() == 'darwin' and + deps += apple_av_dep + endif + +-qres_files = qt.compile_resources(sources: qres) ++qres_files = [] ++if qres.length() > 0 ++ qres_files = qt.compile_resources(sources: qres) ++endif + moc_files = qt.compile_moc(headers: moc_h, extra_args: defines) +-ui_files = qt.compile_ui(sources: ui_h) ++ui_files = [] ++if ui_h.length() > 0 ++ ui_files = qt.compile_ui(sources: ui_h) ++endif + + jacktrip = executable('jacktrip', src, qres_files, ui_files, moc_files, include_directories: incdirs, dependencies: deps, c_args: c_defines, cpp_args: defines, install: true ) + diff --git a/debian/patches/series b/debian/patches/series index 0d8f1ee..6f9abf1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ gui-launcher.patch +meson.patch