[notify] soundtouch: fix source changed to cmake build

This commit is contained in:
Danny Rawlins 2021-12-28 00:33:34 +11:00
parent ce1465ad66
commit 07adb8cb16
3 changed files with 24 additions and 24 deletions

View File

@ -10,12 +10,14 @@ drwxr-xr-x root/root usr/include/soundtouch/
-rw-r--r-- root/root usr/include/soundtouch/SoundTouch.h
-rw-r--r-- root/root usr/include/soundtouch/soundtouch_config.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libSoundTouch.la
lrwxrwxrwx root/root usr/lib/libSoundTouch.so -> libSoundTouch.so.1.0.0
lrwxrwxrwx root/root usr/lib/libSoundTouch.so.1 -> libSoundTouch.so.1.0.0
-rwxr-xr-x root/root usr/lib/libSoundTouch.so.1.0.0
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/SoundTouch/
-rw-r--r-- root/root usr/lib/cmake/SoundTouch/SoundTouchConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/SoundTouch/SoundTouchConfigVersion.cmake
-rw-r--r-- root/root usr/lib/cmake/SoundTouch/SoundTouchTargets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/SoundTouch/SoundTouchTargets.cmake
lrwxrwxrwx root/root usr/lib/libSoundTouch.so -> libSoundTouch.so.2
lrwxrwxrwx root/root usr/lib/libSoundTouch.so.2 -> libSoundTouch.so.2.3.1
-rwxr-xr-x root/root usr/lib/libSoundTouch.so.2.3.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/soundtouch.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/aclocal/
-rw-r--r-- root/root usr/share/aclocal/soundtouch.m4

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31GRUBFuDYeLu7GpJhW5XVO348a01EoKHin+e9b9t/LKtKsWvTUbIQX24lK6nq+7RGDMCAyKNsunHKrJLRfnOwo=
SHA256 (Pkgfile) = 9b8b854d16a837c9fe7e921bd95aaf69cea98fe0bb487617c5d9aac9d669ebc5
SHA256 (.footprint) = a1e366cbc3b971d5021f079404738ad129a603819ba9d5811ea2f86ed662a97b
SHA256 (soundtouch-2.3.1.tar.bz2) = cc028e4fce7f4ee966ebb9c405180238f889795d618f8549ef153d06d3ced1c4
RWSagIOpLGJF35TL6a+lxdWHK0ogaISbA5iqT8wNYOojmLdLeuLAzmQKO5orhjIvybhpAbgGAtPI3HOy4Bvs4TxeJvpv4yhEZQE=
SHA256 (Pkgfile) = d61f10a96ce275b958e6c0b8198a2d962ec33263ec6a42e6cc13eaf8e68a9da1
SHA256 (.footprint) = 0d077becc7a8347c54dca749d944656cde616e30dc75ebd2b2569f78825c43e2
SHA256 (soundtouch-2.3.1.tar.gz) = 6900996607258496ce126924a19fe9d598af9d892cf3f33d1e4daaa9b42ae0b1

View File

@ -1,23 +1,21 @@
# Description: Audio processing library for changing tempo, pitch and playback rates.
# URL: https://www.surina.net/soundtouch/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake ninja
name=soundtouch
version=2.3.1
release=1
source=(https://gitlab.com/$name/$name/-/archive/$version/$name-$version.tar.bz2)
release=2
source=(https://www.surina.net/$name/$name-$version.tar.gz)
build() {
cd $name-$version
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_LIBDIR=lib \
-D BUILD_SHARED_LIBS=ON \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG"
./bootstrap
./configure \
--prefix=/usr \
--enable-shared=yes
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
cmake --build build
DESTDIR=$PKG cmake --install build
}