summaryrefslogblamecommitdiff
path: root/user/alsa-lib/APKBUILD
blob: 4f854e443347afd7e129ad6ed283bb45a8ad9a5f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
              

                                    
                                                 

                   
          
                           
                                       




                                                                   
         











                                               


                                                                              



            



                  


                                          
                                                                                                                                                                      
                                                                                                                                                        
                                                                                                                                                    
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=alsa-lib
pkgver=1.2.1.2
pkgrel=0
pkgdesc="Linux sound support system"
url="https://www.alsa-project.org/wiki/Main_Page"
arch="all"
license="LGPL-2.0+"
depends=""
makedepends="linux-headers"
subpackages="$pkgname-dev $pkgname-dbg"
source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2
	ucm_add_limits_h.patch
	remove-test.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-python \
		--disable-static \
		--disable-resmgr \
		--enable-rawmidi \
		--enable-seq \
		--enable-aload \
		--disable-dependency-tracking \
		--without-versioned
	rm -rf "$builddir"/include/sound
	mkdir "$builddir"/include/sound
	printf "all:\ncheck:\ninstall:\n" > "$builddir"/include/sound/Makefile
	make
}

check() {
	make check
}

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

sha512sums="e8286fd55f63ee0d95513279d0885c287533de89b7af6c338413dec5d38ba4f5a15da1a4a4ce36e052614e4b730e3778782dab9979d82958283be17b48604913  alsa-lib-1.2.1.2.tar.bz2
3b37652d50809443b5f8e80f8d447108195b0cd66fd917805bb393fc091584b6f3dad4414f568742b61745617e7a695862058a0a0f93dcc31e4c97177a520352  ucm_add_limits_h.patch
0ce3c2b8a0a70e2dffb6d633b95c4aae74504cd694fe1507cbc409d931b5f733935b22de45e4adcf5a507587c9f80c60a6f0e798aac2ca2fbf0cbcdef0080079  remove-test.patch"