aboutsummaryrefslogtreecommitdiffstats
path: root/main/deadbeef/APKBUILD
blob: 181aacf55537640ec37a569217c0f47273ae7e26 (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
53
54
55
56
57
58
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=deadbeef
pkgver=0.6.2
_ver=${pkgver/_rc/-rc}
pkgrel=2
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"
makedepends="$depends_dev intltool gettext"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2
	6d39333448dd7c48fb3f4e07ff5d7e05d0527fff.patch
	ee8e3065ab22e812fecc85d5dcf6b45d605b01fc.patch"

_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
	rm "$pkgdir"/usr/lib/deadbeef/*.la
}

md5sums="786f3a01fc9e03e73191d1cce43250a3  deadbeef-0.6.2.tar.bz2
deca108872fd1149d89567f438afcf0a  6d39333448dd7c48fb3f4e07ff5d7e05d0527fff.patch
e27f4cea7ce03505fa4256427972d98e  ee8e3065ab22e812fecc85d5dcf6b45d605b01fc.patch"
sha256sums="3433b966683286c03ffbcc79b2201cd517f8dbf6b41da8600778dfa93cd64e1a  deadbeef-0.6.2.tar.bz2
516f1dee6a01fa87f0f58c97cdfaf05dce45837f8256815fd5853ced8a688e84  6d39333448dd7c48fb3f4e07ff5d7e05d0527fff.patch
639d94304a165dbc5afaa56587b29d2d2f8a35410b4d002d2308e8f95e8e2f5c  ee8e3065ab22e812fecc85d5dcf6b45d605b01fc.patch"
sha512sums="7caee245d7fa68e98ce5edc6aa6acc829d62c963f523c81e0406182a1aa36759219a8c0a2bdf010ac810f22b15acc81d06e8cab4ab820956c96cbc0a94423b7b  deadbeef-0.6.2.tar.bz2
f15658cdffd4b9979e6beb9cf12f5d367e082a36098fd642f1fb98536e8c583259a9ed06e41d4a532d469dbe2548dbab40ca4c1c6614dac333311ecef17678a4  6d39333448dd7c48fb3f4e07ff5d7e05d0527fff.patch
cb9952c4ef7ba8f60db6358232684ebb3200035bffcf1a0ceba1e8798eb12bc83f5ca10a9d680973696d59793bb6fa37cab0a40ceff7d0e5cfeab78747a9b56c  ee8e3065ab22e812fecc85d5dcf6b45d605b01fc.patch"