Skip to content

Commit eeb93cb

Browse files
authored
Merge pull request #254 from TChilderhose/master
Add libsoxr
2 parents 865e259 + 22461a5 commit eeb93cb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build-ffmpeg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,18 @@ if $NONFREE_AND_GPL; then
893893
CONFIGURE_OPTIONS+=("--enable-libfdk-aac")
894894
fi
895895

896+
if build "soxr" "0.1.3"; then
897+
download "https://sourceforge.net/projects/soxr/files/soxr-$CURRENT_PACKAGE_VERSION-Source.tar.xz/download?use_mirror=gigenet" "soxr-$CURRENT_PACKAGE_VERSION.tar.xz"
898+
899+
mkdir build && cd build
900+
execute cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${WORKSPACE}" -DBUILD_SHARED_LIBS:bool=off -DWITH_OPENMP:bool=off -DBUILD_TESTS:bool=off -Wno-dev ..
901+
execute make -j $MJOBS
902+
execute make install
903+
904+
build_done "soxr" $CURRENT_PACKAGE_VERSION
905+
fi
906+
CONFIGURE_OPTIONS+=("--enable-libsoxr")
907+
896908
##
897909
## image library
898910
##

0 commit comments

Comments
 (0)