blob: f00a6fe0ba41822567fb60d6e86cb9028b171b25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Daniel Appelt <daniel.appelt@gmail.com>
# Contributor : speps <speps at aur dot archlinux dot org>
_pkgbasename=distrho-ports
pkgname=${_pkgbasename}-lv2-git
pkgver=r492.062a0f61
pkgrel=1
pkgdesc="Distrho LV2 Audio Plugins, using the JUCE Toolkit"
arch=('i686' 'x86_64')
url="http://distrho.sourceforge.net/"
license=('GPL' 'GPL3')
depends=('lv2' 'libglvnd' 'libxext' 'freetype2' 'alsa-lib')
makedepends=('git' 'meson' 'libxinerama' 'libxrender' 'libxcursor' 'ladspa')
provides=("${_pkgbasename}-lv2")
conflicts=("${_pkgbasename}" 'distrho-git')
source=("${_pkgbasename}::git://github.com/DISTRHO/DISTRHO-Ports.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgbasename}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgbasename}"
meson build --buildtype release
meson configure build -Dprefix="${pkgdir}/usr" -Dbuild-vst2=false -Dbuild-vst3=false
ninja -C build
}
package() {
cd "${srcdir}/${_pkgbasename}"
ninja -C build install
}
|