gst-plugins-bad1: fix armv6* build

For armv6* the dependency libvpx-devel does not compile, thus only
add it for the other architectures.
This commit is contained in:
Jürgen Buchmüller 2017-02-10 00:44:34 +01:00
parent b8ba5beef8
commit 241a5c48b8
1 changed files with 10 additions and 3 deletions

View File

@ -13,9 +13,9 @@ makedepends="alsa-lib-devel celt-devel libressl-devel exempi-devel
libexif-devel libmpcdec-devel faac-devel SDL-devel libpng-devel
faad2-devel libdvdread-devel libdvdnav-devel librsvg-devel libsndfile-devel
xvidcore-devel jasper-devel libmodplug-devel neon-devel libcurl-devel
libvpx-devel libvdpau-devel libgsm-devel librtmp-devel libass-devel
mpg123-devel soundtouch-devel opus-devel libwebp-devel wayland-devel
libsrtp-devel libopenal-devel"
libvdpau-devel libgsm-devel librtmp-devel libass-devel mpg123-devel
soundtouch-devel opus-devel libwebp-devel wayland-devel libsrtp-devel
libopenal-devel"
depends="gst-plugins-base1>=${version}"
short_desc="GStreamer plugins from the bad set (v1.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -24,6 +24,13 @@ homepage="https://gstreamer.freedesktop.org"
distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz"
checksum=24099351fb6984c9e7560de06e072ff2e33d0b2db38b8fcc7afefb536e5094e7
case "$XBPS_TARGET_MACHINE" in
armv6*) # libvpx can't be built for armv6l
;;
*) makedepends+=" libvpx-devel"
;;
esac
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}