[arch-commits] Commit in faust/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Wed Dec 29 12:25:09 UTC 2021


    Date: Wednesday, December 29, 2021 @ 12:25:08
  Author: dvzrv
Revision: 1087069

archrelease: copy trunk to community-x86_64

Added:
  faust/repos/community-x86_64/PKGBUILD
    (from rev 1087068, faust/trunk/PKGBUILD)
Deleted:
  faust/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  210 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 101 insertions(+), 109 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-29 12:24:59 UTC (rev 1087068)
+++ PKGBUILD	2021-12-29 12:25:08 UTC (rev 1087069)
@@ -1,109 +0,0 @@
-# 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.37.3
-pkgrel=1
-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' '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')
-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')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  cmake -C build/backends/all.cmake \
-        -C build/targets/all.cmake \
-        -DCMAKE_INSTALL_PREFIX='/usr' \
-        -DCMAKE_BUILD_TYPE='None' \
-        -DINCLUDE_DYNAMIC=ON \
-        -DINCLUDE_STATIC=ON \
-        -DINCLUDE_ITP=ON \
-        -W no-dev \
-        -B "${pkgname}-build" \
-        -S build
-  make VERBOSE=1 -C "${pkgname}-build"
-  make VERBOSE=1 -C tools/sound2faust
-}
-
-package() {
-  depends+=('libsndfile.so')
-  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}" \
-
-  # 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"
-  # 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"
-}
-

Copied: faust/repos/community-x86_64/PKGBUILD (from rev 1087068, faust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-29 12:25:08 UTC (rev 1087069)
@@ -0,0 +1,101 @@
+# 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.37.3
+pkgrel=2
+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 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')
+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')
+
+build() {
+  # prevent static libs from being mangled with LTO
+  CXXFLAGS+=' -ffat-lto-objects'
+
+  cd "${pkgname}-${pkgver}"
+  cmake -C build/backends/all.cmake \
+        -C build/targets/all.cmake \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=None \
+        -DINCLUDE_DYNAMIC=ON \
+        -DINCLUDE_STATIC=ON \
+        -DINCLUDE_ITP=ON \
+        -W no-dev \
+        -B "${pkgname}-build" \
+        -S build
+  make VERBOSE=1 -C "${pkgname}-build"
+  make VERBOSE=1 -C tools/sound2faust
+}
+
+package() {
+  depends+=(libsndfile.so)
+
+  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}"
+
+  # 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"
+  # 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"
+}
+



More information about the arch-commits mailing list