gstreamer-vaapi: update to 0.5.9.
This commit is contained in:
parent
7f1da202e0
commit
6c9be24522
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gstreamer-vaapi'
|
||||
pkgname=gstreamer-vaapi
|
||||
version=0.5.8
|
||||
revision=2
|
||||
version=0.5.9
|
||||
revision=1
|
||||
lib32disabled=yes
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libXrandr-devel libva-devel>=1:1.1.0 MesaLib-devel
|
||||
|
@ -11,28 +11,20 @@ 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=24fee8a1ca4cb99ed7739d876b17a4085e81b28550350867dee5105300d343c6
|
||||
checksum=b5efbb5ccd3e9fd1ce16193dd14cfac327a8ec2662794c0067ff2603c3355003
|
||||
|
||||
only_for_archs="i686 x86_64"
|
||||
|
||||
pre_configure() {
|
||||
url1=https://gitorious.org/vaapi/gstreamer-videoutils/raw/f56f0ca70eaa39dc8f66f61e991094b385ed71ff:gst-libs/gst/video/gstvideoencoder.c
|
||||
url2=https://gitorious.org/vaapi/gstreamer-videoutils/raw/f56f0ca70eaa39dc8f66f61e991094b385ed71ff:gst-libs/gst/video/gstvideoencoder.h
|
||||
|
||||
for f in ${url1} ${url2}; do
|
||||
$XBPS_FETCH_CMD ${f}
|
||||
cp $(basename ${f}) ext/videoutils/gst-libs/gst/video/
|
||||
done
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
mkdir build-0.10 build-1.0
|
||||
|
||||
configure_args+=" --disable-builtin-libvpx --disable-static --disable-wayland"
|
||||
|
||||
cd ${wrksrc}/build-0.10
|
||||
../configure ${configure_args} --disable-static --with-gstreamer-api=0.10
|
||||
../configure ${configure_args} --with-gstreamer-api=0.10
|
||||
|
||||
cd ${wrksrc}/build-1.0
|
||||
../configure ${configure_args} --disable-static --with-gstreamer-api=1.0
|
||||
../configure ${configure_args} --with-gstreamer-api=1.0
|
||||
}
|
||||
|
||||
do_build() {
|
||||
|
@ -56,9 +48,9 @@ gstreamer1-vaapi-devel_package() {
|
|||
depends="gstreamer1-vaapi-${version}_${revision}"
|
||||
short_desc="VA-API plugins for GStreamer (1.x) - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/gstreamer-1.2
|
||||
vmove "usr/lib/pkgconfig/*-1.2*"
|
||||
vmove "usr/lib/*-1.2*.so"
|
||||
vmove usr/include/gstreamer-1.*
|
||||
vmove "usr/lib/pkgconfig/*-1.*"
|
||||
vmove "usr/lib/*-1.*.so"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -67,8 +59,8 @@ gstreamer1-vaapi_package() {
|
|||
short_desc="VA-API plugins for GStreamer (1.x)"
|
||||
depends="gst-plugins-base1>=1:1.2 gst-plugins-bad1>=1:1.2"
|
||||
pkg_install() {
|
||||
vmove usr/lib/gstreamer-1.0
|
||||
vmove "usr/lib/*-1.2*.so.*"
|
||||
vmove usr/lib/gstreamer-1*
|
||||
vmove "usr/lib/*-1.*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue