aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rosegarden/APKBUILD
blob: 23d1fc17d0429744fd94cf3c14daa4e75c2aae3f (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rosegarden
pkgver=14.12
pkgrel=0
pkgdesc="MIDI, audio and notation editor"
url="http://www.rosegardenmusic.com/"
arch="all"
license="GPLv2+"
depends=""
depends_dev=""
makedepends="alsa-lib-dev qt-dev libsamplerate-dev libsndfile-dev ladspa-dev
	jack-dev liblo-dev dssi-dev liblrdf-dev fftw-dev makedepend"
install=""
subpackages=""
source="http://downloads.sourceforge.net/project/rosegarden/rosegarden/$pkgver/rosegarden-$pkgver.tar.bz2
	nearbyintf.patch"

_builddir="$srcdir"/rosegarden-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="e047638df374605a53d721de3fb0b761  rosegarden-14.12.tar.bz2
622bfa38a28010bbffcaa2a64c8ade92  nearbyintf.patch"
sha256sums="f876fbb818326da7f012a01a4d6baf45022dcbb98626e0ce40c67b6943ee147e  rosegarden-14.12.tar.bz2
d27e66d5378b5b73cbbc706f13d083aa5dbbbaa217591f426016dffbd04fb117  nearbyintf.patch"
sha512sums="7820197d97025365c781f95811a9725058b86375654df9915599957f743f5ea335eb468d0b52100e7be5096e9d10bc6fdad4252db48dc5c49d9ed6d8e7db6660  rosegarden-14.12.tar.bz2
7e60c1a560be21bcb1cb08503237a54564bceb372abd7984c9c7f6a8e5b87cb449f3e296a9f7d99a51db64daabd6fd24a6267a3d82bc9f8920345ab52a432630  nearbyintf.patch"