aboutsummaryrefslogblamecommitdiffstats
path: root/main/audacious-plugins/APKBUILD
blob: 6f7ba5c0eaad632811db38cc7084cd053a171ebf (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                         
            
        




                                                                           
                    
                         
                          


                          
                                        

                        

                       
                        
                                 

                        


                              
                       
                           
 

                          
                       
                          


                          





                         
                     
                    
 
                     
                      
        
                           
                                                                             
 
                                    











                                                                   
 
                                     
                                                           
 


                                                     







                                           
                           







                                      


                                                                                                                                                                              
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious-plugins
pkgver=3.3.4
pkgrel=1
pkgdesc="playlist-oriented media player with multiple interfaces (plugins)"
url="http://audacious-media-player.org/"
arch="all"
license="ISC"
depends=audacious
install_if=audacious
_want_ffmpeg="ffmpeg-dev"
makedepends="libmowgli-dev
             libguess-dev
             gtk+-dev
             dbus-glib-dev
             audacious-dev>=${pkgver%.*}
             libxml2-dev

             mpg123-dev

	     libcdio-dev
	     libcdio-paranoia-dev
	     libcddb-dev

	     libxcomposite-dev
	     libsamplerate-dev
	     libcue-dev
	     libmms-dev
	     libsndfile-dev

	     libnotify-dev

	     libogg-dev
             libvorbis-dev

	     $_want_ffmpeg

             alsa-lib-dev
	     faad2-dev
             neon-dev
             curl-dev
             wavpack-dev
	     lame-dev
	     flac-dev
	     sdl-dev

	     automake
	     autoconf"
install=
subpackages="$pkgname-lang"
source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"

	for i in $source; do
		case $i in
		*.patch)
			msg "Applying $i..."
			patch -s -p1 -N -i "$srcdir"/$i || return 1
			;;
		esac
	done

	msg "Rebuilding configure..."
	aclocal -I m4 && autoheader && autoconf || return 1

	# workaround bug in busybox
	sed -e "/touch/s/0001010000/200001010000/g" \
		-i configure
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

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

md5sums="c7fc344b802557cbbe208c31e5289ef1  audacious-plugins-3.3.4.tar.bz2"
sha256sums="b66dd84ab092d9fb64182599706ed60a3c382c904a77e23285e1e271f007afd0  audacious-plugins-3.3.4.tar.bz2"
sha512sums="4e3ba9adc4f44c3f02934a98d5c3225ae560e062b1e1f93e478770c8ea7f6e741a9cf83ae2ec34a05ac4c40dd08d0cf732e41029fa88bc37014bb8bbe1c1a681  audacious-plugins-3.3.4.tar.bz2"