[arch-commits] Commit in supercollider/repos (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Jun 13 12:48:03 UTC 2022
Date: Monday, June 13, 2022 @ 12:48:02
Author: felixonmars
Revision: 1237491
archrelease: copy trunk to community-staging-x86_64
Added:
supercollider/repos/community-staging-x86_64/
supercollider/repos/community-staging-x86_64/PKGBUILD
(from rev 1237490, supercollider/trunk/PKGBUILD)
supercollider/repos/community-staging-x86_64/supercollider.install
(from rev 1237490, supercollider/trunk/supercollider.install)
-----------------------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++++++++++++++++++++
supercollider.install | 8 +++++
2 files changed, 80 insertions(+)
Copied: supercollider/repos/community-staging-x86_64/PKGBUILD (from rev 1237490, supercollider/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-06-13 12:48:02 UTC (rev 1237491)
@@ -0,0 +1,72 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: osc <farid at archlinux-br.org>
+
+_name=SuperCollider
+pkgname=supercollider
+pkgver=3.12.2
+pkgrel=2
+pkgdesc="Platform for audio synthesis and algorithmic composition"
+arch=(x86_64)
+url="https://supercollider.github.io"
+license=(GPL3)
+groups=(pro-audio)
+depends=(gcc-libs glibc libx11 qt5-base qt5-svg qt5-webengine qt5-websockets)
+makedepends=(abletonlink alsa-lib avahi boost cmake emacs fftw libsndfile
+qt5-tools readline systemd-libs yaml-cpp)
+checkdepends=(xorg-server-xvfb)
+optdepends=('emacs: emacs interface'
+ 'gedit: gedit interface'
+ 'sc3-plugins: additional extension plugins for scsynth')
+provides=(libscsynth.so "sclang=${pkgver}" "scsynth=${pkgver}")
+source=(
+ "https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source.tar.bz2"{,.asc}
+ $pkgname-libsndfile-1.1.0.patch::https://github.com/supercollider/supercollider/commit/b9dd70c4c8d6.patch
+)
+install="${pkgname}.install"
+sha512sums=('ad2466047353b65879f2acd9ba6b6f429010af08ef3f1150adebb93927244f4337aeb09d5aa6cc4cd26b091bc101488eebf822d21c177de55f0f8f7c2a31eb7c'
+ 'SKIP'
+ '20c6095d83a57879149f15d10054d5946fcda0bbba5b2f6768293e2a164ed0bf652c5c88a490df2e379bcae571642ce9060316e0bebc0c914f50270917aad04a')
+b2sums=('27ffb7ad1dc4be637e166789116a5f6f09a995a374003c1f5f2a29ccaacaaf6778fd52ee32de17a6eadc16472d6d333a483b947432d9f1229045139b63f66fcb'
+ 'SKIP'
+ '6106824f6d8212b073aa36cd6aaa050690ea101788b734811cccc7e755d15f168f54cc2c8f3fdd3303b895b9a5ee9ab7a5785c6b6a2fa6150030e890a34ffd77')
+validpgpkeys=('2E1C4FC2F6BB58FA157B21B8064B501EB7405F04') # Marcin Pączkowski (dyfer)
+
+
+prepare() {
+ cd ${_name}-${pkgver}-Source
+ patch -Np1 -i ../$pkgname-libsndfile-1.1.0.patch
+}
+
+build() {
+ export CFLAGS+=" -DNDEBUG"
+ export CXXFLAGS+=" -DNDEBUG"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE='None' \
+ -DBoost_NO_BOOST_CMAKE=ON \
+ -DLIBSCSYNTH=ON \
+ -DFORTIFY=ON \
+ -DSYSTEM_ABLETON_LINK=ON \
+ -DSYSTEM_BOOST=ON \
+ -DSYSTEM_YAMLCPP=ON \
+ -DSC_VIM=OFF \
+ -Wno-dev \
+ -B build \
+ -S "${_name}-${pkgver}-Source"
+ make VERBOSE=1 -C build
+}
+
+check() {
+ xvfb-run make test ARGS="-VV -d -j1" -C build
+}
+
+package() {
+ depends+=(libasound.so libavahi-common.so libavahi-client.so
+ libboost_filesystem.so libboost_program_options.so libboost_regex.so
+ libboost_thread.so libfftw3f.so libjack.so libsndfile.so libreadline.so
+ libudev.so libyaml-cpp.so)
+
+ make DESTDIR="${pkgdir}" install -C build
+ install -vDm 644 "${_name}-${pkgver}-Source/"{AUTHORS,{CHANGELOG,README,README_LINUX}.md} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
Copied: supercollider/repos/community-staging-x86_64/supercollider.install (from rev 1237490, supercollider/trunk/supercollider.install)
===================================================================
--- community-staging-x86_64/supercollider.install (rev 0)
+++ community-staging-x86_64/supercollider.install 2022-06-13 12:48:02 UTC (rev 1237491)
@@ -0,0 +1,8 @@
+post_install () {
+ echo "The vim plugin 'SCVim' is now developed separately: https://github.com/supercollider/scvim"
+ echo "Until a package is provided, please use the install methods mentioned in the link."
+}
+
+post_upgrade () {
+ post_install
+}
More information about the arch-commits
mailing list