aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tagutil/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tagutil/APKBUILD')
-rw-r--r--testing/tagutil/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/tagutil/APKBUILD b/testing/tagutil/APKBUILD
new file mode 100644
index 0000000000..b55990bb4f
--- /dev/null
+++ b/testing/tagutil/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=tagutil
+pkgver=3.1
+pkgrel=0
+pkgdesc="scriptable music files tags tool and editor"
+url="https://github.com/kAworu/tagutil"
+arch="all"
+license="BSD-2-Clause"
+makedepends="cmake flac-dev jansson-dev libvorbis-dev taglib-dev yaml-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kAworu/tagutil/archive/v3.1.tar.gz
+ patch-musl.patch"
+options="!check" # No tests
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ $CMAKE_CROSSOPTS src
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a5b2140250f21eddd0154231608546b78c5646bb4bcb6ed7b11a3cbade2435c322d83c19a2a2e6852cdacca19a2b1cd6e33c0b71147d6873679d2b41db5a06d9 tagutil-3.1.tar.gz
+2915411e1dc38126879c19d69caf8923fbcb95c72b3371661f50078b2722369ebb88f6dd3de9ba78f974a1eb07b743b1d69e40ee678f2a6f1634d8c972a18ef9 patch-musl.patch"