blob: 623a01cb0179fa470bf4bd230aeacd1e8c859b7c (
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: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=deadbeef
pkgver=0.5.1
_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 libiconv-dev"
makedepends="$depends_dev intltool"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2
deadbeef-junklib.patch
ffmpeg-avmedia_type.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 \
--disable-sid \
--disable-ffap || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/deadbeef/*.la
}
md5sums="be8359d1bd9cf7679cf2ca748996e726 deadbeef-0.5.1.tar.bz2
8bf4eb1c52f251da7c7a78b2bb021359 deadbeef-junklib.patch
fec3680b1e06702265313d6ef13c025e ffmpeg-avmedia_type.patch"
|