aboutsummaryrefslogblamecommitdiffstats
path: root/community/audacious/APKBUILD
blob: e73701cba9f786443756324e64ede88245e94243 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   


                                                         
           
        
                                                                   
                                        
                 
             
                                       
                                                                          
                                                                  
                                                                             
                                   
 
           
                       
                                     
                                               
 
 
         
                      





                                           

                                

 





                                           
           

                                      
 
 
                                                                                                                                                                     
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious
pkgver=3.10
pkgrel=0
pkgdesc="A playlist-oriented media player with multiple interfaces"
url="http://audacious-media-player.org/"
arch="all !s390x"
license="ISC"
depends_dev="gtk+2.0-dev dbus-glib-dev"
makedepends="$depends_dev libguess-dev>=1.2 libxml2-dev autoconf automake"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-dbg"
source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	msg "Rebuilding configure..."
	aclocal -I m4 && autoheader && autoconf
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-chardet
	make
}

check () {
	cd "$builddir"/src/libaudcore/tests
	make test
	./test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="513d5f9608c1ebeae9cf9bb95128244e990e66c74bf49aff6570ec557d537809f3ebf93c400f5df2708ff61cf04ecc95da183b111f5a757735cef5a68dd9907f  audacious-3.10.tar.bz2"