summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f6524329190965f1f082d404b2990972ca85f746 (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
47
48
49
50
51
52
# Maintainer: Mathias Buhr <napcode@apparatus.de>

DLAGENTS=("https::/usr/bin/curl -k -o %o %u")
pkgname=tony
pkgver=2.1.1
pkgrel=7
pkgdesc="Tony: a tool for melody transcription"
arch=('x86_64')
url="https://www.sonicvisualiser.org/tony/"
license=('GPL2')
source=(
  "${pkgname}-${pkgver}.tar.gz::https://code.soundsoftware.ac.uk/attachments/download/2616/${pkgname}-${pkgver}.tar.gz"
  'compilation_fixes.patch'
)
depends=(
  'jack'
  'libfishsound'
  'libid3tag'
  'liblo'
  'liblrdf'
  'libmad'
  'liboggz'
  'libpulse'
  'opusfile'
  'portaudio'
  'qt5-svg'
  'rubberband'
  'serd'
  'sord'
  'hicolor-icon-theme'
)
makedepends=('boost')
sha256sums=('d79d85be738b00aef7859473f2c0385632d6cb30cd3752e07e952220695de20d'
            'b5b1105e1cd00b31da1264b301d37898b46585f8885c2d1bd3d76c6d38365897')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p2 -i ../../compilation_fixes.patch
}

build() {
  cd "$srcdir/$pkgname-$pkgver"
  export INSTALL_ROOT="${pkgdir}/"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  export INSTALL_ROOT="${pkgdir}/"
  make install
}