Skip to content

Commit

Permalink
soundtouch: Update to 2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Oct 14, 2024
1 parent 4cda178 commit fd67fb1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
11 changes: 11 additions & 0 deletions mingw-w64-soundtouch/0004-missing-municode.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- soundtouch/source/SoundStretch/Makefile.am.orig 2024-03-29 19:49:53.000000000 +0100
+++ soundtouch/source/SoundStretch/Makefile.am 2024-10-14 23:35:06.794528300 +0200
@@ -44,7 +44,7 @@
#soundstretch_LDFLAGS=-s

## additional compiler flags
-soundstretch_CXXFLAGS=$(AM_CXXFLAGS)
+soundstretch_CXXFLAGS=$(AM_CXXFLAGS) -municode

#clean-local:
# -rm -f additional-files-to-remove-on-make-clean
15 changes: 10 additions & 5 deletions mingw-w64-soundtouch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=soundtouch
pkgbase="mingw-w64-${_realname}"
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.3.2
pkgver=2.3.3
pkgrel=1
pkgdesc="An audio processing library (mingw-w64)"
arch=('any')
Expand All @@ -19,16 +19,21 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
options=('strip' 'staticlibs')
source=(https://www.surina.net/${_realname}/${_realname}-${pkgver}.tar.gz
0001-no-undefined-on.mingw.patch
0003-fix-docdir.mingw.patch)
sha256sums=('3bde8ddbbc3661f04e151f72cf21ca9d8f8c88e265833b65935b8962d12d6b08'
0003-fix-docdir.mingw.patch
0004-missing-municode.patch)
noextract=(${_realname}-${pkgver}.tar.gz)
sha256sums=('43b23dfac2f64a3aff55d64be096ffc7b73842c3f5665caff44975633a975a99'
'76b3041e952675e56138461c5fa8a5abacac31380ce90b27038d0deac46f91be'
'2cd136046831f3ad9a2e37c0afe3ecd9f25ce27f5dbf4ee8b23b862a96e76cd5')
'2cd136046831f3ad9a2e37c0afe3ecd9f25ce27f5dbf4ee8b23b862a96e76cd5'
'876b8bc6ba99b35b0b13fe963aacf9c7f82a8c7c53b9e8c678aee9af7607c15f')

prepare() {
bsdtar -xf ${_realname}-${pkgver}.tar.gz || true

cd "${srcdir}/${_realname}"
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
patch -p1 -i ${srcdir}/0001-no-undefined-on.mingw.patch
patch -p1 -i ${srcdir}/0003-fix-docdir.mingw.patch
patch -p1 -i ${srcdir}/0004-missing-municode.patch

./bootstrap
}
Expand Down

0 comments on commit fd67fb1

Please sign in to comment.