aboutsummaryrefslogtreecommitdiffstats
path: root/community/deadbeef/APKBUILD
blob: e387ef153eaa7b6f8eaac00a3dda85e5116bf4dd (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=deadbeef
pkgver=0.7.2
_ver=${pkgver/_rc/-rc}
pkgrel=0
pkgdesc="fairly capable playlist-oriented audio player"
url="http://deadbeef.sourceforge.net/"
arch="all"
license="GPL"
depends=
depends_dev="gtk+-dev libmad-dev alsa-lib-dev ffmpeg-dev libsamplerate-dev
	gettext-dev flac-dev libvorbis-dev jansson-dev"
makedepends="$depends_dev intltool gettext"
install=""
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2
	arm-buildfix.patch"

builddir="${srcdir}/${pkgname}-$_ver"

build() {
	cd "$builddir"
        ./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info || return 1
	make || return 1
}

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

md5sums="f8f5353e7c201fce316f8b082ab408bb  deadbeef-0.7.2.tar.bz2
50c31221a464683f885dc34850b9c5b0  arm-buildfix.patch"
sha256sums="8a63abdf00c2f37c33e018ae0b39d391873e037434074b84bb47381bf283c884  deadbeef-0.7.2.tar.bz2
4e9802a1dc7b735878fc6b59433da29a20759f4227f902ee08a800a0903a68ff  arm-buildfix.patch"
sha512sums="9ea61a3820d9d57f038b80652ce63bd87e6781259c0f58a93b70607b02e71debbf5598f4a06d607d3840a804c3b7fc5039a4c4b0a8bb01e8e5107bba3f0bd980  deadbeef-0.7.2.tar.bz2
4ab094475d5caebc65235e54b30fa803aab7465ded41ce5dd359921778baf1b187777af021eb34a82b6551f930e2061e0535556b458dbc95050d9ea30aaccc89  arm-buildfix.patch"