2023-08-18 20:01:44 +02:00
|
|
|
# Description: AAC audio decoding library
|
2019-10-27 11:49:14 +11:00
|
|
|
# URL: https://www.audiocoding.com/faad2.html
|
2023-08-18 20:01:44 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2006-12-01 14:55:49 -06:00
|
|
|
|
|
|
|
name=faad2
|
2023-11-15 06:54:23 +01:00
|
|
|
version=2.11.1
|
|
|
|
release=1
|
|
|
|
source=(https://github.com/knik0/faad2/archive/$version/$name-$version.tar.gz)
|
2006-12-01 14:55:49 -06:00
|
|
|
|
|
|
|
build() {
|
2023-11-07 19:41:36 +01:00
|
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
|
|
-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-12-01 14:55:49 -06:00
|
|
|
}
|