2011-12-13 09:34:46 +11:00
|
|
|
# Description: Library to read and edit the meta-data of popular audio formats.
|
2016-05-11 23:36:42 +10:00
|
|
|
# URL: http://taglib.github.io/
|
2014-11-10 23:25:50 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2011-12-13 09:34:46 +11:00
|
|
|
# Depends on: cmake
|
2016-05-11 23:36:42 +10:00
|
|
|
# Optional: boost
|
2011-12-13 09:34:46 +11:00
|
|
|
|
|
|
|
name=taglib
|
2022-10-29 18:40:05 +00:00
|
|
|
version=1.13
|
2011-12-13 09:34:46 +11:00
|
|
|
release=1
|
2016-05-11 23:36:42 +10:00
|
|
|
source=(http://taglib.github.io/releases/$name-$version.tar.gz)
|
2011-12-13 09:34:46 +11:00
|
|
|
|
|
|
|
build() {
|
2022-10-29 18:40:05 +00:00
|
|
|
cmake -S $name-$version -B build -G Ninja $PGKMK_TAGLIB \
|
2011-12-13 09:34:46 +11:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2022-10-30 13:06:23 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2011-12-13 09:34:46 +11:00
|
|
|
-DCMAKE_RELEASE_TYPE=Release \
|
2016-05-11 23:36:42 +10:00
|
|
|
-DBUILD_SHARED_LIBS=ON \
|
2011-12-13 09:34:46 +11:00
|
|
|
-DWITH_MP4=ON \
|
2016-05-11 23:36:42 +10:00
|
|
|
-DWITH_ASF=ON
|
2021-02-18 07:40:35 +00:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2011-12-13 09:34:46 +11:00
|
|
|
}
|