Upstream has fixed a lot of things, and so this PKGBUILD should be simplified. All plugins build on Raspberry Pi now as well.
This is a working PKGBUILD:
# Maintainer: Mads Kjeldgaard <mail@madskjeldgaard.dk>
pkgname=supercollider-mi-ugens-git
pkgver=r133.20716e2
pkgrel=1
pkgdesc="SuperCollider UGen versions of Mutable Instruments synthesizer modules"
arch=('any')
url="https://github.com/v7b1/mi-UGens"
license=('GPL')
groups=('pro-audio' 'supercollider-plugins' )
depends=()
makedepends=('git' 'cmake' 'gcc-libs' 'supercollider-headers-git')
optdepends=()
source=("$pkgname::git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
# Get dependencies
git submodule update --init --recursive
# Files to build
SC_SRC="/usr/share/supercollider-headers"
mkdir build
cd build
cmake -DSC_PATH=$SC_SRC -DCMAKE_INSTALL_PREFIX="miugens-build" -DCMAKE_BUILD_TYPE=RELEASE ..
make install
}
package() {
DEST="$pkgdir/usr/share/SuperCollider/Extensions/$pkgname/"
cd "$pkgname"
mkdir -p $DEST
cp -r "build/miugens-build" "$DEST"
}
Pinned Comments
madskjeldgaard commented on 2021-06-07 09:53 (UTC)
MiRipples does not build on arm, so I have updated the package to exclude that UGen on any architecture that isn't x86