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

                                            
                
            
        


                                                       

                                                 












                         
                                                              
                                                     
        
                                                                                       
                     


                                
 
         






                                                            
                               

                                         

                                           

                                  
            


           
                                      

 
                                                                                                                                                                    

                                                                                                                                                     
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=deadbeef
pkgver=1.8.4
pkgrel=0
pkgdesc="fairly capable playlist-oriented audio player"
url="http://deadbeef.sourceforge.net/"
arch="all"
license="Zlib GPL-2.0-or-later LGPL-2.1-or-later"
depends="desktop-file-utils hicolor-icon-theme"
depends_dev="
	alsa-lib-dev
	curl-dev
	ffmpeg-dev
	flac-dev
	gtk+3.0-dev
	jansson-dev
	libmad-dev
	libsamplerate-dev
	libsndfile-dev
	libvorbis-dev
	opusfile-dev
	"
makedepends="$depends_dev intltool gettext bsd-compat-headers"
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="
	https://downloads.sourceforge.net/sourceforge/deadbeef/deadbeef-$pkgver.tar.bz2
	strdupa.patch
	use-endian-h.patch
	"
options="!check" # No test suite

build() {
	case "$CARCH" in
		x86)
			build_options="--disable-soundtouch"
		;;
	esac

	LDFLAGS=-lintl ./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-oss \
		--disable-static \
		$build_options
	make
}

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

sha512sums="e1c0dec2b01ade6b306dcdc0b4b04ff565534c5992f8b4c0697b42e3086cf782b8cd10d18e9706f16945ec55e22b6eecdcaa2f7993be9eb98822306720a2c983  deadbeef-1.8.4.tar.bz2
902c65cc5fd39f9935080a7f5df6d7c17fb366706501957a6b54d796f1b7b64a03fed64f93c9149d9332c4638de35254d526c031af0cd12674efb8d25dff31e1  strdupa.patch
9d933a33c6d78d66d4b6cb448aaeaf60b79e6269ce1c48e314b135f79779cdeb4e541b4c10c8666010b488e10108d0154a84835115933a8c6677f066044a1197  use-endian-h.patch"