summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTérence Clastres2019-02-11 11:04:45 +0100
committerTérence Clastres2019-02-11 11:04:45 +0100
commit24c3b6fffe246b8219aef3de342ec0081a4c0a23 (patch)
treee1ab3736ca7d336f3a552addb2fe20cddba31462
downloadaur-24c3b6fffe246b8219aef3de342ec0081a4c0a23.tar.gz
Initial commit
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD65
2 files changed, 90 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..65bf475cce8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = giada-git
+ pkgdesc = A free, minimal, hardcore audio tool for DJs, live performers and electronic musicians
+ pkgver = v0.15.3.r62.gd4068c49
+ pkgrel = 1
+ url = https://www.giadamusic.com/
+ arch = x86_64
+ groups = pro-audio
+ license = GPL3
+ checkdepends = catch2
+ makedepends = gendesk
+ makedepends = imagemagick
+ depends = fltk
+ depends = jansson
+ depends = libpulse
+ depends = libxpm
+ depends = rtmidi
+ conflicts = giada
+ conflicts = giada-vst
+ source = giada-git::git+https://github.com/monocasual/giada.git#branch=record-signal
+ source = git+https://github.com/WeAreROLI/JUCE.git
+ sha512sums = SKIP
+ sha512sums = SKIP
+
+pkgname = giada-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7eaaec21675
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,65 @@
+# Maintainer: David Runge <dave@sleepmap.de>
+pkgname=giada-git
+pkgver=v0.15.3.r62.gd4068c49
+pkgrel=1
+pkgdesc="A free, minimal, hardcore audio tool for DJs, live performers and electronic musicians"
+arch=('x86_64')
+url="https://www.giadamusic.com/"
+license=('GPL3')
+groups=('pro-audio')
+depends=('fltk' 'jansson' 'libpulse' 'libxpm' 'rtmidi')
+makedepends=('gendesk' 'imagemagick')
+checkdepends=('catch2')
+conflicts=('giada' 'giada-vst')
+source=("giada-git::git+https://github.com/monocasual/giada.git#branch=record-signal"
+ "git+https://github.com/WeAreROLI/JUCE.git")
+sha512sums=('SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ git submodule init src/deps/juce
+ git config submodule.src/deps/juce.url $srcdir/JUCE
+ git submodule update src/deps/juce
+
+
+ autoreconf -vfi
+ # XDG desktop file
+ gendesk -n -f \
+ --pkgname ${pkgname} \
+ --pkgdesc "${pkgdesc}" \
+ --name Giada \
+ --categories "AudioVideo;Audio;Midi;Sequencer"
+ convert +set date:create +set date:modify \
+ "src/ext/${pkgname/-git}.ico" \
+ "${pkgname}.png"
+}
+
+build() {
+ cd "$pkgname"
+ ./configure --prefix=/usr --target=linux --enable-vst --enable-system-catch
+
+ make
+}
+
+check() {
+ cd "$pkgname"
+ make check
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+ # XDG integration
+ install -vDm 644 "${pkgname/-git}.desktop" -t "${pkgdir}/usr/share/applications"
+ install -vDm 644 "${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps"
+ # docs
+ install -vDm 644 {ChangeLog,README.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}