File: 0017-actions-update-homebrew-qt-package-name.patch

package info (click to toggle)
inspectrum 0.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,312 kB
  • sloc: cpp: 2,675; makefile: 3
file content (36 lines) | stat: -rw-r--r-- 1,078 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 6d284ff7816d72f8164362c8c7e292ffce398e96 Mon Sep 17 00:00:00 2001
From: Mike Walters <mike@flomp.net>
Date: Thu, 25 Mar 2021 12:51:11 +0000
Subject: [PATCH 17/31] actions: update homebrew qt package name

qt5 seems to have been renamed to qt@5 in homebrew, so builds were
failing at the CMAKE_PREFIX_PATH was no longer correct.
---
 .github/workflows/build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cf415cb..e00be0e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -5,7 +5,7 @@ on: [push]
 env:
   BUILD_TYPE: Release
   # For macOS qt keg-only package
-  CMAKE_PREFIX_PATH: '/usr/local/opt/qt'
+  CMAKE_PREFIX_PATH: '/usr/local/opt/qt@5'
 
 jobs:
   build:
@@ -18,7 +18,7 @@ jobs:
     - uses: actions/checkout@v2
 
     - name: Install dependencies (macOS)
-      run: brew install fftw liquid-dsp qt5
+      run: brew install fftw liquid-dsp qt@5
       if: matrix.os == 'macos-latest'
 
     - name: Install dependencies (Ubuntu)
-- 
2.35.1