Skip to content
Snippets Groups Projects
Commit 8f9904bb authored by David Runge's avatar David Runge :chipmunk:
Browse files

Upgrading to 0.6.0.

parent 5ce9b446
No related branches found
No related tags found
No related merge requests found
# Maintainer: David Runge <dave@sleepmap.de>
pkgname=vm.lv2
pkgver=0.4.0
pkgrel=4
pkgver=0.6.0
pkgrel=1
pkgdesc="A virtual machine LV2 plugin bundle"
arch=('x86_64')
url="https://open-music-kontrollers.ch/lv2/vm/#"
license=('Artistic2.0')
groups=('lv2-plugins' 'pro-audio')
depends=('libgl')
makedepends=('cmake' 'lv2')
makedepends=('lv2' 'meson' 'sord')
source=("https://git.open-music-kontrollers.ch/lv2//$pkgname/snapshot/$pkgname-$pkgver.tar.xz")
md5sums=('01614eb27309f4fbd0dde02dc74991c0')
md5sums=('7313588b1e5b9794fc70c1b7acb31134')
prepare() {
build() {
cd "$pkgname-$pkgver"
# hotfixing undeclared variable:
# https://gitlab.com/OpenMusicKontrollers/vm.lv2/issues/1
sed -e 's/HUGE/HUGE_VAL/g' -i vm_ui.c
mkdir -v build
arch-meson --prefix=/usr \
--libdir=lib \
--buildtype=release \
build
ninja -C build
}
build() {
cd "$pkgname-$pkgver/build"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
..
make
}
# check fails due to currently broken lv2_validate in lv2
# check() {
# cd "$pkgname-$pkgver"
# meson test -C build
# }
package() {
cd "$pkgname-$pkgver/build"
make DESTDIR="$pkgdir/" install
cd "$pkgname-$pkgver"
DESTDIR="${pkgdir}" meson install -C build
# docs
install -vDm 644 ../README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -vDm 644 {ChangeLog,README.md} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment