PKGBUILDs/extra/carla/PKGBUILD

98 lines
2.2 KiB
Bash
Raw Permalink 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
pkgname=carla
2024-09-22 13:41:15 +00:00
pkgver=2.5.9
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"
2024-01-19 00:25:26 +00:00
_url="https://github.com/falktx/carla"
2023-08-07 12:34:05 +00:00
license=(GPL-2.0-or-later)
2021-12-16 15:12:13 +00:00
groups=(pro-audio)
2023-01-15 15:56:26 +00:00
depends=(
gcc-libs
glibc
hicolor-icon-theme
libx11
2023-06-05 00:44:10 +00:00
python
2023-01-15 15:56:26 +00:00
python-pyqt5
python-pyliblo
python-rdflib
qt5-base
qt5-svg
sdl2
2023-06-05 00:44:10 +00:00
sh
2024-09-22 13:41:15 +00:00
which
2023-01-15 15:56:26 +00:00
)
makedepends=(
alsa-lib
file
fluidsynth
freetype2
git
libglvnd
liblo
libpulse
libsndfile
2023-08-07 12:34:05 +00:00
python-requests
python-tornado
2023-01-15 15:56:26 +00:00
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'
2023-08-07 12:34:05 +00:00
'python-requests: for qtweb backend'
'python-tornado: for MOD UI'
)
provides=(
dssi-host
ladspa-host
lv2-host
vst-host
vst3-host
2021-04-15 12:21:37 +00:00
)
2024-05-27 10:49:21 +00:00
source=("git+$_url.git?signed#tag=v$pkgver")
2024-09-22 13:41:15 +00:00
sha512sums=('880d28b57a22c825067ad18558218838684132e033f1c44bb18e4adff61cdc0a070c3bf29320a87124ff7b5da5ead6b5540b7b9adcf4e17ab5800709dbcea7aa')
b2sums=('f91e3b3f35e0b9dd43e48dc07a5517f04ce74def6a120c70771b85dc77e8cea68bc61d3ff9d90682a77060f7e48a0a22dee0723557bb329442b12dab1b4e1424')
2023-08-07 12:34:05 +00:00
validpgpkeys=(62B11043D2F6EB6672D93103CDBAA37ABC74FBA0) # falkTX <falktx@falktx.com>
pkgver() {
cd $pkgname
git describe --tag | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g'
}
2019-03-03 00:12:08 +00:00
2024-05-27 10:49:21 +00:00
prepare() {
cd $pkgname
git cherry-pick -n 9370483b0a278eab6462c33b16e53377f7fffc6c # fix issue with liblo API breakage
}
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 {} +
2024-09-13 23:28:21 +00:00
mv "$pkgdir"/usr/share/{appdata,metainfo}
2019-03-03 00:12:08 +00:00
}
# vim:set ts=2 sw=2 et: