void-packages/srcpkgs/gstreamer-vaapi/template

30 lines
1.0 KiB
Bash

# Template file for 'gstreamer-vaapi'
pkgname=gstreamer-vaapi
version=0.5.10
revision=1
lib32disabled=yes
replaces="gstreamer1-vaapi>=0"
build_style="gnu-configure"
configure_args="--disable-builtin-libvpx --disable-static --disable-wayland --with-gstreamer-api=1.0"
hostmakedepends="pkg-config"
makedepends="libXrandr-devel libva-devel MesaLib-devel gst-plugins-bad1-devel"
short_desc="VA-API plugins for GStreamer (1.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/"
distfiles="http://www.freedesktop.org/software/vaapi/releases/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=0dd236c7bf225322b8934fdba99a7a9e4542566a2acbe7564cdc3ec2c8b73c9d
nocross=yes
gstreamer-vaapi-devel_package() {
lib32disabled=yes
replaces="gstreamer1-vaapi-devel>=0"
depends="gstreamer-vaapi-${version}_${revision}"
short_desc="VA-API plugins for GStreamer (1.x) - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}