summaryrefslogtreecommitdiff
path: root/extra/flac/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/flac/PKGBUILD')
-rw-r--r--extra/flac/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/extra/flac/PKGBUILD b/extra/flac/PKGBUILD
index 56a7cedd2..fa69e9dba 100644
--- a/extra/flac/PKGBUILD
+++ b/extra/flac/PKGBUILD
@@ -4,12 +4,14 @@
pkgbase=flac
pkgname=('flac' 'flac-doc')
pkgver=1.2.1
-pkgrel=3
-arch=('i686' 'x86_64')
+pkgrel=3.2
+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}"