File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ --- compiler/errors/errormsg.cpp-old 2019-12-22 19:47:17.694670614 +0100
2+ +++ compiler/errors/errormsg.cpp 2019-12-22 19:48:25.145673133 +0100
3+ @@ -43,9 +43,11 @@
4+ gGlobal->printCompilationOptions(str);
5+ }
6+ str << ")\n";
7+ + #ifdef __GLIBC__
8+ #ifndef EMCC
9+ stacktrace(str, 20);
10+ #endif
11+ + #endif
12+ throw faustexception(str.str());
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ --- compiler/libcode.cpp-old 2019-12-22 19:50:13.663677186 +0100
2+ +++ compiler/libcode.cpp 2019-12-22 19:51:42.011680485 +0100
3+ @@ -733,11 +733,11 @@
4+ }
5+ static void printArchDir()
6+ {
7+ - cout << gGlobal->gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl;
8+ + cout << gGlobal->gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl;
9+ }
10+ static void printDspDir()
11+ {
12+ - cout << gGlobal->gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl;
13+ + cout << gGlobal->gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl;
14+ }
15+ static void printPaths()
16+ {
17+ @@ -1101,6 +1101,7 @@
18+ gGlobal->gImportDirList.push_back(exepath::dirup(gGlobal->gFaustExeDir) + "/share/faust");
19+ gGlobal->gImportDirList.push_back("/usr/local/share/faust");
20+ gGlobal->gImportDirList.push_back("/usr/share/faust");
21+ + gGlobal->gImportDirList.push_back("/usr/lib/faust");
22+
23+ //-------------------------------------------------------------------------------------
24+ // init gArchitectureDirList : a list of path where to search architectures files
25+ @@ -1119,6 +1120,7 @@
26+ gGlobal->gArchitectureDirList.push_back(exepath::dirup(gGlobal->gFaustExeDir) + "/include");
27+ gGlobal->gArchitectureDirList.push_back("/usr/local/share/faust");
28+ gGlobal->gArchitectureDirList.push_back("/usr/share/faust");
29+ + gGlobal->gArchitectureDirList.push_back("/usr/lib/faust");
30+ gGlobal->gArchitectureDirList.push_back("/usr/local/include");
31+ gGlobal->gArchitectureDirList.push_back("/usr/include");
32+
Original file line number Diff line number Diff line change 1+ # Template file for 'faust'
2+ pkgname=faust
3+ version=2.20.2
4+ revision=1
5+ build_style=gnu-makefile
6+ hostmakedepends="cmake pkg-config llvm"
7+ makedepends="libmicrohttpd-devel llvm-libunwind-devel"
8+ short_desc="Functional Programming Language for Real Time Signal Processing"
9+ maintainer="mag <mag-one@autistici.org>"
10+ license="GPL-2.0-or-later"
11+ homepage="http://faust.grame.fr/"
12+ distfiles=https://github.com/grame-cncm/faust/releases/download/${version}/${pkgname}-${version}.tar.gz
13+ checksum="c32588ee60d0f7ca25034d3d5436def6b35495f4d3beb3b02208d48684bcfbe9"
14+
15+ # Android stuffs, used by the 'faust2android' script.
16+ nostrip_files="libsndfile.so "
17+ noverifyrdeps="libsndfile.so"
18+ skiprdeps="/usr/lib/faust/android/app/lib/libsndfile/lib/armeabi-v7a/libsndfile.so
19+ /usr/lib/faust/android/app/lib/libsndfile/lib/arm64-v8a/libsndfile.so"
20+
21+ case $XBPS_TARGET_MACHINE in
22+ *-musl) makedepends+=" libexecinfo-devel";;
23+ esac
24+
25+ post_install() {
26+ mv $PKGDESTDIR/usr/share/faust $PKGDESTDIR/usr/lib
27+ vcopy examples usr/lib/${pkgname}
28+ }
You can’t perform that action at this time.
0 commit comments