summaryrefslogblamecommitdiff
path: root/user/audacious-plugins/APKBUILD
blob: ecd1467f6a9e8bd07c0e81bad4fc19f14a16c74e (plain) (tree)
1
2
3
4
5
6



                                                         

           









































                                                                                
                                                                                                                                                                             
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=audacious-plugins
pkgver=3.10
pkgrel=0
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="88dd93b5a7f6582ec42cf539d1000de0900cce683f4de85d8a17f57c7ba34545c6277882cad1505cb6682ee7b885ffcd1fe5675f7e24dc3e2a650615789d9d52  audacious-plugins-3.10.tar.bz2"