[arch-commits] Commit in faust/repos (2 files)

David Runge dvzrv at archlinux.org
Wed Apr 15 07:12:04 UTC 2020


    Date: Wednesday, April 15, 2020 @ 07:12:04
  Author: dvzrv
Revision: 614546

archrelease: copy trunk to community-staging-x86_64

Added:
  faust/repos/community-staging-x86_64/
  faust/repos/community-staging-x86_64/PKGBUILD
    (from rev 614545, faust/trunk/PKGBUILD)

----------+
 PKGBUILD |   99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)

Copied: faust/repos/community-staging-x86_64/PKGBUILD (from rev 614545, faust/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-15 07:12:04 UTC (rev 614546)
@@ -0,0 +1,99 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Albert Graef <aggraef at gmail.com>
+# Contributor: Bernardo Barros <bernardobarros at gmail dot com>
+# Contributor: bjoern lindig (bjoern _dot_ lindig _at_ google.com)
+
+pkgname=faust
+pkgver=2.20.2
+pkgrel=4
+pkgdesc="A functional programming language for realtime audio signal processing."
+arch=('x86_64')
+url="https://faust.grame.fr/"
+license=('GPL2')
+groups=('pro-audio')
+depends=('gcc-libs' 'glibc' 'llvm9-libs' 'libmicrohttpd')
+makedepends=('cmake' 'libsndfile' 'llvm9' 'xxd')
+optdepends=('clang: for sound2reader'
+            'csound: for faust2csound'
+            '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: 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"
+        "${pkgname}-2.20.2-fix_c-api.patch::https://github.com/grame-cncm/faust/commit/0bbc3e4b605d3cec5e8fa17162b342e761ae9a1a.patch")
+sha512sums=('1b2a38d03f88679a542eae4f2150d127a5208bf18cdbe612789db4fa52284607cc3319d62a3e0427ce2dbfe215923b063452e8ad35cc3fa4a603ad66914f0a84'
+            '3a8fd90694e62ed89c4ee4ebf8e81bbff397a66ba58184f4334e6ad0559b4285f4d6c54338b4024b30cacf378e3291cd5d3ef08bb896f152cf5139a99c607b75')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # fixing broken C-API: https://bugs.archlinux.org/task/65086
+  patch -Np1 -i "../${pkgname}-2.20.2-fix_c-api.patch"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  make PREFIX=/usr VERBOSE=1 world
+}
+
+package() {
+  depends+=('libsndfile.so')
+  cd "${pkgname}-${pkgver}"
+  make install PREFIX=/usr DESTDIR="$pkgdir"
+
+  # docs
+  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/"
+
+  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"
+  # kate
+  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/"
+  # highlight
+  install -vDm 644 dsp.lang -t "$pkgdir/usr/share/highlight/langDefs/"
+  # nano
+  install -vDm 644 "${pkgname}.nanorc" -t "$pkgdir/usr/share/nano/"
+  # vim
+  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/"
+
+  # removing unusable scripts
+  rm -v "${pkgdir}/usr/bin/${pkgname}2au"
+}
+



More information about the arch-commits mailing list