blob: 2d2aba65218c75debf9eb3a0b04070a6ffee54a4 (
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
|
# $Id$
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=audacious-plugins-libre
pkgver=2.5.1
pkgrel=2
pkgdesc='Plugins for Audacious without unfree plugins'
arch=('i686' 'x86_64')
url='http://audacious-media-player.org/'
license=('GPL')
provides=("audacious-plugins=$pkgver")
replaces=("${pkgname%-libre}")
conflicts=("${pkgname%-libre}")
makedepends=("audacious>=${pkgver}"
'alsa-lib' 'pulseaudio' 'jack' 'lame' 'libvorbis' 'flac'
'faad2' 'ffmpeg' 'fluidsynth' 'libcdio' 'libsidplay' 'wavpack'
'libnotify' 'lirc-utils' 'curl' 'libmtp'
'neon' 'libmms' 'libcue')
optdepends=('alsa-lib: Advanced Linux Sound Arch. output'
'pulseaudio: PulseAudio output'
'jack: Jack Audio Connection Kit output'
'lame: FileWriter MP3 output'
'libvorbis: Vorbis input, FileWriter Vorbis output'
'flac: FLAC input, FileWriter FLAC output'
'faad2: AAC input'
'ffmpeg: ffaudio input'
'fluidsynth: MIDI FluidSynth backend input'
'libcdio: CD Digital Audio input'
'libsidplay: Commodore 64 audio input'
'wavpack: WavPack input'
'libnotify: libnotify OSD'
'lirc-utils: LIRC'
'curl: AudioScrobbler Client'
'libmtp: Upload to MTP device'
'neon: neon-based http transport'
'libmms: libmms-based mms transport'
'libcue: CUE playlist format')
source=("http://repo.parabolagnulinux.org/other/$pkgname-$pkgver.tar.gz")
# Source PKGBUILD and run this function from the shell
mksource(){
tmpdir=$(mktemp -d /tmp/audacious-XXXX)
pushd $tmpdir >/dev/null
wget "http://distfiles.atheme.org/${pkgname%-libre}-$pkgver.tgz" -O - -q | tar xzf -
rm -rvf ${pkgname%-libre}-$pkgver/src/{u,p}sf/
mv -v ${pkgname%-libre}-$pkgver ${pkgname}-$pkgver
tar czf ${pkgname}-${pkgver}.tar.gz ${pkgname}-${pkgver}/
echo "You can find the sources at $tmpdir"
popd >/dev/null
}
build() {
cd "$srcdir/$pkgname-$pkgver"
sed 's/libavcore >= 0.12.0//g' -i configure # FS#23549
[[ $CARCH == x86_64 ]] && extraopts='' || extraopts='--disable-sse2'
./configure \
--prefix=/usr \
--enable-chardet \
--enable-amidiplug \
--disable-adplug \
--disable-psf \
$extraopts \
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
md5sums=('510b325eb3b13621b6f0e6745f6d0961')
|