summaryrefslogtreecommitdiff
path: root/user/taglib/APKBUILD
blob: b8559a8f760a293b920e01adaba6308382956313 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=taglib
pkgver=1.11.1
pkgrel=2
pkgdesc="Library for manipulating audio file metadata"
url="http://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"

build() {
	cd "$builddir"
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DWITH_ASF=ON \
		-DWITH_MP4=ON \
		-DBUILD_SHARED_LIBS=ON
	make VERBOSE=1
}

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

sha512sums="7846775c4954ea948fe4383e514ba7c11f55d038ee06b6ea5a0a1c1069044b348026e76b27aa4ba1c71539aa8143e1401fab39184cc6e915ba0ae2c06133cb98  taglib-1.11.1.tar.gz"