void-packages/srcpkgs/gst-libav/template
2021-04-07 15:28:41 -03:00

21 lines
685 B
Bash

# Template file for 'gst-libav'
pkgname=gst-libav
version=1.18.4
revision=1
wrksrc="${pkgname}-${version}"
build_style=meson
hostmakedepends="pkg-config yasm"
makedepends="orc-devel gst-plugins-base1-devel ffmpeg-devel"
depends="orc>=0.4.18 gst-plugins-base1>=${version}"
short_desc="GStreamer libav plugin (1.x)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="https://gstreamer.freedesktop.org"
distfiles="${homepage}/src/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=344a463badca216c2cef6ee36f9510c190862bdee48dc4591c0a430df7e8c396
case "$XBPS_TARGET_MACHINE" in
*-musl) # Required by musl for M_SQRT1_2
CFLAGS="-D_XOPEN_SOURCE"
;;
esac