summaryrefslogblamecommitdiff
path: root/user/taglib/APKBUILD
blob: 6569a68e13fe0e424acae73c8d66d4705444a834 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                 
        
                                                      
                         





                                   







                                                        

         
                                           
                                                     

                               
                                        



                      


                                      


                                                                                                                                                                  
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=taglib
pkgver=1.11.1
pkgrel=3
pkgdesc="Library for manipulating audio file metadata"
url="https://taglib.org/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1-only AND MPL-1.1"
depends=""
makedepends="cmake zlib-dev"
subpackages="$pkgname-dev"
source="http://taglib.org/releases/taglib-$pkgver.tar.gz
	CVE-2017-12678.patch
	CVE-2018-11439.patch"

# secfixes:
#   1.11.1-r3:
#     - CVE-2017-12678
#     - CVE-2018-11439

build() {
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DWITH_ASF=ON \
		-DWITH_MP4=ON \
		-DBUILD_SHARED_LIBS=ON .
	make VERBOSE=1
}

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

sha512sums="7846775c4954ea948fe4383e514ba7c11f55d038ee06b6ea5a0a1c1069044b348026e76b27aa4ba1c71539aa8143e1401fab39184cc6e915ba0ae2c06133cb98  taglib-1.11.1.tar.gz
e50810e8d790c490b7d6752c4bf65da812b7534b9920c505d83b8bd0d67fe9991b4db488b6a63e69b206bbcb3cf80754018b17294b5832dd05bfad9a0fbc56c6  CVE-2017-12678.patch
9a118f9410404996bf3879325f77fcfb638f6cc71b4e258d9786bd741c2c45f26385a6049788ef6ebc56c7c987bd7ef6267a461f4478f5d52d236b035287cdf2  CVE-2018-11439.patch"