diff options
author | Tim Biermann <tbier@posteo.de> | 2021-09-09 12:39:57 +0200 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-09-09 12:52:48 +0200 |
commit | 377e19540a6644abc60e19d2283c60f4f1f383ca (patch) | |
tree | 4046e430343c2a5496e745e8aee5ec52aadaf4a3 /libsamplerate | |
parent | 737baa7f197b15765ff8b7859e1d4e8387cc07f3 (diff) | |
download | contrib-377e19540a6644abc60e19d2283c60f4f1f383ca.tar.gz contrib-377e19540a6644abc60e19d2283c60f4f1f383ca.tar.xz |
[notify] libsamplerate: 0.2.1 -> 0.2.2; new dependency: cmake; check revdep afterwards to be safe
Diffstat (limited to 'libsamplerate')
-rw-r--r-- | libsamplerate/.footprint | 14 | ||||
-rw-r--r-- | libsamplerate/.signature | 8 | ||||
-rw-r--r-- | libsamplerate/Pkgfile | 25 |
3 files changed, 28 insertions, 19 deletions
diff --git a/libsamplerate/.footprint b/libsamplerate/.footprint index 0ad3536ff..cfbb44df7 100644 --- a/libsamplerate/.footprint +++ b/libsamplerate/.footprint @@ -2,10 +2,14 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/samplerate.h drwxr-xr-x root/root usr/lib/ --rw-r--r-- root/root usr/lib/libsamplerate.a --rwxr-xr-x root/root usr/lib/libsamplerate.la -lrwxrwxrwx root/root usr/lib/libsamplerate.so -> libsamplerate.so.0.2.1 -lrwxrwxrwx root/root usr/lib/libsamplerate.so.0 -> libsamplerate.so.0.2.1 --rwxr-xr-x root/root usr/lib/libsamplerate.so.0.2.1 +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/SampleRate/ +-rw-r--r-- root/root usr/lib/cmake/SampleRate/SampleRateConfig.cmake +-rw-r--r-- root/root usr/lib/cmake/SampleRate/SampleRateConfigVersion.cmake +-rw-r--r-- root/root usr/lib/cmake/SampleRate/SampleRateTargets-release.cmake +-rw-r--r-- root/root usr/lib/cmake/SampleRate/SampleRateTargets.cmake +lrwxrwxrwx root/root usr/lib/libsamplerate.so -> libsamplerate.so.0 +lrwxrwxrwx root/root usr/lib/libsamplerate.so.0 -> libsamplerate.so.0.2.2 +-rwxr-xr-x root/root usr/lib/libsamplerate.so.0.2.2 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/samplerate.pc diff --git a/libsamplerate/.signature b/libsamplerate/.signature index f9db34ad5..d7825aae1 100644 --- a/libsamplerate/.signature +++ b/libsamplerate/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF37iKP65fHiSO7cY3sWoO4Z1Z1sGNvGOYU1iGfC37VWDSAK16F9S1iAvljeEy81/s9w/uhyO47e+ztXMQU0MgxwU= -SHA256 (Pkgfile) = 37ba694aecfd610a7de0449dc554a8eed9a688660bd70723bd9d3c9a22a9d774 -SHA256 (.footprint) = 16878e2253d28c87c28d68fd3ca2fa53d08f8ad7caff2ea182e11a37d0057ea9 -SHA256 (libsamplerate-0.2.1.tar.bz2) = f6323b5e234753579d70a0af27796dde4ebeddf58aae4be598e39b3cee00c90a +RWSagIOpLGJF38JuV2IAacFX+v+/mqtVMUtp84b4DlqaybTLu2OKjoJAFFJ0NxLWTdgJlALpSXRMZbjKQiVQUIHILO8wGnNY6gs= +SHA256 (Pkgfile) = 54803f1bc013c135bd195f70c37d0f413f44a066261fc1a9af6f3dfe4a064762 +SHA256 (.footprint) = 1f7df48e455ba4224278fae5d5ecbfe23878247913d6efd9b216cc3728026a31 +SHA256 (libsamplerate-0.2.2.tar.xz) = 3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893 diff --git a/libsamplerate/Pkgfile b/libsamplerate/Pkgfile index 18e89c9fd..0abc8cee1 100644 --- a/libsamplerate/Pkgfile +++ b/libsamplerate/Pkgfile @@ -1,21 +1,26 @@ # Description: Sound sample rate conversion library. # URL: https://libsndfile.github.io/libsamplerate/ # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: libsndfile -# Optional: fftw +# Depends on: cmake libsndfile +# Optional: fftw ninja name=libsamplerate -version=0.2.1 +version=0.2.2 release=1 -source=(https://github.com/libsndfile/libsamplerate/releases/download/$version/$name-$version.tar.bz2) +source=(https://github.com/libsndfile/libsamplerate/releases/download/$version/$name-$version.tar.xz) build() { - cd $name-$version + prt-get isinst ninja && PKGMK_LSR+=' -G Ninja' - ./configure --prefix=/usr - make - make DESTDIR=$PKG install + cmake -S $name-$version -B build $PKGMK_LSR \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D BUILD_SHARED_LIBS=ON \ + -Wno-dev + cmake --build build + DESTDIR=$PKG cmake --install build - rm -r $PKG/usr/share/doc - rmdir $PKG/usr/share + rm -r $PKG/usr/share } |