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