summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2024-04-29 18:16:14 -0300
committerGonzalo Exequiel Pedone2024-04-29 18:16:14 -0300
commitfefacf573e47300df5bde2c5dab3e3029090f858 (patch)
tree96a28462a76553dcbf5acb0de8942bef79a6f54f
downloadaur-fefacf573e47300df5bde2c5dab3e3029090f858.tar.gz
New package.
-rw-r--r--.SRCINFO25
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD47
3 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..c12a7184da2d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = android-x86-lv2
+ pkgdesc = Plugin standard for audio systems (Android x86)
+ pkgver = 1.18.10
+ pkgrel = 1
+ url = https://lv2plug.in/
+ arch = any
+ license = ISC
+ makedepends = android-meson
+ makedepends = android-x86-libsamplerate
+ makedepends = android-x86-libsndfile
+ makedepends = android-x86-serd
+ makedepends = android-x86-sord
+ depends = android-ndk
+ optdepends = android-x86-sord: for lv2_validate
+ options = !strip
+ options = !buildflags
+ options = staticlibs
+ options = !emptydirs
+ source = https://lv2plug.in/spec/lv2-1.18.10.tar.xz
+ source = https://lv2plug.in/spec/lv2-1.18.10.tar.xz.sig
+ validpgpkeys = 907D226E7E13FA337F014A083672782A9BF368F3
+ md5sums = 9c1f3143ea2eea341e8d6e1bad9e5e0e
+ md5sums = SKIP
+
+pkgname = android-x86-lv2
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..b5b03b115225
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+pkg
+src
+*.tar.xz
+*.tar.gz
+*.tar.bz2
+*.asc
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..b3fb43c6f683
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dvzrv@archlinux.org>
+# Contributor: Ray Rashif <schiv@archlinux.org>
+
+_android_arch=x86
+
+pkgname=android-${_android_arch}-lv2
+pkgver=1.18.10
+pkgrel=1
+arch=('any')
+pkgdesc="Plugin standard for audio systems (Android ${_android_arch})"
+url="https://lv2plug.in/"
+license=('ISC')
+depends=('android-ndk')
+makedepends=('android-meson'
+ "android-${_android_arch}-libsamplerate"
+ "android-${_android_arch}-libsndfile"
+ "android-${_android_arch}-serd"
+ "android-${_android_arch}-sord")
+optdepends=("android-${_android_arch}-sord: for lv2_validate")
+options=(!strip !buildflags staticlibs !emptydirs)
+source=("https://lv2plug.in/spec/lv2-$pkgver.tar.xz"{,.sig})
+md5sums=('9c1f3143ea2eea341e8d6e1bad9e5e0e'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d@drobilla.net>
+
+build() {
+ cd "${srcdir}/lv2-${pkgver}"
+ source android-env ${_android_arch}
+
+ mkdir -p build
+ cd build
+ android-${_android_arch}-meson \
+ --default-library both \
+ -D docs=disabled \
+ -D online_docs=false \
+ -D plugins=disabled \
+ -D tests=disabled
+ ninja
+}
+
+package() {
+ cd "${srcdir}/lv2-${pkgver}/build"
+ source android-env ${_android_arch}
+
+ DESTDIR="${pkgdir}" ninja install
+ rm -rf "${pkgdir}/${ANDROID_PREFIX_BIN}"
+}