diff options
Diffstat (limited to 'repo/taglib')
-rw-r--r-- | repo/taglib/taglib.xibuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/taglib/taglib.xibuild b/repo/taglib/taglib.xibuild new file mode 100644 index 0000000..5fbc064 --- /dev/null +++ b/repo/taglib/taglib.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +NAME="taglib" +DESC="Library for reading and editing metadata of several popular audio formats" + +MAKEDEPS="zlib cmake ninja" + +PKG_VER=1.12 +SOURCE="https://taglib.github.io/releases/taglib-$PKG_VER.tar.gz" + +build() { + cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DWITH_ASF=ON \ + -DWITH_MP4=ON \ + -DBUILD_SHARED_LIBS=ON + cmake --build build +} + +package() { + DESTDIR="$PKG_DEST" cmake --install build +} + |