diff options
Diffstat (limited to 'community/lv2/APKBUILD')
-rw-r--r-- | community/lv2/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/community/lv2/APKBUILD b/community/lv2/APKBUILD new file mode 100644 index 00000000000..76d34a3a3a8 --- /dev/null +++ b/community/lv2/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: David Demelier <markand@malikania.fr> +# Maintainer: David Demelier <markand@malikania.fr> +pkgname=lv2 +pkgver=1.18.10 +pkgrel=0 +pkgdesc="extensible open standard for audio plugins" +url="https://lv2plug.in" +arch="all" +license="ISC" +depends_dev="$pkgname-specgen=$pkgver-r$pkgrel" +_pydepends=" + py3-lxml + py3-rdflib + py3-markdown + py3-pygments + python3 + " +makedepends=" + gtk+2.0-dev + libsamplerate-dev + libsndfile-dev + meson + $_pydepends + " +subpackages="$pkgname-dev $pkgname-specgen" +source="https://lv2plug.in/spec/lv2-$pkgver.tar.xz" + +build() { + abuild-meson -Db_lto=true . output + meson compile -C output +} + +check() { + meson test --print-errorlogs --no-rebuild -C output +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output +} + +specgen() { + pkgdesc="$pkgdesc (python specgen)" + depends="$_pydepends" + + amove usr/bin/lv2specgen.py + amove usr/share/lv2specgen +} + +sha512sums=" +ab4bcf593f633b1ed16c0eb6aa4525458a00655ef9c87619bf85eaa966f8fd094a8e871b825f679e0d97923f8bbbf11841ff467022390ca2f1a5b5f66ccd5d1b lv2-1.18.10.tar.xz +" |