This commit is contained in:
Alexey Pavlov
2016-01-19 10:18:17 +03:00
2 changed files with 14 additions and 5 deletions

View File

@@ -1,8 +1,9 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_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

View File

@@ -1,9 +1,10 @@
# Maintainer: Francisco Demartino <demartino.francisco@gmail.com>
_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}"