blob: 5fbc0642805c57ea7bebec2447f1693f3d4fac62 (
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
|
#!/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
}
|