2006-02-23 15:26:10 +00:00
|
|
|
# Description: ID3 tag manipulation library
|
2023-05-28 10:23:51 +02:00
|
|
|
# URL: https://codeberg.org/tenacityteam/libid3tag
|
2021-01-31 17:33:35 +00:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2021-09-02 11:57:58 +02:00
|
|
|
# Depends on: zlib cmake
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=libid3tag
|
2023-09-24 09:29:33 +02:00
|
|
|
version=0.16.3
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2023-05-28 10:23:51 +02:00
|
|
|
source=(https://codeberg.org/tenacityteam/libid3tag/archive/$version.tar.gz)
|
|
|
|
renames=($name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2023-05-28 10:23:51 +02:00
|
|
|
cmake -S $name -B build -G Ninja \
|
2021-09-02 11:57:58 +02:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
|
|
-Wno-dev
|
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|