diff --git a/mingw-w64-soundtouch/0003-fix-docdir.mingw.patch b/mingw-w64-soundtouch/0003-fix-docdir.mingw.patch index b19286c2a0..8cd5803088 100644 --- a/mingw-w64-soundtouch/0003-fix-docdir.mingw.patch +++ b/mingw-w64-soundtouch/0003-fix-docdir.mingw.patch @@ -1,21 +1,9 @@ --- soundtouch/config/am_include.mk.orig 2012-12-28 20:56:45.000000000 +0000 +++ soundtouch/config/am_include.mk 2013-07-31 15:01:37.806263400 +0000 -@@ -28,7 +28,3 @@ - ## in case a user decides to build in a separate directory from the base package - ## directory. Using absolute, or relative paths is a bad idea. - INCLUDES=-I$(top_srcdir)/include -- +@@ -28,6 +28,3 @@ + ## by automake, so it's ok to have @MACROS@ that will be set by configure + + AM_CPPFLAGS=-I$(top_srcdir)/include - -# doc directory -pkgdocdir=$(prefix)/doc/@PACKAGE@ ---- soundtouch/Makefile.am.orig 2012-12-28 20:56:45.000000000 +0000 -+++ soundtouch/Makefile.am 2013-07-31 15:06:06.219347500 +0000 -@@ -28,7 +28,7 @@ - - - # list files that are documentation to be packaged in a release tarball and installed --pkgdoc_DATA=COPYING.TXT README.html -+dist_doc_DATA=COPYING.TXT README.html - - # extra data files that are to be pacakged in a release tarball and installed into the data directory - #pkgdata_DATA= diff --git a/mingw-w64-soundtouch/PKGBUILD b/mingw-w64-soundtouch/PKGBUILD index 89751117f9..4016c3aca5 100644 --- a/mingw-w64-soundtouch/PKGBUILD +++ b/mingw-w64-soundtouch/PKGBUILD @@ -2,7 +2,7 @@ _realname=soundtouch pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=1.8.0 +pkgver=1.9.0 pkgrel=1 pkgdesc="An audio processing library (mingw-w64)" arch=('any') @@ -14,9 +14,9 @@ options=('strip' 'staticlibs') source=(http://www.surina.net/soundtouch/${_realname}-${pkgver}.tar.gz 0001-no-undefined-on.mingw.patch 0003-fix-docdir.mingw.patch) -md5sums=('d02c6c91cb13901ca273a2b4b143ce41' +md5sums=('0b0672c09c1c97df2e61c4d5aa9a7b86' 'f472d0b637cc0a3491435ff3409ed3cc' - '44fda585b032a555d7fffb4b13a3b159') + 'fedef380bc99b2adbecfba32f1b83672') prepare() { cd "${srcdir}/${_realname}" @@ -28,6 +28,7 @@ prepare() { } build() { + [[ -d "build-${MINGW_CHOST}" ]] && rm -rf "build-${MINGW_CHOST}" mkdir -p "${srcdir}/build-${MINGW_CHOST}" cd "${srcdir}/build-${MINGW_CHOST}" ../${_realname}/configure \ @@ -36,6 +37,7 @@ build() { --host=${MINGW_CHOST} \ --enable-static \ --enable-shared + make }