faust: update to 2.60.3

This commit is contained in:
mag 2023-09-10 17:16:10 +00:00 committed by Duncan Overbruck
parent b1048f4755
commit da319c20fd
2 changed files with 32 additions and 32 deletions

View File

@ -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 @@
}
static void printArchDir()
{
- cout << gGlobal->gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl;
+ cout << gGlobal->gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl;
}
static void printDspDir()
{
- cout << gGlobal->gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl;
+ cout << gGlobal->gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl;
}
static void 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");
--- 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
@@ -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");
@@ -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()
}
void global::printArchDir()
{
- cout << gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl;
+ cout << gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl;
}
void global::printDspDir()
{
- cout << gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl;
+ cout << gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl;
}
void global::printPaths()
{

View File

@ -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 <mag-one@autistici.org>"
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 "