PKGBUILDs/community/carla/PKGBUILD

81 lines
1.8 KiB
Bash
Raw Normal View History

2020-04-12 14:33:21 +00:00
# Maintainer: David Runge <dvzrv@archlinux.org>
2019-03-03 00:12:08 +00:00
# Contributor: Llewelyn Trahaearn <WoefulDerelict [at] GMail [dot] com>
# Contributor: falkTX <falktx [at] gmail [dot] com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - make with NOOPT=true
_name=Carla
pkgname=carla
2023-03-17 17:55:37 +00:00
_commit=4a6dc504be5d547a97079bf3400a85f9080177db # refs/tags/v2.5.4
pkgver=2.5.4
pkgrel=1
2019-03-03 00:12:08 +00:00
pkgdesc="Audio Plugin Host"
2021-12-16 15:12:13 +00:00
arch=(x86_64)
2019-03-03 00:12:08 +00:00
url="https://kxstudio.linuxaudio.org/Applications:Carla"
2021-12-16 15:12:13 +00:00
license=(GPL2)
groups=(pro-audio)
2023-01-15 15:56:26 +00:00
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
)
2021-04-15 12:21:37 +00:00
optdepends=(
2021-10-15 22:24:37 +00:00
'jack: for using carla with JACK'
2021-04-15 12:21:37 +00:00
'lv2-host: for the LV2 plugin'
'vst-host: for the VST plugin'
)
2021-12-16 15:12:13 +00:00
provides=(dssi-host ladspa-host lv2-host vst-host vst3-host)
2022-10-01 15:49:48 +00:00
source=(git+https://github.com/falkTX/$pkgname#tag=$_commit?signed)
2021-04-15 12:21:37 +00:00
sha512sums=('SKIP')
b2sums=('SKIP')
validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0') # falkTX <falktx@falktx.com>
2019-03-03 00:12:08 +00:00
2023-01-30 12:48:49 +00:00
prepare() {
cd $pkgname
# fix issues with python-pyqt5
git cherry-pick -n 4151e160f1e9e03412c112fec54b5f1cde4c45de
}
2019-03-03 00:12:08 +00:00
build() {
2022-02-07 22:58:17 +00:00
make NOOPT=true features -C $pkgname
make NOOPT=true -C $pkgname
2019-03-03 00:12:08 +00:00
}
package() {
2023-01-15 15:56:26 +00:00
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
)
2021-04-15 12:21:37 +00:00
2022-04-15 22:24:48 +00:00
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/"
2022-12-22 02:23:48 +00:00
find "$pkgdir" -type f -iname "*.so" -exec chmod +x {} +
2019-03-03 00:12:08 +00:00
}
# vim:set ts=2 sw=2 et: