blob: d47716a40ac7a0335640fb3dd59215bb294d5acb (
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
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hydrogen
pkgver=0.9.7
pkgrel=0
pkgdesc="Advanced drum machine for GNU/Linux"
url="http://www.hydrogen-music.org/"
arch="all"
license="GPL-2.0-or-later"
depends=""
makedepends="qt-dev alsa-lib-dev flac-dev libsndfile-dev cmake portaudio-dev
libarchive-dev jack-dev"
subpackages="$pkgname-dev"
source="hydrogen-$pkgver.tar.gz::https://github.com/hydrogen-music/hydrogen/archive/$pkgver.tar.gz"
builddir="$srcdir"/hydrogen-$pkgver
build() {
cd "$_builddir"
export QTDIR=/usr/lib
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DWANT_CPPUNIT=OFF \
-DWANT_LRDF=ON
make
}
package() {
cd "$builddir"
export QTDIR=/usr/lib
make install DESTDIR="$pkgdir"
}
sha512sums="1480a18d1181d12e92a53e89a4d1c8f4ae9a8a9a02271e6af4089afaaca9d658abb3876dc7db08a453bbe3ab7f66f31567d992f30102818782b62ebba5141f58 hydrogen-0.9.7.tar.gz"
|