[arch-commits] Commit in faust/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Apr 4 10:32:45 UTC 2022
Date: Monday, April 4, 2022 @ 10:32:45
Author: dvzrv
Revision: 1181259
upgpkg: faust 2.40.0-1: Upgrade to 2.40.0
Remove unneeded quotes and curly braces.
Add debug package.
Modified:
faust/trunk/PKGBUILD
----------+
PKGBUILD | 96 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 49 insertions(+), 47 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-04 10:26:24 UTC (rev 1181258)
+++ PKGBUILD 2022-04-04 10:32:45 UTC (rev 1181259)
@@ -4,8 +4,8 @@
# Contributor: bjoern lindig (bjoern _dot_ lindig _at_ google.com)
pkgname=faust
-pkgver=2.37.3
-pkgrel=2
+pkgver=2.40.0
+pkgrel=1
pkgdesc="A functional programming language for realtime audio signal processing."
arch=(x86_64)
url="https://faust.grame.fr/"
@@ -13,36 +13,38 @@
groups=(pro-audio)
depends=(gcc-libs glibc llvm-libs libmicrohttpd)
makedepends=(cmake libsndfile llvm xxd)
-optdepends=('clang: for sound2reader'
- 'csound: for faust2csound'
- 'gradle: for faust2android'
- 'graphviz: for faust2sig{,viewer}'
- 'gtk2: for faust2{jack,rosgtk}'
- 'inkscape: for faust2{pdf,png}'
- 'jack: for faust2{api,jack{,console,internal,server,rust},jaqt,netjackqt,nodejs,ros,rosgtk,rpinetjackconsole}'
- 'swig: for faust2android'
- 'libsndfile: for faust2{dummy,sndfile}'
- 'octave: for faust2octave'
- 'pd: for faust2puredata'
- 'portaudio: for faust2paqt'
- 'python: for faust2md and faust2atomsnippets'
- 'qt5-tools: for faust2{faustvst,jaqt,lv2}'
- 'rtaudio: for faust2raqt'
- 'ruby-rexml: for faust2sc and scbuilder'
- 'rust: for faust2jackrust'
- 'supercollider: for faust2supercollider'
- 'texlive-core: for faust2pdf')
+optdepends=(
+ 'clang: for sound2reader'
+ 'csound: for faust2csound'
+ 'gradle: for faust2android'
+ 'graphviz: for faust2sig{,viewer}'
+ 'gtk2: for faust2{jack,rosgtk}'
+ 'inkscape: for faust2{pdf,png}'
+ 'jack: for faust2{api,jack{,console,internal,server,rust},jaqt,netjackqt,nodejs,ros,rosgtk,rpinetjackconsole}'
+ 'swig: for faust2android'
+ 'libsndfile: for faust2{dummy,sndfile}'
+ 'octave: for faust2octave'
+ 'pd: for faust2puredata'
+ 'portaudio: for faust2paqt'
+ 'python: for faust2atomsnippets, faust2md and faust2sc.py'
+ 'qt5-tools: for faust2{faustvst,jaqt,lv2}'
+ 'rtaudio: for faust2raqt'
+ 'ruby-rexml: for faust2sc and scbuilder'
+ 'rust: for faust2jackrust'
+ 'supercollider: for faust2supercollider'
+ 'texlive-core: for faust2pdf'
+)
provides=(libfaustmachine.so libfaust.so libOSCFaust.so libHTTPDFaust.so)
-options=(staticlibs)
-source=("https://github.com/grame-cncm/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('29c27c1d4b71f63e5a42abdb1557e88ac9d623242a85df16478756a7bcbc3fe78466ace1280ea6a3cd04c979201e52a703f7be53b8a047dcc1f8fa7e034ef26d')
-b2sums=('82e65aa5c6253937f178a6797aab87e070db98edbaefd69f424df962b6a8b3838f42912f13b93fc01218913da3ad722e2607f7ae85f67e11c78947d026bdff85')
+options=(debug staticlibs)
+source=(https://github.com/grame-cncm/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('7ecb334b95042caa3a44ecbb711a972b6f979afca4c67fc4f32acf548ed85472e941c6590a139464aeb5266c3e88fe639e2060a110a98e88fd7b1994e0a87650')
+b2sums=('31a4403d1d53379bd1824ab2b908c3236bb8cefd9ab599d71b72d214f328dcbd04fa144fbd7f8f5d8814c3d13926c8d043b351700baa6b7e048014bd3ca5a932')
build() {
# prevent static libs from being mangled with LTO
CXXFLAGS+=' -ffat-lto-objects'
- cd "${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
cmake -C build/backends/all.cmake \
-C build/targets/all.cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -51,9 +53,9 @@
-DINCLUDE_STATIC=ON \
-DINCLUDE_ITP=ON \
-W no-dev \
- -B "${pkgname}-build" \
+ -B $pkgname-build \
-S build
- make VERBOSE=1 -C "${pkgname}-build"
+ make VERBOSE=1 -C $pkgname-build
make VERBOSE=1 -C tools/sound2faust
}
@@ -60,42 +62,42 @@
package() {
depends+=(libsndfile.so)
- cd "${pkgname}-${pkgver}"
- make VERBOSE=1 PREFIX=/usr DESTDIR="$pkgdir" install -C "${pkgname}-build"
+ cd $pkgname-$pkgver
+ make VERBOSE=1 PREFIX=/usr DESTDIR="$pkgdir" install -C $pkgname-build
make VERBOSE=1 PREFIX=/usr DESTDIR="$pkgdir" install -C tools/sound2faust
# docs
- install -vDm 644 documentation/{,misc/}*.pdf -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 documentation/{,misc/}*.pdf -t "$pkgdir/usr/share/doc/$pkgname"
# examples
- install -vd "${pkgdir}/usr/share/${pkgname}/examples"
- cp -vR "examples/"* "${pkgdir}/usr/share/${pkgname}/examples/"
+ install -vd "$pkgdir/usr/share/$pkgname/examples"
+ cp -vR "examples/"* "$pkgdir/usr/share/$pkgname/examples/"
cd syntax-highlighting
# atom
- install -vDm 644 "atom/language-${pkgname}/package.json" -t "${pkgdir}/usr/lib/atom/dot-atom/packages/language-${pkgname}/"
- install -vDm 644 "atom/language-${pkgname}/grammars/${pkgname}.cson" -t "${pkgdir}/usr/lib/atom/dot-atom/packages/language-${pkgname}/grammars/"
- install -vDm 644 "atom/language-${pkgname}/settings/language-${pkgname}.cson" -t "${pkgdir}/usr/lib/atom/dot-atom/packages/language-${pkgname}/settings/"
- install -vDm 644 "atom/language-${pkgname}/snippets/"* -t "${pkgdir}/usr/lib/atom/dot-atom/packages/language-${pkgname}/snippets/"
- install -vDm 644 "atom/language-${pkgname}/process-palette.json.linux" "${pkgdir}/usr/share/doc/${pkgname}/process-palette.json"
+ install -vDm 644 atom/language-$pkgname/package.json -t "$pkgdir/usr/lib/atom/dot-atom/packages/language-$pkgname/"
+ install -vDm 644 atom/language-$pkgname/grammars/$pkgname.cson -t "$pkgdir/usr/lib/atom/dot-atom/packages/language-$pkgname/grammars/"
+ install -vDm 644 atom/language-$pkgname/settings/language-$pkgname.cson -t "$pkgdir/usr/lib/atom/dot-atom/packages/language-$pkgname/settings/"
+ install -vDm 644 atom/language-$pkgname/snippets/* -t "$pkgdir/usr/lib/atom/dot-atom/packages/language-$pkgname/snippets/"
+ install -vDm 644 atom/language-$pkgname/process-palette.json.linux "$pkgdir/usr/share/doc/$pkgname/process-palette.json"
# kate
- install -vDm 644 "${pkgname}.xml" -t "${pkgdir}/usr/share/apps/katepart/syntax/"
+ install -vDm 644 $pkgname.xml -t "$pkgdir/usr/share/apps/katepart/syntax/"
# gedit
- install -vDm 644 "${pkgname}.lang" -t "${pkgdir}/usr/share/gtksourceview-2.0/language-specs/"
- install -vDm 644 "${pkgname}.lang" -t "${pkgdir}/usr/share/gtksourceview-3.0/language-specs/"
+ install -vDm 644 $pkgname.lang -t "$pkgdir/usr/share/gtksourceview-2.0/language-specs/"
+ install -vDm 644 $pkgname.lang -t "$pkgdir/usr/share/gtksourceview-3.0/language-specs/"
# highlight
install -vDm 644 dsp.lang -t "$pkgdir/usr/share/highlight/langDefs/"
# nano
- install -vDm 644 "${pkgname}.nanorc" -t "$pkgdir/usr/share/nano/"
+ install -vDm 644 $pkgname.nanorc -t "$pkgdir/usr/share/nano/"
# vim
- install -vDm 644 "${pkgname}.vim" -t "${pkgdir}/usr/share/vim/vimfiles/syntax/"
+ install -vDm 644 $pkgname.vim -t "$pkgdir/usr/share/vim/vimfiles/syntax/"
# emacs
- install -vDm 644 "${pkgname}-mode.el" -t "${pkgdir}/usr/share/emacs/site-lisp/"
+ install -vDm 644 $pkgname-mode.el -t "$pkgdir/usr/share/emacs/site-lisp/"
- # removing unusable scripts
- rm -v "${pkgdir}/usr/bin/${pkgname}2au"
+ # remove unusable scripts
+ rm -v "$pkgdir/usr/bin/faust2au"
# remove precompiled shared libraries for android:
# https://github.com/grame-cncm/faust/issues/370
- rm -rvf "${pkgdir}/usr/share/faust/android/app/"{lib,oboe} "${pkgdir}/usr/share/faust/smartKeyboard/android/app/oboe"
+ rm -rvf "$pkgdir/usr/share/faust/android/app/"{lib,oboe} "$pkgdir/usr/share/faust/smartKeyboard/android/app/oboe"
}
More information about the arch-commits
mailing list