Browse Source

libsoxr: Update from 0.1.2 to 0.1.3

android-5
Fredrik Fornwall 7 years ago
parent
commit
dd2208f665
  1. 8
      packages/libsoxr/build.sh
  2. 20
      packages/libsoxr/go.patch

8
packages/libsoxr/build.sh

@ -1,14 +1,14 @@
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/soxr/
TERMUX_PKG_DESCRIPTION="High quality, one-dimensional sample-rate conversion library"
TERMUX_PKG_VERSION=0.1.2
TERMUX_PKG_VERSION=0.1.3
TERMUX_PKG_SHA256=b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889
TERMUX_PKG_SRCURL=https://sourceforge.net/projects/soxr/files/soxr-$TERMUX_PKG_VERSION-Source.tar.xz
TERMUX_PKG_SHA256=54e6f434f1c491388cd92f0e3c47f1ade082cc24327bdc43762f7d1eefe0c275
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure() {
return 0;
return 0
}
termux_step_make() {
termux_setup_cmake
./go

20
packages/libsoxr/go.patch

@ -1,12 +1,12 @@
--- ../cache/soxr-0.1.2-Source/go 2015-08-27 07:53:52.000000000 +0000
+++ ./go 2018-01-18 23:39:51.044488639 +0000
@@ -12,6 +12,6 @@
mkdir -p $build
cd $build
diff -u -r ../soxr-0.1.3-Source/go ./go
--- ../soxr-0.1.3-Source/go 2018-02-21 07:36:46.000000000 +0000
+++ ./go 2018-05-18 23:27:01.320832208 +0000
@@ -13,6 +13,7 @@
mkdir -p "$build"
cd "$build"
-cmake -DCMAKE_BUILD_TYPE=$build -Wno-dev .. &&
- make $j &&
- (ctest $j || echo "FAILURE details in $build/Testing/Temporary/LastTest.log")
+cmake -DCMAKE_BUILD_TYPE=$build -DCMAKE_INSTALL_PREFIX=@TERMUX_PREFIX@ -DBUILD_TESTS=off -Wno-dev .. &&
+ make $j
-cmake -Wno-dev -DCMAKE_BUILD_TYPE="$build" ..
+cmake -Wno-dev -DCMAKE_BUILD_TYPE="$build" -DCMAKE_INSTALL_PREFIX=@TERMUX_PREFIX@ -DBUILD_TESTS=off ..
make $j
+make install
ctest $j || echo "FAILURE details in $build/Testing/Temporary/LastTest.log"

Loading…
Cancel
Save