diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 70 |
1 files changed, 39 insertions, 31 deletions
@@ -1,64 +1,72 @@ # Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de> # Contributor: cocreature <moritz.kiefer<at>purelyfunctional<dot>org> -_pkgname="carla" -pkgname="${_pkgname}-git" -pkgver=2.4.0.r8.g846312632 +_name=Carla +_pkgname="${_name,,}" +pkgname="$_pkgname-git" +pkgver=2.5.0.r1.ge3b25116d pkgrel=1 epoch=1 pkgdesc="Audio Plugin Host" -arch=("i686" "x86_64") -url="http://kxstudio.sf.net/carla" -license=("GPL2+") -conflicts=("${_pkgname}") -provides=("${_pkgname}") +arch=(i686 x86_64) +url='https://kx.studio/Applications:Carla' +license=(GPL2) +conflicts=("$_pkgname") +provides=("$_pkgname" dssi-host ladspa-host lv2-host vst-host vst3-host) depends=( - 'ffmpeg' - 'file' - 'fluidsynth' - 'liblo' - 'python-pyqt5' - 'qt5-svg' + alsa-lib + gcc-libs + glibc + hicolor-icon-theme + libglvnd + libx11 + python-pyqt5 + qt5-base + qt5-svg ) makedepends=( - 'git' - 'gtk2' - 'gtk3' + file + fluidsynth + freetype2 + git + liblo + libpulse + libsndfile + qt5-tools ) optdepends=( - 'gtk2: LV2 GTK2 UI support' - 'gtk3: LV2 GTK3 UI support' + 'jack: for using carla with JACK' + 'lv2-host: for the LV2 plugin' + 'vst-host: for the VST plugin' 'python-pyliblo: OSC control support' 'python-rdflib: LADSPA-RDF support' ) -source=("${_pkgname}::git+https://github.com/falkTX/Carla.git") +source=("$_pkgname::git+https://github.com/falkTX/$_name.git") md5sums=('SKIP') changelog='changelog.txt' pkgver() { - cd "${srcdir}/${_pkgname}" + cd $_pkgname git describe --long --tags | sed "s/\([^-]*-g\)/r\1/;s/-/./g;s/^v//" } build() { - cd "${srcdir}/${_pkgname}" + cd $_pkgname make features make \ - HAVE_QT4=false \ - MOC_QT5=/usr/bin/moc-qt5 \ - RCC_QT5=/usr/bin/rcc-qt5 \ - UIC_QT5=/usr/bin/uic-qt5 + DEFAULT_QT=5 \ + HAVE_QT4=false } package() { - cd "${srcdir}/${_pkgname}" + depends+=(libasound.so libfluidsynth.so libfreetype.so liblo.so libmagic.so + libpulse.so libsndfile.so) + cd $_pkgname make \ + DEFAULT_QT=5 \ HAVE_QT4=false \ - MOC_QT5=/usr/bin/moc-qt5 \ - RCC_QT5=/usr/bin/rcc-qt5 \ - UIC_QT5=/usr/bin/uic-qt5 \ - DESTDIR="${pkgdir}/" \ + DESTDIR="$pkgdir" \ PREFIX=/usr \ install } |