# Template file for 'gst-libav'
pkgname=gst-libav
version=1:1.4.5
revision=3
lib32disabled=yes
wrksrc="${pkgname}-${version#*:}"
build_style=gnu-configure
configure_args="--with-libav-extra-configure=--enable-runtime-cpudetect"
hostmakedepends="pkg-config yasm python"
makedepends="orc-devel gst-plugins-base1-devel"
depends="orc>=0.4.18 gst-plugins-base1>=${version}"
short_desc="GStreamer libav plugin (1.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://gstreamer.freedesktop.org"
distfiles="${homepage}/src/${pkgname}/${pkgname}-${version#*:}.tar.xz"
checksum=605c62624604f3bb5c870844cc1f2711779cc533b004c2aa1d8c0d58557afbbc

# Required by musl for M_SQRT1_2
CFLAGS="-D_XOPEN_SOURCE"
