diff --git a/mingw-w64-opus/PKGBUILD b/mingw-w64-opus/PKGBUILD index 910e3d198c..9f166e5ca0 100644 --- a/mingw-w64-opus/PKGBUILD +++ b/mingw-w64-opus/PKGBUILD @@ -1,8 +1,9 @@ # Maintainer: Alexey Pavlov _realname=opus +pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=1.1 +pkgver=1.1.2 pkgrel=3 pkgdesc="Codec designed for interactive speech and audio transmission over the Internet (mingw-w64)" arch=('any') @@ -12,7 +13,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-pkg-config") options=('strip' 'staticlibs') source=("http://downloads.us.xiph.org/releases/${_realname}/${_realname}-${pkgver}.tar.gz" 0001-correctly-detect-alloca.mingw.patch) -md5sums=('c5a8cf7c0b066759542bc4ca46817ac6' +md5sums=('1f08a661bc72930187893a07f3741a91' '006d3e2769d82904837b95abc20d196a') prepare() { @@ -31,12 +32,19 @@ build() { --host=${MINGW_CHOST} \ --target=${MINGW_CHOST} \ --enable-custom-modes \ + --enable-rtcd \ + --enable-intrinsics \ --enable-shared \ --enable-static make } +check() { + cd "${srcdir}/build-${MINGW_CHOST}" + make check +} + package() { cd "${srcdir}/build-${MINGW_CHOST}" make DESTDIR="${pkgdir}" install diff --git a/mingw-w64-opusfile/PKGBUILD b/mingw-w64-opusfile/PKGBUILD index a95a40cdcc..1d5cfc3468 100644 --- a/mingw-w64-opusfile/PKGBUILD +++ b/mingw-w64-opusfile/PKGBUILD @@ -1,9 +1,10 @@ # Maintainer: Francisco Demartino _realname=opusfile +pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=0.6 -pkgrel=2 +pkgver=0.7 +pkgrel=1 pkgdesc="Library for opening, seeking, and decoding .opus files (mingw-w64)" arch=('any') url="https://www.opus-codec.org/" @@ -14,7 +15,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-libogg" makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-pkg-config") options=('strip' 'staticlibs') source=("https://ftp.mozilla.org/pub/mozilla.org/opus/${_realname}-${pkgver}.tar.gz") -md5sums=('3d6705e66375f6205dffdd63b2ad3538') +md5sums=('fb7d408a8b26508e93c37538d44cd574') prepare() { cd "${srcdir}/${_realname}-${pkgver}"