* update soundtouch to 2.3.1-1

This commit is contained in:
Alexander Baldeck 2022-02-16 21:45:23 +01:00
parent dbb15c87c7
commit 399a195e92
2 changed files with 6 additions and 16 deletions

View File

@ -3,8 +3,8 @@
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=soundtouch
pkgver=2.3.0
pkgrel=2
pkgver=2.3.1
pkgrel=1
pkgdesc='An audio processing library'
arch=(x86_64 powerpc64le powerpc riscv64)
url=https://www.surina.net/soundtouch/
@ -15,19 +15,17 @@ makedepends=(
git
ninja
)
_tag=c65afe49f697fcea87d9a134870c8d115d7700cc
_tag=e1f315f5358d9db5cee35a7a2886425489fcefe8
source=(
git+https://codeberg.org/soundtouch/soundtouch.git#tag=${_tag}
soundtouch-cmake.patch
)
b2sums=(
SKIP
995f751615848acd46da4420d3f243f5b4887879b5a654f546a52629443cdec8249bbcb53cf800600d65ecfe0cf114249b63e0c53e8f75478e7f8bc060ae1e40
)
b2sums=('SKIP'
'9eed09dc451c4e216a322211622e96757671613a4ba8231a699e32a50764eee4072837df697205dea87ef66a4d4d3105418451bec9cbe4f077ab55718ab374dd')
prepare() {
cd soundtouch
# set soname, install autotools files
# install autotools files
patch -Np1 -i ../soundtouch-cmake.patch
# cmake doesn't generate files for autotools
autoreconf -fiv

View File

@ -1,14 +1,6 @@
diff '--color=auto' -rupN soundtouch.orig/CMakeLists.txt soundtouch/CMakeLists.txt
--- soundtouch.orig/CMakeLists.txt 2021-08-26 13:11:17.958981063 +0200
+++ soundtouch/CMakeLists.txt 2021-08-26 13:16:35.308990428 +0200
@@ -34,6 +34,7 @@ target_include_directories(SoundTouch PU
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
+set_target_properties(SoundTouch PROPERTIES VERSION 1.0.0 SOVERSION 1)
target_compile_definitions(SoundTouch PRIVATE ${COMPILE_DEFINITIONS})
target_compile_options(SoundTouch PRIVATE ${COMPILE_OPTIONS})
@@ -121,6 +122,10 @@ endif()
########################