summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e7d3aae6ab638fcdded07f3f196ff1d10d70888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: aik2 <aik2mlj@gmail.com>
# Contributor: spider-mario <spidermario@free.fr>
pkgname=mini-audicle
pkgver=1.5.4.2
pkgrel=1
pkgdesc='Integrated Development + Performance Environment for ChucK'
arch=('x86_64')
url="https://github.com/ccrma/miniAudicle"
license=('GPL')
groups=('multimedia' 'pro-audio')
depends=('qt6-base' 'qscintilla-qt6' 'libsndfile'
  # Uncomment one of the following three lines depending on the backend that you
  # want. Also uncomment the corresponding make target in build() below.
  # Default: PulseAudio
  #        'libpulse'
  #        'alsa-lib'
  'jack'
)
makedepends=('git')
optdepends=('chuck: for documentation and command line interface')
source=('git+https://github.com/ccrma/miniAudicle.git#tag=4e057cba9dcddb6a368f3a625bfb66ee42c11815'
  'miniAudicle.desktop')
b2sums=('SKIP'
  '44219938670cd42953c2e948702adea3a33efd99c858638c0b0f824defede799937cc0c49459c10820b44d9fce56c2a071c893fef4b8b27c7e08b348be5c9d7d')

prepare() {
  cd miniAudicle/src
  git submodule update --init --recursive --depth=1
}

build() {
  cd miniAudicle/src
  export QMAKE=qmake6
  export QT_SELECT=qt6
  make linux-jack
  #		linux-pulse
  #		linux-alsa
}

package() {
  install -Dm644 miniAudicle.desktop "$pkgdir"/usr/share/applications/miniAudicle.desktop

  cd miniAudicle/src
  install -Dm755 miniAudicle "$pkgdir"/usr/bin/miniAudicle
  install -Dm644 qt/icon/miniAudicle.png "$pkgdir"/usr/share/pixmaps/miniAudicle.png
}