diff options
Diffstat (limited to 'extra/flac/PKGBUILD')
-rw-r--r-- | extra/flac/PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/flac/PKGBUILD b/extra/flac/PKGBUILD index 56a7cedd2..85653bc9f 100644 --- a/extra/flac/PKGBUILD +++ b/extra/flac/PKGBUILD @@ -5,11 +5,13 @@ pkgbase=flac pkgname=('flac' 'flac-doc') pkgver=1.2.1 pkgrel=3 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://flac.sourceforge.net/" license=('BSD' 'GPL') depends=('libogg') makedepends=('nasm' 'xmms') +[ "$CARCH" = "mips64el" ] && \ +makedepends=('nasm') # xmms doesn't build on mips options=('!libtool' '!makeflags') source=(http://downloads.sf.net/sourceforge/${pkgbase}/${pkgbase}-${pkgver}.tar.gz flac-1.2.1-gcc-4.3-includes.patch) @@ -34,6 +36,8 @@ check() { package_flac() { pkgdesc="Free Lossless Audio Codec" optdepends=('xmms: for using the xmms plugin') +[ "$CARCH" = "mips64el" ] && \ + unset optdepends options=('!libtool' '!docs') cd "${srcdir}/${pkgbase}-${pkgver}" |