summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Arndt2020-07-17 16:25:39 +0200
committerChristopher Arndt2020-07-17 16:25:39 +0200
commit890f6773eccfbde452a429408c85b0f5a82b8c79 (patch)
tree7c80c36dee07cb4ac4dc3ae2aaaa7141de458da3
downloadaur-890f6773eccfbde452a429408c85b0f5a82b8c79.tar.gz
Add new package 'fatfrog.lv2'
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD44
-rw-r--r--fatfrog-fix-ttl.diff13
4 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..796e9257251
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = fatfrog.lv2
+ pkgdesc = A high gain valve amplifier simulation LV2 plugin
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/brummer10/FatFrog.lv2
+ arch = x86_64
+ groups = lv2-plugins
+ groups = pro-audio
+ license = BSD
+ checkdepends = lv2lint
+ checkdepends = sord
+ makedepends = lv2
+ depends = cairo
+ depends = gcc-libs
+ depends = glibc
+ depends = libx11
+ source = https://github.com/brummer10/FatFrog.lv2/releases/download/v1.0/FatFrog_1.0.tar.gz
+ source = fatfrog-fix-ttl.diff
+ sha512sums = 2623b367d0c388c72710fead54b3585c165d26c07df4aef1e5306bbede3f5745fc943522bd8b5d8257f9434b8d5a46bbdbc2ee489cb6a40f3f317b5e0f83c8a1
+ sha512sums = b651baf31a9f8f6276e41f64308ffd27584aed68f448ba7db373e6683738d74edcb982c0da35873ae04fc30375c82da4d277511fd0c5fdda376f5a675eef11b7
+
+pkgname = fatfrog.lv2
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..2d3548b13c3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+.AURINFO
+pkg/
+src/
+xputty/
+FatFrog_*.tar.gz
+fatfrog.lv2-*.tar.xz
+fatfrog.lv2-*.tar.zst
+fatfrog.lv2-*.src.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9c2da3b4f3d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
+
+_name=FatFrog
+pkgname=fatfrog.lv2
+pkgver=1.0
+pkgrel=1
+pkgdesc="A high gain valve amplifier simulation LV2 plugin"
+arch=('x86_64')
+url="https://github.com/brummer10/${_name}.lv2"
+license=('BSD')
+groups=('lv2-plugins' 'pro-audio')
+depends=('cairo' 'gcc-libs' 'glibc' 'libx11')
+makedepends=('lv2')
+checkdepends=('lv2lint' 'sord')
+source=("https://github.com/brummer10/${_name}.lv2/releases/download/v${pkgver}/${_name}_${pkgver}.tar.gz"
+ 'fatfrog-fix-ttl.diff')
+sha512sums=('2623b367d0c388c72710fead54b3585c165d26c07df4aef1e5306bbede3f5745fc943522bd8b5d8257f9434b8d5a46bbdbc2ee489cb6a40f3f317b5e0f83c8a1'
+ 'b651baf31a9f8f6276e41f64308ffd27584aed68f448ba7db373e6683738d74edcb982c0da35873ae04fc30375c82da4d277511fd0c5fdda376f5a675eef11b7')
+
+build() {
+ cd "${srcdir}/${_name}_${pkgver}"
+ make
+}
+
+prepare() {
+ cd "${srcdir}/${_name}_${pkgver}"
+ patch -p1 -N -i "${srcdir}/fatfrog-fix-ttl.diff"
+}
+
+check() {
+ cd "${srcdir}/${_name}_${pkgver}"
+ mkdir -p lv2
+ ln -sf ../${_name}/${_name}.lv2 lv2/${_name}.lv2
+ # expected to produce errors
+ #sord_validate -l "${PWD}/lv2/${_name}.lv2/"*.ttl
+ LV2_PATH="${PWD}/lv2:/usr/lib/lv2" lv2lint -M pack "https://github.com/brummer10/${_name}#_${_name}_"
+}
+
+package() {
+ cd "${srcdir}/${_name}_${pkgver}"
+ make DESTDIR="$pkgdir/" install
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 README.md "${_name}.png" -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
diff --git a/fatfrog-fix-ttl.diff b/fatfrog-fix-ttl.diff
new file mode 100644
index 00000000000..1b1ca48ba89
--- /dev/null
+++ b/fatfrog-fix-ttl.diff
@@ -0,0 +1,13 @@
+diff --git a/FatFrog/plugin/FatFrog.ttl b/FatFrog/plugin/FatFrog.ttl
+index 7b2aa50..6addb8e 100644
+--- a/FatFrog/plugin/FatFrog.ttl
++++ b/FatFrog/plugin/FatFrog.ttl
+@@ -142,5 +142,8 @@ rdfs:comment """
+ a guiext:X11UI;
+ guiext:binary <FatFrog_ui.so>;
+ lv2:extensionData guiext::idle ;
++ lv2:extensionData guiext:resize ;
++ lv2:extensionData guiext:idleInterface;
++ lv2:requiredFeature guiext:idleInterface;
+ lv2:requiredFeature guiext:makeResident;
+ .