summaryrefslogtreecommitdiff
path: root/user/audacious-plugins/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/audacious-plugins/APKBUILD')
-rw-r--r--user/audacious-plugins/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/user/audacious-plugins/APKBUILD b/user/audacious-plugins/APKBUILD
new file mode 100644
index 000000000..150efce23
--- /dev/null
+++ b/user/audacious-plugins/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Łukasz Jendrysik <scadu@yandex.com>
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=audacious-plugins
+pkgver=3.9
+pkgrel=2
+pkgdesc="Playlist-oriented media player (plugins)"
+url="https://audacious-media-player.org/"
+arch="all"
+options="!check" # No test suite
+license="ISC"
+depends="audacious"
+install_if="audacious=$pkgver"
+makedepends="audacious-dev>=${pkgver%.*}
+ dbus-glib-dev libguess-dev libmowgli-dev libxml2-dev
+ ffmpeg-dev libcddb-dev libcdio-dev libcdio-paranoia-dev mpg123-dev
+ libcue-dev libmms-dev libsamplerate-dev libsndfile-dev libxcomposite-dev
+ libnotify-dev libogg-dev libvorbis-dev pulseaudio-dev
+ alsa-lib-dev curl-dev flac-dev lame-dev neon-dev sdl-dev wavpack-dev
+ automake autoconf"
+subpackages="$pkgname-lang"
+source="https://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2"
+
+prepare() {
+ default_prepare
+ msg "Rebuilding configure..."
+ aclocal -I m4 && autoheader && autoconf
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-gtk \
+ --enable-qt
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="00c8c53d69995ca1fedb91c7df609cc6c65b13e1af23b98a2fbda143c02ac554cc2c42c01f1c593af252e36bfb85b6324f2daca8632d3b672c69fb4dead2e3fa audacious-plugins-3.9.tar.bz2"