gst-plugins-good1: add vpx build_option

This commit is contained in:
Duncaen 2017-01-23 15:58:47 +01:00
parent 1c305a8c59
commit 2b2a096d5d

View file

@ -13,10 +13,11 @@ configure_args="--with-gudev --with-libv4l2 --enable-experimental
hostmakedepends="pkg-config intltool python glib-devel" hostmakedepends="pkg-config intltool python glib-devel"
makedepends=" makedepends="
libpng-devel libxml2-devel libgudev-devel libflac-devel libpng-devel libxml2-devel libgudev-devel libflac-devel
libXdamage-devel gtk+-devel aalib-devel libcaca-devel libvpx-devel libXdamage-devel gtk+-devel aalib-devel libcaca-devel
taglib-devel libsoup-gnome-devel gst-plugins-base1-devel taglib-devel libsoup-gnome-devel gst-plugins-base1-devel
GConf-devel pulseaudio-devel orc-devel libXv-devel wavpack-devel GConf-devel pulseaudio-devel orc-devel libXv-devel wavpack-devel
v4l-utils-devel jack-devel speex-devel" v4l-utils-devel jack-devel speex-devel
$(vopt_if vpx libvpx-devel)"
depends="gst-plugins-base1>=${version}" depends="gst-plugins-base1>=${version}"
short_desc="GStreamer set of well-maintained good plug-ins (1.x)" short_desc="GStreamer set of well-maintained good plug-ins (1.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -24,3 +25,10 @@ homepage="https://gstreamer.freedesktop.org/"
license="LGPL-2.1" license="LGPL-2.1"
distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz" distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz"
checksum=198f325bcce982dce1ebeb36929a5f430b8bf9528e0d519e18df0b29e1d23313 checksum=198f325bcce982dce1ebeb36929a5f430b8bf9528e0d519e18df0b29e1d23313
build_options="vpx"
case "$XBPS_TARGET_MACHINE" in
armv6*) ;;
*) build_options_default+=" vpx" ;;
esac