forked from ports/contrib
[notify] libsamplerate: 0.2.1 -> 0.2.2; new dependency: cmake; check revdep afterwards to be safe
This commit is contained in:
parent
737baa7f19
commit
377e19540a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user