aboutsummaryrefslogtreecommitdiffstats
path: root/main/taglib/APKBUILD
blob: 6afb5c45ade3fbee75bb6b1ade0298905757c2b1 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=taglib
pkgver=1.11.1
pkgrel=1
pkgdesc="Library for reading and editing metadata of several popular audio formats"
url="http://taglib.github.io/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0"
makedepends="zlib-dev cmake"
depends=
source="http://taglib.github.io/releases/taglib-$pkgver.tar.gz"
subpackages="$pkgname-dev"

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"