summaryrefslogblamecommitdiff
path: root/user/faad2/APKBUILD
blob: 0a81a14f9bd9602a32f4077e3bc3287af54c5aca (plain) (tree)
1
2
3
4
5
6
7
8
9
10

              
            

                                           
                               
                                  


                                  

                                       
                                       






                                                                                        
             
                     



                      
                      

                      
                      


                      
                      






                       

         


                                 



                                         



            
                                      

 
                                                                                                                                                                 
# Maintainer: 
pkgname=faad2
pkgver=2.9.2
_pkgver="$(printf '%s' "$pkgver" | tr . _)"
pkgrel=0
pkgdesc="ISO AAC audio decoder"
url="https://www.audiocoding.com/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"

# secfixes:
#   2.8.8-r1:
#     - CVE-2018-19502
#     - CVE-2019-15296
#   2.9.0-r0:
#     - CVE-2019-6956
#     - CVE-2018-19503
#     - CVE-2018-19504
#     - CVE-2018-20194
#     - CVE-2018-20195
#     - CVE-2018-20196
#     - CVE-2018-20197
#     - CVE-2018-20198
#     - CVE-2018-20199
#     - CVE-2018-20357
#     - CVE-2018-20358
#     - CVE-2018-20359
#     - CVE-2018-20360
#     - CVE-2018-20361
#     - CVE-2018-20362

prepare() {
	default_prepare
	./bootstrap
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="996c279a56c6abde13da964b91d4ff87ac4c611e889f1dd59882fa3898093dec68ab0714cf106db10a5e24952e2d6dddc049ec9bf4f07ff68378a705d5debee2  faad2-2.9.2.tar.gz"