libsoxr: initial import

This commit is contained in:
Danny Rawlins 2020-04-22 21:43:36 +10:00
parent ac6bdedc54
commit 7cf39134a9
3 changed files with 46 additions and 0 deletions

15
libsoxr/.footprint Normal file
View File

@ -0,0 +1,15 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/soxr-lsr.h
-rw-r--r-- root/root usr/include/soxr.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libsoxr-lsr.so -> libsoxr-lsr.so.0
lrwxrwxrwx root/root usr/lib/libsoxr-lsr.so.0 -> libsoxr-lsr.so.0.1.9
-rwxr-xr-x root/root usr/lib/libsoxr-lsr.so.0.1.9
lrwxrwxrwx root/root usr/lib/libsoxr.so -> libsoxr.so.0
lrwxrwxrwx root/root usr/lib/libsoxr.so.0 -> libsoxr.so.0.1.2
-rwxr-xr-x root/root usr/lib/libsoxr.so.0.1.2
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/soxr-lsr.pc
-rw-r--r-- root/root usr/lib/pkgconfig/soxr.pc
drwxr-xr-x root/root usr/share/

5
libsoxr/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+ruBS03LqMmiSuBm6cRJAOBaGYZDLQdEo4mBzrUIIBHZWNWJj8GhZf4efM2MS/CrchZUnOefgZFBluZsM5CiQs=
SHA256 (Pkgfile) = 5e8323601f5a1629f5623e9050f8945043fc9dec43ed5a3fa4c2a113776c1ee1
SHA256 (.footprint) = e3df6a7a6c7e67eda43a1601493e29d219747e75b60864d8d2d5910c92a6e128
SHA256 (soxr-0.1.3-Source.tar.xz) = b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889

26
libsoxr/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: High quality, one-dimensional sample-rate conversion library
# URL: https://sourceforge.net/p/soxr/wiki/Home/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake ffmpeg
name=libsoxr
version=0.1.3
release=1
source=(https://downloads.sourceforge.net/soxr/soxr-$version-Source.tar.xz)
build() {
cmake -Hsoxr-$version-Source -Bbuild \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_EXAMPLES='OFF' \
-DBUILD_SHARED_LIBS='ON' \
-DWITH_AVFFT='ON' \
-DWITH_LSR_BINDINGS='ON' \
-DWITH_OPENMP='ON' \
-DWITH_PFFFT='ON'
cmake --build build
DESTDIR=$PKG cmake --build build --target install
rm -r $PKG/usr/share/doc
}