diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2024-05-18 10:25:58 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-05-21 09:11:27 +0700 |
commit | 305a5823c6d7149c52f3181564f6880617d98faa (patch) | |
tree | 4e6c4c05f34bb78de2ee83db57dc38e51a6d0789 /audio | |
parent | b9cc596f7a1245750bb51dd95e1d72f7b93eec57 (diff) |
audio/audacity: Force SSE2 on x86.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audacity/README | 6 | ||||
-rw-r--r-- | audio/audacity/audacity.SlackBuild | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/audio/audacity/README b/audio/audacity/README index 9edf3fedb1e66..63f814b808e48 100644 --- a/audio/audacity/README +++ b/audio/audacity/README @@ -12,6 +12,8 @@ additional option From the application you will be able only to access the online manual with the default browser when selecting manual from the menu. -NOTE: for audacity to build/run wxWidgets needs to be built with +NOTES: +- for audacity to build/run wxWidgets needs to be built with support for gtk+3 (it won't work if you build it against qt). -Also this SlackBuild won't work if you built wxWidgets with STL=yes +- this SlackBuild won't work if you built wxWidgets with STL=yes +- audacity requires SSE2 support on x86 (32bit) host cpus. diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild index 488b45529808c..bc49fb7233591 100644 --- a/audio/audacity/audacity.SlackBuild +++ b/audio/audacity/audacity.SlackBuild @@ -94,6 +94,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# https://github.com/audacity/audacity/issues/6352 +if [[ $(uname -m) =~ i*86 ]]; then SLKCFLAGS+=" -msse2"; fi + sed -i 's|^#include "allegro.h"|#include "portsmf/allegro.h"|' libraries/lib-note-track/WrapAllegro.h mkdir -p build |