diff --git a/libsoxr/.footprint b/libsoxr/.footprint new file mode 100644 index 000000000..a2af51b1c --- /dev/null +++ b/libsoxr/.footprint @@ -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/ diff --git a/libsoxr/.signature b/libsoxr/.signature new file mode 100644 index 000000000..0ac7cc6c9 --- /dev/null +++ b/libsoxr/.signature @@ -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 diff --git a/libsoxr/Pkgfile b/libsoxr/Pkgfile new file mode 100644 index 000000000..975743ec1 --- /dev/null +++ b/libsoxr/Pkgfile @@ -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 +}