From 6d107a7eed7968b2de42bb23d686edf578362bd2 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 22 Jan 2016 17:17:38 -0300 Subject: giada: add new package to [pcr] -> https://labs.parabola.nu/issues/885 --- pcr/giada/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ pcr/giada/giada.desktop | 10 ++++++++++ pcr/giada/giada.install | 11 +++++++++++ pcr/giada/giada.png | Bin 0 -> 2141 bytes 4 files changed, 64 insertions(+) create mode 100644 pcr/giada/PKGBUILD create mode 100644 pcr/giada/giada.desktop create mode 100644 pcr/giada/giada.install create mode 100644 pcr/giada/giada.png diff --git a/pcr/giada/PKGBUILD b/pcr/giada/PKGBUILD new file mode 100644 index 000000000..74a3d6e23 --- /dev/null +++ b/pcr/giada/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer (Arch): Christopher Arndt + +pkgname=giada +pkgver=0.11.2 +pkgrel=1 +pkgdesc="A looper, drum machine, sequencer, live sampler and plugin host" +arch=('i686' 'x86_64') +url="http://www.giadamusic.com/" +license=('GPL3') +depends=('fltk' 'jansson' 'libpulse' 'libxpm' 'rtmidi') +source=("${pkgname}-${pkgver}-src.tar.gz::http://www.giadamusic.com/download/grab/source" + 'http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip' + "$pkgname.desktop" + "$pkgname.png") +install="$pkgname.install" +md5sums=('e7fdb9dcd056d4a76860b3b95f558331' + '1ac422ebb4aa2e86061278412c347b55' + '06238158680470ab01fbbeb33353e58e' + 'f9b6e4233890720af50c536c4b2c92c0') + +prepare() { + cd "$srcdir/$pkgname-$pkgver-src" + + rm -rf src/deps/vst + ln -sf "$srcdir/VST3 SDK/pluginterfaces/vst2.x" src/deps/vst +} + +build() { + cd "$srcdir/$pkgname-$pkgver-src" + + ./configure --prefix=/usr --target=linux --enable-vst + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver-src" + + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir/$pkgname.png" \ + "$pkgdir/usr/share/pixmaps/$pkgname.png" + install -Dm644 "$srcdir/$pkgname.desktop" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" +} diff --git a/pcr/giada/giada.desktop b/pcr/giada/giada.desktop new file mode 100644 index 000000000..b0f0dd4c1 --- /dev/null +++ b/pcr/giada/giada.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Giada +Comment=A looper, drum machine, sequencer, live sampler and plugin host +TryExec=giada +Exec=giada %F +Icon=giada +StartupNotify=true +Terminal=false +Type=Application +Categories=Application;AudioVideo;Audio;Midi;Music diff --git a/pcr/giada/giada.install b/pcr/giada/giada.install new file mode 100644 index 000000000..660593cf5 --- /dev/null +++ b/pcr/giada/giada.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/pcr/giada/giada.png b/pcr/giada/giada.png new file mode 100644 index 000000000..586e8f8cc Binary files /dev/null and b/pcr/giada/giada.png differ -- cgit v1.2.3