blob: ec8ae99f8857cbc1c16fada9ca6af3c10df9f1c3 (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious-plugins
pkgver=2.4.3
pkgrel=2
pkgdesc="playlist-oriented media player with multiple interfaces (plugins)"
url="http://audacious-media-player.org/"
arch="all"
license="ISC"
depends=audacious
_want_ffmpeg="ffmpeg-dev"
makedepends="libmowgli-dev
libmcs-dev
libguess-dev
gtk+-dev
dbus-glib-dev
audacious-dev
libxml2-dev
libcdio-dev
libcddb-dev
libxcomposite-dev
libsamplerate-dev
libcue-dev
libmms-dev
libsndfile-dev
libnotify-dev
libogg-dev
libvorbis-dev
$_want_ffmpeg
alsa-lib-dev
faad2-dev
neon-dev
curl-dev
wavpack-dev
lame-dev
flac-dev
autoconf"
install=
subpackages=
source="http://distfiles.atheme.org/$pkgname-$pkgver.tgz
ffaudio-linker-fix.patch
lyricwiki-memory-leak-fix.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
msg "Applying $i..."
patch -s -p1 -N -i "$srcdir"/$i || return 1
;;
esac
done
msg "Rebuilding configure..."
autoconf
# workaround bug in busybox
sed -e "/touch/s/0001010000/200001010000/g" \
-i configure
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-chardet
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="d2c76253e7a5d83dbd87319790f3c7a5 audacious-plugins-2.4.3.tgz
ce7f401fce3904e81ac8c190c92fb641 ffaudio-linker-fix.patch
2fece903e66869d86d10528e1c4cd58c lyricwiki-memory-leak-fix.patch"
|