blob: ed350affca1e2d30b1079c394202b2a623fb64bc (
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
|
# Maintainer: Thomas Lange <thomas-lange2@gmx.de>
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: William Rea <sillywilly@gmail.com>
# Set to 1 to use Meson build system
_use_meson=0
_pkgname=audacious-plugins
pkgname="$_pkgname-git"
pkgver=4.3.1.r60.g236e85910
pkgrel=1
epoch=1
pkgdesc="Plugins for Audacious (git version)"
arch=('i686' 'x86_64')
url="https://audacious-media-player.org/"
license=('BSD' 'GPL')
provides=("$_pkgname")
conflicts=("$_pkgname")
depends=('audacious-git'
'alsa-lib' 'curl' 'dbus-glib' 'faad2' 'ffmpeg' 'flac' 'fluidsynth'
'jack' 'lame' 'libbs2b' 'libcddb' 'libcdio-paranoia' 'libcue'
'libmms' 'libmodplug' 'libmtp' 'libnotify' 'libopenmpt' 'libpipewire'
'libpulse' 'libsamplerate' 'libsidplayfp' 'libvorbis' 'lirc' 'mpg123'
'neon' 'opusfile' 'wavpack')
makedepends=('glib2' 'python' 'git')
source=("git+https://github.com/audacious-media-player/$_pkgname.git")
sha256sums=('SKIP')
if [ "$_use_meson" = 1 ]; then
makedepends+=('meson')
fi
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/^audacious-plugins-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_pkgname"
if [ "$_use_meson" = 1 ]; then
arch-meson build
meson compile -C build
else
autoreconf
./configure --prefix=/usr
make
fi
}
package() {
cd "$_pkgname"
if [ "$_use_meson" = 1 ]; then
meson install -C build --destdir "$pkgdir"
else
make DESTDIR="$pkgdir" install
fi
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
|