aboutsummaryrefslogtreecommitdiffstats
path: root/community/deadbeef/APKBUILD
blob: 37ebc9f7a5d03f1f89a90b8679a20bb9d37d07c0 (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=deadbeef
pkgver=0.7.0
_ver=${pkgver/_rc/-rc}
pkgrel=1
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"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2"

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

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"
	#LIBS="-lintl"
        ./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="d5450785139757a016dcd4dfc66479c7  deadbeef-0.7.0.tar.bz2"
sha256sums="1dab69d00695b830724dfd8aa38f5cab851dbd02a3d95bce8b7720fdc38dd868  deadbeef-0.7.0.tar.bz2"
sha512sums="681c0f04ae62ca2d4eb061a6d116b14565e93058b8ce78e9144f838dbe2d58da43904bfa762fd11add6d1445fdddb38590b6257e535c40e9895db7c7a4127609  deadbeef-0.7.0.tar.bz2"