summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/taglib/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/taglib/APKBUILD b/user/taglib/APKBUILD
new file mode 100644
index 000000000..b8559a8f7
--- /dev/null
+++ b/user/taglib/APKBUILD
@@ -0,0 +1,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"