From e64b5cbeaf16a7462b4550a28317ccc9169659e1 Mon Sep 17 00:00:00 2001 From: mag Date: Sun, 10 Sep 2023 17:16:10 +0000 Subject: [PATCH] faust: update to 2.60.3 --- .../faust-voidlinux-lib_and_arch_paths.patch | 52 +++++++++---------- srcpkgs/faust/template | 4 +- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/srcpkgs/faust/patches/faust-voidlinux-lib_and_arch_paths.patch b/srcpkgs/faust/patches/faust-voidlinux-lib_and_arch_paths.patch index 761214ea0e9198..3587fc639e67ee 100644 --- a/srcpkgs/faust/patches/faust-voidlinux-lib_and_arch_paths.patch +++ b/srcpkgs/faust/patches/faust-voidlinux-lib_and_arch_paths.patch @@ -1,32 +1,32 @@ ---- a/compiler/libcode.cpp-old 2019-12-22 19:50:13.663677186 +0100 -+++ b/compiler/libcode.cpp 2019-12-22 19:51:42.011680485 +0100 -@@ -733,11 +733,11 @@ +--- a/compiler/global.cpp-orig 2023-09-09 10:38:02.642030383 +0000 ++++ b/compiler/global.cpp 2023-09-09 10:41:55.199049192 +0000 +@@ -1679,6 +1679,7 @@ void global::initDirectories(int argc, c + gImportDirList.push_back(exepath::dirup(gFaustExeDir) + "/share/faust"); + gImportDirList.push_back("/usr/local/share/faust"); + gImportDirList.push_back("/usr/share/faust"); ++ gImportDirList.push_back("/usr/lib/faust"); + + //------------------------------------------------------------------------------------- + // init gArchitectureDirList : a list of path where to search architectures files +@@ -1697,6 +1698,7 @@ void global::initDirectories(int argc, c + gArchitectureDirList.push_back(exepath::dirup(gFaustExeDir) + "/include"); + gArchitectureDirList.push_back("/usr/local/share/faust"); + gArchitectureDirList.push_back("/usr/share/faust"); ++ gArchitectureDirList.push_back("/usr/lib/faust"); + gArchitectureDirList.push_back("/usr/local/include"); + gArchitectureDirList.push_back("/usr/include"); + +@@ -2088,11 +2090,11 @@ void global::printIncludeDir() } - static void printArchDir() + void global::printArchDir() { -- cout << gGlobal->gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl; -+ cout << gGlobal->gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl; +- cout << gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl; ++ cout << gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl; } - static void printDspDir() + void global::printDspDir() { -- cout << gGlobal->gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl; -+ cout << gGlobal->gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl; +- cout << gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl; ++ cout << gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl; } - static void printPaths() + void global::printPaths() { -@@ -1101,6 +1101,7 @@ - gGlobal->gImportDirList.push_back(exepath::dirup(gGlobal->gFaustExeDir) + "/share/faust"); - gGlobal->gImportDirList.push_back("/usr/local/share/faust"); - gGlobal->gImportDirList.push_back("/usr/share/faust"); -+ gGlobal->gImportDirList.push_back("/usr/lib/faust"); - - //------------------------------------------------------------------------------------- - // init gArchitectureDirList : a list of path where to search architectures files -@@ -1119,6 +1120,7 @@ - gGlobal->gArchitectureDirList.push_back(exepath::dirup(gGlobal->gFaustExeDir) + "/include"); - gGlobal->gArchitectureDirList.push_back("/usr/local/share/faust"); - gGlobal->gArchitectureDirList.push_back("/usr/share/faust"); -+ gGlobal->gArchitectureDirList.push_back("/usr/lib/faust"); - gGlobal->gArchitectureDirList.push_back("/usr/local/include"); - gGlobal->gArchitectureDirList.push_back("/usr/include"); - diff --git a/srcpkgs/faust/template b/srcpkgs/faust/template index f74da4bedafcec..8ac95644e5e887 100644 --- a/srcpkgs/faust/template +++ b/srcpkgs/faust/template @@ -1,6 +1,6 @@ # Template file for 'faust' pkgname=faust -version=2.54.9 +version=2.60.3 revision=1 build_style=gnu-makefile hostmakedepends="cmake pkg-config llvm which" @@ -10,7 +10,7 @@ maintainer="mag " license="GPL-2.0-or-later" homepage="https://faust.grame.fr/" distfiles="https://github.com/grame-cncm/faust/releases/download/${version}/faust-${version}.tar.gz" -checksum="29cfb88f87fd93a55620c18f58ec585a31b6f8106a9fd3528db8340048adef28" +checksum="1088b31ad2a6175ff27807afc33c5929c33e97a7d09a1995e126bdda9940fc1e" # Android stuffs, used by the 'faust2android' script. nostrip_files="libsndfile.so libsndfile.a "