# Maintainer: David Runge # Contributor: Llewelyn Trahaearn # Contributor: falkTX # ALARM: Kevin Mihelich # - make with NOOPT=true _name=Carla pkgname=carla _commit=cccba489c15dbbdf80cb80366988fd7a7db769c1 # refs/tags/v2.5.3 pkgver=2.5.3 pkgrel=2 pkgdesc="Audio Plugin Host" arch=(x86_64) url="https://kxstudio.linuxaudio.org/Applications:Carla" license=(GPL2) groups=(pro-audio) depends=( gcc-libs glibc hicolor-icon-theme libx11 python-pyqt5 python-pyliblo python-rdflib qt5-base qt5-svg sdl2 ) makedepends=( alsa-lib file fluidsynth freetype2 git libglvnd liblo libpulse libsndfile qt5-tools ) optdepends=( 'jack: for using carla with JACK' 'lv2-host: for the LV2 plugin' 'vst-host: for the VST plugin' ) provides=(dssi-host ladspa-host lv2-host vst-host vst3-host) source=(git+https://github.com/falkTX/$pkgname#tag=$_commit?signed) sha512sums=('SKIP') b2sums=('SKIP') validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0') # falkTX prepare() { cd $pkgname # fix issues with python-pyqt5 git cherry-pick -n 4151e160f1e9e03412c112fec54b5f1cde4c45de } build() { make NOOPT=true features -C $pkgname make NOOPT=true -C $pkgname } package() { depends+=( alsa-lib libasound.so file libmagic.so fluidsynth libfluidsynth.so freetype2 libfreetype.so libglvnd libGL.so liblo liblo.so libpulse libpulse.so libpulse-simple.so libsndfile libsndfile.so ) make NOOPT=true DEFAULT_QT=5 DESTDIR="$pkgdir" PREFIX=/usr install -C $pkgname install -vDm 644 $pkgname/README.md -t "$pkgdir/usr/share/doc/$pkgname/" find "$pkgdir" -type f -iname "*.so" -exec chmod +x {} + } # vim:set ts=2 sw=2 et: