pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
qt6-qtspeech: fix build when ALSA is installed
Module Name: pkgsrc-wip
Committed By: Niclas Rosenvik <nros%pkgsrc.org@localhost>
Pushed By: nros
Date: Wed Oct 5 19:33:52 2022 +0200
Changeset: b7be2cd896f42620774230e62abd10e90b7b48fe
Modified Files:
qt6-qtspeech/distinfo
Added Files:
qt6-qtspeech/patches/patch-cmake_FindFlite.cmake
Log Message:
qt6-qtspeech: fix build when ALSA is installed
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b7be2cd896f42620774230e62abd10e90b7b48fe
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
qt6-qtspeech/distinfo | 1 +
qt6-qtspeech/patches/patch-cmake_FindFlite.cmake | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diffs:
diff --git a/qt6-qtspeech/distinfo b/qt6-qtspeech/distinfo
index 11c862731a..15720e702a 100644
--- a/qt6-qtspeech/distinfo
+++ b/qt6-qtspeech/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
BLAKE2s (qtspeech-everywhere-src-6.4.0.tar.xz) = 101126fbfb40d6c6340f34091e99b6549ed32acbc6ab2199f05598d0b01d69a0
SHA512 (qtspeech-everywhere-src-6.4.0.tar.xz) = 48af0ef02a7efb0660951dd88dacb22143312e63940903e331d004d3d4134dba669f95a4ecbed3197b83c04d358452f5f90019ee546b0f76d14002a77511a3b7
Size (qtspeech-everywhere-src-6.4.0.tar.xz) = 219216 bytes
+SHA1 (patch-cmake_FindFlite.cmake) = 871495c2082dcbd020a80bc30ebe12a41afd6350
diff --git a/qt6-qtspeech/patches/patch-cmake_FindFlite.cmake b/qt6-qtspeech/patches/patch-cmake_FindFlite.cmake
new file mode 100644
index 0000000000..d0d9cd8b73
--- /dev/null
+++ b/qt6-qtspeech/patches/patch-cmake_FindFlite.cmake
@@ -0,0 +1,19 @@
+$NetBSD$
+
+* pkgsrc flite does not use ALSA,
+ the test will fail if pkgsrc alsa is
+ installed and cmake finds it, this
+ causes the flite feature to not be
+ used in the package leading to PLIST
+ breakage etc.
+
+--- cmake/FindFlite.cmake.orig 2022-10-05 14:32:21.272294992 +0000
++++ cmake/FindFlite.cmake
+@@ -25,6 +25,7 @@ include(CheckCXXSourceCompiles)
+ # Flite can be built with ALSA support,
+ # in which case we need to link ALSA as well
+ find_package(ALSA QUIET)
++set(ALSA_FOUND 0)
+
+ cmake_push_check_state(RESET)
+
Home |
Main Index |
Thread Index |
Old Index