aboutsummaryrefslogtreecommitdiffstats
path: root/main/taglib/APKBUILD
blob: 1ef727c61a292230f3ade6b51c4ab3a3756c5aa3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=taglib
pkgver=1.9.1
pkgrel=0
pkgdesc="library for reading and editing the meta-data of several popular audio formats."
url="http://taglib.github.io/"
arch="all"
license="GPL2"
makedepends="zlib-dev cmake"
depends=
source="http://taglib.github.io/releases/taglib-$pkgver.tar.gz"
subpackages="$pkgname-dev"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DWITH_ASF=ON -DWITH_MP4=ON || return 1
	make VERBOSE=1 || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="0d35df96822bbd564c5504cb3c2e4d86  taglib-1.9.1.tar.gz"
sha256sums="72d371cd1419a87ae200447a53bff2be219283071e80fd12337928cc967dc71a  taglib-1.9.1.tar.gz"
sha512sums="63a4f06b88b33be716dde3111e62a624995bc020127c9d22f63e918a535ebba858c59308ca4295eeedb29dc72b87d6673db5483f20d9dbf3f56cd93c7ba7ed58  taglib-1.9.1.tar.gz"