void-packages/srcpkgs/gstreamer-vaapi/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
1 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@gmail.com>"
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
}
}